 *** Welcome to SAD Ver.1.4.4.2k64 built at 2026-10-19 14:46:59 +0900 ***
 *** Today: 00:36:14 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
 Print["Print: a newline is appended. ", 1, " ", 2.5, " ", "str", " ", {1, 2}, " ", x + y];
Print: a newline is appended. 1 2.5 str {1,2} x+y
 Print["no args:"]; Print[];
no args:
Null
 Print["real forms ", 1/3, " ", 1.5e10, " ", 123456789012, " ", 1e-5, " ", -0.5];
real forms .3333333333333333 1.5e+10 123456789012. 1e-5 -.5
 Print["string vs symbol: ", "text", " ", text];
string vs symbol: text text
 f = TemporaryName[];
 fd = OpenWrite[f];
 Write[fd, "Write adds a newline ", 1, " ", {1, 2, 3}];
 WriteString[fd, "WriteString: no newline "];
 WriteString[fd, "(same line) ", 3.5, "\n"];
 Write[fd, a + b];
 Close[fd];
 fd = OpenRead[f];
 Print["read back 1: ", ReadString[fd]];
read back 1: Write adds a newline 1 {1,2,3}
 Print["read back 2: ", ReadString[fd]];
read back 2: WriteString: no newline (same line) 3.5
 Print["read back 3: ", ReadString[fd]];
read back 3: a+b
 Close[fd];
 (* $Output が標準出力 (-1)。ファイル番号 -1 で Write すると画面に出る *)
 Print["$Output = ", $Output];
$Output = -1
 Write[$Output, "Write to $Output"];
Write to $Output
 WriteString[$Output, "WriteString to $Output\n"];
WriteString to $Output
 DeleteFile[f];
 Exit;
Out[1]:= Exit
 FFS                  end:  CPU time =     0.001 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
