xem
Translation status: Tiếng Việt reader-locale proof. Term names and code fences follow the vi pack; supporting prose may still be English.
Writes a debug value to standard output.
Syntax: xem <expression>
Category#
output
Related#
Examples#
radix/corpus/vide/vide.fab (canonical · keyword)#
Writes a debug value to standard output.
# =============================================================================
# xem — Writes a debug value to standard output.
# =============================================================================
#
# What this teaches:
# • Diagnostic output — `xem` for inspection-style debugging, distinct from `ghi_chú` and `cảnh_báo`
# • Output variety — Faber provides multiple output functions for different purposes
#
# Common mistakes:
# • confusing xem (diagnostic output) with kiểm_thử (test block) or khẳng_định (assertion) — xem is for inspection, not validation
#
# See also: viết, cảnh_báo
# =============================================================================
# xem diagnostic output
#
# xem <expr> -- emit a vide-style inspection diagnostic (distinct from ghi_chú/mone)
#
# GRAMMAR:
# outputStmt :← 'xem' expr
#
# EXPECTED OUTPUT:
# vide-style diagnostic: "inspecta"
main {
debug "inspecta"
}Expected output:
inspecta