![]() |
DIGITSName:
The negative sign is ignored for negative numbers. That is, DIGITS will return the same values for 1423 and -1423. This command is a utility function that is used by the Dataplot 10-step macros for analyzing 2-level factorial designs.
where <a> is a parameter or number; and <y> is a vector where the digits will be saved.
LET Y = DIGITS A
SKIP 25 READ BOXSPRIN.DAT Y SKIP 0 YATES Y . SET WRITE DECIMALS 0 LOOP FOR K = 1 1 8 ROW LIMITS K K READ PARAMETER DPST1F.DAT IVAL LET D^K = DIGITS IVAL PRINT "K = ^K" PRINT D^K END OF LOOPThe following output is generatedK = 1 --------------- D1 --------------- 1 K = 2 --------------- D2 --------------- 1 3 K = 3 --------------- D3 --------------- 2 K = 4 --------------- D4 --------------- 3 K = 5 --------------- D5 --------------- 1 2 K = 6 --------------- D6 --------------- 1 2 3 K = 7 --------------- D7 --------------- 2 3 |