Go to the first, previous, next, last section, table of contents.


open_file, close_file, get_line

open_file("filename")
:: filename を読み出し用にオープンする.
close_file(num)
:: 識別子 num のファイルをクローズする.
get_line(num)
:: 識別子 num のファイルから 1 行読む.
return
open_file() : 整数 (識別子); close_file() : 1; get_line() : 文字列
filename
ファイル名 (パス名)
num
非負整数 (ファイル識別子)
[185] Id = open_file("test");
0
[186] get_line(Id);
12345

[187] get_line(Id);
67890

[188] get_line(Id);
0
[189] type(@@);
0
参照
section eval_str, section str_len, str_chr, sub_str.


Go to the first, previous, next, last section, table of contents.