 *** Welcome to SAD Ver.1.4.4.2k64 built at 2026-10-19 14:46:59 +0900 ***
 *** Today: 22:14:02 Monday 11/16/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
 f[x_] := If[x > 0, "pos", If[x < 0, "neg", "zero"]];
 Print["If      ", f /@ {-2, 0, 3}];
If      {"neg","zero","pos"}
 Print["If 2arg true ", If[2 > 1, "yes"], "  false ", If[1 > 2, "yes"]];
If 2arg true yes  false Null
 y = If[3 > 2, Print["evaluated: then"]; 10, Print["not evaluated"]; 20];
evaluated: then
 Print["value ", y];
value 10
 Print["If[2,...] ", If[2, "nonzero is true", "false"], "  If[0,...] ", If[0, "true", "zero is false"]];
If[2,...] nonzero is true  If[0,...] zero is false
 Print["&& || ~ ", (1 && 0), (1 || 0), ~1, ~0];
&& || ~ 0101
 Print["short circuit ", (0 && Print["not printed"]), (1 || Print["not printed"])];
short circuit 01
 n = 5;
 IF n < 0
Out[1]:= IF
   Print["IF: negative"];
 ELSEIF n == 0
   Print["IF: zero"];
 ELSEIF n < 10
   Print["IF: small positive"];
IF: small positive
 ELSE
   Print["IF: large"];
 ENDIF;
 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
