Corrected mutable binding
ASPL 0.7.0 · Current release
Complete source and a checked ASPL 0.7.0 outcome.
On this page
Purpose and outcome
The correction replaces دع / let with متغير / var. The program succeeds and returns 1 without output. Nonzero status is neither a source error nor a trap.
See Diagnostics and correction.
Arabic source
This is a supplied complete source. Opening creates a new draft; Run requires an explicit action.
Execution: Browser and native · ASPL 0.7.0
Prerequisites:
- No prior knowledge is required to open and check it.
Input: No input lines are required.
دالة ابدأ_الرئيسية() -> ص64 {
متغير قيمة = 0.
قيمة = 1.
أرجع قيمة.
}
Expected outcomes
{
"browser": {
"check": "success",
"class": "success",
"output": "",
"processStatus": 1
},
"native": {
"check": 0,
"status": 1,
"output": ""
}
}English source
This is a supplied complete source. Opening creates a new draft; Run requires an explicit action.
Execution: Browser and native · ASPL 0.7.0
Prerequisites:
- No prior knowledge is required to open and check it.
Input: No input lines are required.
fn start_main() -> i64 {
var value = 0;
value = 1;
return value;
}
Expected outcomes
{
"browser": {
"check": "success",
"class": "success",
"output": "",
"processStatus": 1
},
"native": {
"check": 0,
"status": 1,
"output": ""
}
}Check the result
The source card shows hosts, input, and expected outcomes from the canonical catalog. Reading language changes neither source nor result.