How to print string variable?
Posted: Mon Mar 06, 2023 4:01 pm
I decided to give Craft Basic a try, this is my first app written in Craft Basic, but I don't know how to print string variable:
It prints "0" instead of the input I typed. EDIT: I removed the "dim" command as it is for array declaration, and since "s" is already predefined.
Also, since there is input box, is there a message box? EDIT: I think I found it, "alert" function.
Thank you for the hard work!
Code: Select all
input "Please enter you name", s
print "Welcome ", s
print s
Also, since there is input box, is there a message box? EDIT: I think I found it, "alert" function.
Thank you for the hard work!