การเรนเดอร์th-TH

บรรทัด

Translation status: ภาษาไทย reader-locale proof. Term names and code fences follow the th-TH pack; supporting prose may still be English.

Reads one line of input.

Syntax: อ่าน บรรทัด

Category#

io

Examples#

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

Reads one line of input.

# =============================================================================
# บรรทัด — Reads one line of input.
# =============================================================================
#
# What this teaches:
#   • line-oriented input mode — `อ่าน บรรทัด` reads a single line from stdin
#
# Common mistakes:
#   • Confusing บรรทัด (reads one line without trailing newline) with บันทึก (writes diagnostic output with newline).
#
# See also: อ่าน
# =============================================================================

# บรรทัด — line-oriented อ่าน read
#
# GRAMMAR:
#   readMode :← 'อ่าน' 'บรรทัด'
#
# EXPECTED OUTPUT:
#   Scalar stdout smoke (see body).
#
# BACKEND:
#   Rust/Go/roundtrip whitelist like อ่าน/lege.fab.
#

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

Expected output:

lineam exemplum — stdin read deferred in harness