forum-msg-id-129690-edit

Original date:2016-05-16 13:47:42 Edited by: petelomax Subject: Re: Simple I/O Problem

_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,"%30s",{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

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu