ArcBasicDocs

tutorials/beginner

02_variables.abs

17 lines of ArcBasic. Words in colour that are commands link to their help page. To run it, download ArcBasic, open the file and press F5.

Download 02_variables.absAll files in this folder

02_variables.abs
; Variables: named boxes that hold valuesscore = 10          ; a whole numberspeed# = 2.5        ; a number with a decimal pointname$ = "Robin"     ; textPrint "Name: " + name$Print "Score: " + scorePrint "Speed: " + speedscore = score + 5Print "After a bonus, the score is " + scorePrint "Twice the speed is " + speed * 2WaitKeyEnd