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.
 
 
 
 
 
 

10 lines
344 B

  1. 10 rem FNCALLFN.BAS -- Test User-defined function called
  2. 20 rem from user-defined function
  3. 30 def fnabs(x) = abs(x)
  4. 40 def fncmp(y) = 1.45678+fnabs(y)
  5. 50 print "Test user-defined function calling user-defined function"
  6. 60 print "The result should be: ";2.45678
  7. 70 q = -1.000
  8. 80 print "The result is: : "; fncmp( q )
  9. 90 end