10 REM PC-BASIC test
20 REM STRIG function
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 10000
50 PRINT#1, STRIG
60 PRINT#1, STRIG(
70 PRINT#1, STRIG("ABC"
80 PRINT#1, STRIG(1
90 PRINT#1, STRIG(1.5
100 PRINT#1, STRIG(-1)
110 PRINT#1, STRIG(1)
120 PRINT#1, STRIG(-1.5)
130 PRINT#1, STRIG(1.5)
140 PRINT#1, STRIG(-1.5D2)
150 PRINT#1, STRIG(1.5D2)
160 PRINT#1, STRIG("ABC")
200 PRINT#1, STRIG(0)
201 PRINT#1, STRIG(1)
202 PRINT#1, STRIG(2)
203 PRINT#1, STRIG(3)
205 PRINT#1, STRIG(4)
206 PRINT#1, STRIG(5)
207 PRINT#1, STRIG(6)
208 PRINT#1, STRIG(7)
209 PRINT#1, STRIG(8)
210 PRINT#1, STRIG(256)
220 PRINT#1, STRIG(32768)
230 PRINT#1, STRIG(65536)
240 PRINT#1, STRIG(1.701412E+38)
250 PRINT#1, STRIG(1.701411834604692D+38)
300 PRINT#1, STRIG(1)
310 PRINT#1, STRIG(#1)
320 PRINT#1, STRIG(1,1)
9999 END
10000 PRINT#1, ERR, ERL
10010 RESUME NEXT
