Author Topic: Print and mbox  (Read 1757 times)

0 Members and 1 Guest are viewing this topic.

Arnold

  • Guest
Print and mbox
« on: April 17, 2014, 03:00:56 AM »
Hello,

I do not know if it was already mentioned in the forum, but the difference of print and mbox is a nice feature. It gets obvious when using the console:

Code: [Select]

$ filename "WorldRiddle.exe"

includepath "$/inc/"

'#include "RTL32.inc"
'#include "RTL64.inc"

#include "MinWin.inc"
#include "Console.inc"


'========================================'

// joking
string Msg = "World Riddle solved!" + chr(10) + chr(13) + "The solution is: "
float num = 42.04
mbox Msg + num
print Msg + num

print cr + "Enter ..."    // with console.inc
getkey()                  // with console.inc



Roland