العرضar

مخرج

Translation status: العربية reader-locale proof. Term names and code fences follow the ar pack; supporting prose may still be English.

Sets the exit code or exit expression for an entry point.

Syntax: بداية وسائط <name> مخرج <expr> <block>

Category#

entry

Examples#

radix/corpus/exitus/exitus.fab (canonical · keyword)#

Sets the exit code or exit expression for an entry point.

# =============================================================================
# مخرج — Sets the exit code or exit expression for an entry point
# =============================================================================
#
# What this teaches:
#   • Sets the exit code or exit expression for an entry point.
#   • Related keywords: بداية, استهلال, وسائط
#
# Common mistakes:
#   • Using `ارم` without a `⇥` on the enclosing function — `ارم` requires an enclosing function with a `⇥` alternate-exit type (SEM010).
#
# See also: بداية, استهلال, وسائط
# =============================================================================

# مخرج — CLI exit code on entry
#
# GRAMMAR:
#   entryModifier :← 'مخرج' integer
#
# EXPECTED OUTPUT:
#   No بداية — declaration or test-runner surface only.
#
# BACKEND:
#   declaration-only entry modifier (whitelist: مخرج/exitus.fab).
#

@ cli { name = "exitus-smoke" }
main args args exit 1 {
}