चेताओ
Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.
Writes a warning message.
Syntax: चेताओ <expression>
Category#
output
Related#
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"
}