|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 640 (0x280) Types: TextFile Names: »DB/VISPO.ST«
└─⟦eca9022c5⟧ Bits:30002661 Datalære sådan - løsningsdiskette └─ ⟦this⟧ »DB/VISPO.ST«
5500 PROC vispost(nr) CLOSED 5510 IMPORT antalfelter,feltnavne$,antalposter,postlængde,skærmpå 5520 DIM svar$ OF 1,postindhold$(antalfelter) OF 25,post$ OF postlængde 5530 IF 0<nr AND nr<=antalposter THEN 5540 READ FILE 1,nr: post$ 5550 FOR f:= 1 TO antalfelter DO postindhold$(f):= post$((f-1)*25+1:f*25) 5560 CLEAR 5570 FOR i:= 1 TO antalfelter DO 5580 PRINT AT(1,i),"felt nr ";i;" ";feltnavne$(i); 5590 PRINT " <" 5600 PRINT AT(21,i),":";postindhold$(i) 5610 NEXT i 5620 ENDIF 5630 ENDPROC vispost «eof»