Script: Simple Addition Calculator
Code (put in Create event of an object)
firstno=0
secondno=0
firstno=get_string("Insert the first of the values.","5")
secondno=get_string("Insert the value you want to be added to "+string(firstno)+".","10")
show_message("The result of "+string(firstno)+" + "+string(secondno)+" is "+string(firstno+secondno))
How it works
This is a very simple script. It basically asks the user to input two values, then adds them together and outputs the result.
page_revision: 1, last_edited: 1222720081|%e %b %Y, %H:%M %Z (%O ago)





