Re: Simple I/O Problem
- Posted by _tom (admin) May 16, 2016
- 1301 views
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