Print;

BlitzMax Forums/BlitzMax Beginners Area/Print;

wildboar(Posted 2005) [#1]
In BlitzMax, how can I print to the console without doing a CR? Blitz+ had a 'write' command for this, but it doesn't work in BMax.

Example of old-shool BASIC way:

print "hello ";
print "world"

results in: hello world


Dreamora(Posted 2005) [#2]
Its part of the StandardIOStream Class:

StandardIOStream.WriteString string


Function Print2( str$="", new_line )
   if new_line
	StandardIOStream.WriteLine str
   else
        StandardIOStream.WriteString str
   endif
End Function