Re: Simple I/O Problem

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
_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

Thanks!

Another good choice is ppp.e which is found in the Phix language ( http://phix.is-great.org/index.php ).

This is something we should add to the OE language.

_tom

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

Search



Quick Links

User menu

Not signed in.

Misc Menu