Re: Simple I/O Problem

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...

print(1, "30%s", {text} ) which has the result: 30spaces followed by ... Hello Euphoria

Not quite. print does not take three parameters. printf(1,"30%s",{text}) would print "30Hello Euphoria" (without the quotes), and printf(1,"%30s",{text}" would print it padded to 30 characters, ie with 16 leading spaces.

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu