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 rem FNCALLFN.BAS -- Test User-defined function called
- 20 rem from user-defined function
- 30 def fnabs(x) = abs(x)
- 40 def fncmp(y) = 1.45678+fnabs(y)
- 50 print "Test user-defined function calling user-defined function"
- 60 print "The result should be: ";2.45678
- 70 q = -1.000
- 80 print "The result is: : "; fncmp( q )
- 90 end
|