Text output with a newline
ASPL 0.7.0 · Current release
Complete source and a checked ASPL 0.7.0 outcome.
On this page
Purpose and outcome
Print exactly مرحبا\n and return 0. The newline is explicit in the string; اطبع / print does not add one.
See Safe output.
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.
}
Expected outcomes
{
"browser": {
"check": "success",
"class": "success",
"output": "مرحبا\n",
"processStatus": 0
},
"native": {
"check": 0,
"status": 0,
"output": "مرحبا\n"
}
}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 {
print("مرحبا\n");
return 0;
}
Expected outcomes
{
"browser": {
"check": "success",
"class": "success",
"output": "مرحبا\n",
"processStatus": 0
},
"native": {
"check": 0,
"status": 0,
"output": "مرحبا\n"
}
}Check the result
The source card shows hosts, input, and expected outcomes from the canonical catalog. Reading language changes neither source nor result.