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.
 
 
 
 
 
 

16 lines
323 B

  1. rem ----------------------------------------------------
  2. rem SnglFunc.BAS
  3. rem ----------------------------------------------------
  4. Print "SnglFunc.BAS -- Test Single-Line User-defined Function Statement"
  5. Print
  6. Def Sum( x, y ) = x + y
  7. Print
  8. Print "The sum of 6 and 4 is "; Sum( 6, 4 )
  9. Print "Did it work properly?"
  10. End