|
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: 512 (0x200) Types: TextFile Names: »DEMOSTR.PAS«
└─⟦08ea08c61⟧ Bits:30003924 PolyPascal programmer └─ ⟦this⟧ »DEMOSTR.PAS«
PROGRAM demo_str; TYPE streng = STRING(.30.); VAR tal1 : REAL; tal2 : INTEGER; streng1, streng2 : streng; BEGIN tal1 := PI; tal2 := TRUNC(23 / 3); STR(tal1 : 6 : 4, streng1); STR(tal2 : 4, streng2); WRITELN(streng1); WRITELN(streng2); END. «eof»