العرضar

نبه

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

Writes a warning message.

Syntax: نبه <expression>

Category#

output

Examples#

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

Writes a warning message.

# =============================================================================
# نبه — Writes a warning message.
# =============================================================================
#
# What this teaches:
#   • the `نبه` keyword — emits a warning-style diagnostic (distinct from `اعرض`/`شاهد`)
#   • diagnostic output categories — نبه for warnings vs اكتب/vide for other I/O
#
# Common mistakes:
#   • Confusing نبه (stderr warning) with اعرض (diagnostic info) — نبه emits warnings, اعرض emits neutral informational output.
#
# See also: اكتب, شاهد
# =============================================================================

# نبه diagnostic output
#
# نبه <expr>  -- emit a warning-style diagnostic (distinct from اعرض/vide)
#
# GRAMMAR:
#   outputStmt :← 'نبه' expr
#
# EXPECTED OUTPUT:
#   mone-style warning diagnostic (single نبه call).

main {
    warn "cave"
}