ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
1.1 KiB

  1. CallSub.BAS -- Test BASIC Call and Sub Statements
  2. The next printed line should be from the Subroutine.
  3. This is written from the Subroutine.
  4. The value of variable <xarg> is 5
  5. The value of variable <yarg$> is Hello
  6. The value of variable <tvar> is 17
  7. The value of variable <tvar> is reset to 99
  8. Exiting Subroutine
  9. This is back at the main program.
  10. The value of variable <testvar> is now 0
  11. Did it work?
  12. *** ALL TESTS PASSED ***