tutorials/beginner
03_pets.abs
22 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.
; Choosing from a menu with SelectPrint "1 - cat"Print "2 - dog"Print "3 - fish"choice = Input("Pick a pet: ")Select choice Case 1 Print "Miaow!" Case 2 Print "Woof!" Case 3 Print "..." Print "(Fish are very quiet.)" Default Print "That's not on the list."End SelectWaitKeyEnd
