Move the official stdlib IO modules to their unique source authority and keep the frozen public paths, including io.mq.md#写值 as the official print/打印 alias target. Carry the pre-migration product assertions into component cases with real resource-endpoint evidence for console. Refs cflmy/marqdo#9, cflmy/marqdo-std-io#1
544 B
544 B
import
| import | ||||||
|---|---|---|---|---|---|---|
|
@exec io
写文本
params(文本)
return stream.写文本(文本)
写全部
params(流, 内存, 起点, 长度)
return stream.写全部(流, 内存, 起点, 长度)
写值
params(值)
按语言值语义格式化后输出,并追加换行。
return stream.写文本(format.显示(值) + "\n")
读取行
params()
return console.读取行()
打印
params(值)
return console.打印(值)