home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 106
/
EnigmaAmiga106CD.iso
/
software
/
utilities
/
installer
/
examples
/
stringformat.installer
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1999-06-22
|
298 b
|
18 lines
(user expert)
; demonstration of the string format function
(set text1 ("%s %s %s" ("Hello")
(" Wo%s" ("%sld " "r"))
"!"
)
)
(set text2 ("\n\nsome math: %ld * %ld = %ld" 30 40 (* 30 40)))
(exit ("%s%s" text1 text2) (quiet))
(welcome)