Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
10 REM Formatted numeric output
|
||||
20 CLS
|
||||
30 LET N=7.125
|
||||
40 LET W=9
|
||||
50 GOSUB 1000
|
||||
60 SCREEN 10,9:PRINT N$
|
||||
70 END
|
||||
1000 REM Formatted fixed-length
|
||||
1010 N$=STR$(N):N$=RIGHT$(N$,LEN(N$)-1)
|
||||
1020 FOR I=1 TO W-LEN(N$)
|
||||
1030 N$="0"+N$
|
||||
1040 NEXT I
|
||||
1050 RETURN
|
||||
Loading…
Add table
Add a link
Reference in a new issue