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.
 
 
 
 
 
 

6 lines
159 B

  1. 100 rem ABS.BAS -- Test ABS() function
  2. 110 X = -1.23456789
  3. 120 ABSX = ABS( X )
  4. 130 print "The absolute value of "; X; " is"; ABSX
  5. 140 print "Is that correct?"