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.
 
 
 
 
 
 

8 lines
240 B

  1. 10 REM ------------------------------------------
  2. 20 PRINT "DEFFN.BAS -- Test DEF FN Statement"
  3. 30 DEF fnadd( x, y ) = x + y
  4. 40 PRINT fnadd( 2, 3 )
  5. 50 DEF fnjoin$( a$, b$ ) = a$ + b$
  6. 60 PRINT fnjoin$( chr$( &h43 ), "orrect" )
  7. 70 END