 *** Welcome to SAD Ver.1.4.4.2k64 built at 2026-10-19 14:46:59 +0900 ***
 *** Today: 00:36:17 Tuesday 11/17/2026 ***
 OFF LOG;ON ECHO;READ 77 ;           1
FFS;
 *** SADScript Initialization: /mnt/d/work/SAD-master/SAD-master/Packages/init.n ***
 *** Run time Environment:     /mnt/d/work/SAD-master/SAD-master/Packages/init.local.n ***
 RFSW RADCOD RAD  FLUC  INTRA POL   COD  DAPER EMIOU K64   FOURI SMEAR
   F     F     F     T     F     F     T     F     F     T     F     T
 s = "10 20 30\nnext line\n3.5 abc";
 c = StringToStream[s];
 Print["Head ", Head[c]];
Head Real
 Print["Read Real ", Read[c, 3*Real]];
Read Real 102030
 Print["ReadString ", ReadString[c]];
ReadString next line
 Print["Read Real, Word ", Read[c, {Real, Word}]];
Read Real, Word {3.5,"abc"}
 Print["EOF ", ReadString[c]];
EOF EndOfFile
 Close[c];
 text = "a 1\nb 2\nc 3";
 c = StringToStream[text];
 n = 0;
 While[n < 3 && Length[r = Read[c, {Word, Real}]] == 2, n++; Print["key=", r[[1]], " val=", r[[2]]]];
key=a val=1
key=b val=2
key=c val=3
 Close[c];
 c = StringToStream["{1, 2, x+1} f[3]"];
 Print["Expression ", Read[c, Expression], " ", Read[c, Expression]];
Expression {1,2,1+x} f[3]
 Close[c];
 Exit;
Out[1]:= Exit
 FFS                  end:  CPU time =     0.000 sec
 Design orbit length =   1.0000000000000000     
 RFSW RADCOD RAD  FLUC  INTRA POL   COD  DAPER EMIOU K64   FOURI SMEAR
   T     F     F     T     F     F     T     F     F     T     F     T
 In[2]:=  ???-getbuf-end of input stream
