Kết xuấtvi

dòng

Translation status: Tiếng Việt reader-locale proof. Term names and code fences follow the vi pack; supporting prose may still be English.

Reads one line of input.

Syntax: đọc dòng

Category#

io

Examples#

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

Reads one line of input.

# =============================================================================
# dòng — Reads one line of input.
# =============================================================================
#
# What this teaches:
#   • line-oriented input mode — `đọc dòng` reads a single line from stdin
#
# Common mistakes:
#   • Confusing dòng (reads one line without trailing newline) with ghi_chú (writes diagnostic output with newline).
#
# See also: đọc
# =============================================================================

# dòng — line-oriented đọc read
#
# GRAMMAR:
#   readMode :← 'đọc' 'dòng'
#
# EXPECTED OUTPUT:
#   Scalar stdout smoke (see body).
#
# BACKEND:
#   Rust/Go/roundtrip whitelist like đọc/lege.fab.
#

main {
    print "lineam exemplum — stdin read deferred in harness"
}

Expected output:

lineam exemplum — stdin read deferred in harness