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.
 
 
 
 
 
 

22 lines
505 B

  1. 100 rem Purpose: Verify AS ... (function return type)
  2. 110 rem Author: Howard Wulf, AF5NE
  3. 120 rem Date: 2015-06-07
  4. 130 rem
  5. 140 def ABC2(X) as integer
  6. 150 ABC2 = X * 2
  7. 160 fnend
  8. 170 def DEF3(X) as long
  9. 180 DEF3 = X * 3
  10. 190 fnend
  11. 200 def GHI4(X) as single
  12. 210 GHI4 = X * 4
  13. 220 fnend
  14. 230 def JKL5(X) as double
  15. 240 JKL5 = X * 5
  16. 250 fnend
  17. 260 def MNO6(X) as string
  18. 270 MNO6 = "[" + STR$(X) + "]"
  19. 280 fnend
  20. 300 print ABC2(1),DEF3(2),GHI4(3),JKL5(4),MNO6(5)
  21. 999 end