The PRINT statement is a convenience statement that will print a line of text on the console or on whatever is the "output mechanism" of the execution environment. In practice, this means eg. the terminal window in command line programs or the browser console for builds targeting the web. On mobile platforms (eg. Android and iOS), the output goes to the log of the application, which can be accessed eg. via "adb logcat" for Android or through the standard logfiles on iOS). See example:

PRINT "Hello world"

Note, however, that the value to be printed does not have to be just a string literal. The following are also fully valid:

func printMessage(message as string)
	PRINT message
	PRINT "This is the message: " .. message
	PRINT "This is really it: `" .. message .. "'"

Twitter Facebook LinkedIn Youtube Slideshare Github