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.
 
 
 
 
 
 

25 lines
845 B

  1. 10 REM Purpose: Verify 'PUT filename$'
  2. 20 REM Author: Howard Wulf, AF5NE
  3. 30 REM Date: 2015-11-11
  4. 40 REM Note: OPTION VERSION SYSTEM-360
  5. 50 REM Note: The results are read by GET_1.BAS
  6. 60 REM
  7. 100 REM --- CONSTANT FILE NAME ---
  8. 110 PUT "PUT_1.TXT", 1, 2, 3
  9. 120 PUT "PUT_1.TXT", "hello world"
  10. 130 REM PUT "PUT_1.TXT"
  11. 140 PUT "PUT_1.TXT", "ANOTHER","LINE","IS","HERE"
  12. 150 PUT "PUT_1.TXT", 1, "abc", 2, "def", 3, "ghi"
  13. 200 REM --- VARIABLE FILE NAME ---
  14. 210 LET F$ = "PUT_1.TXT"
  15. 220 PUT F$, 4, 5, 6
  16. 230 PUT F$, "hello world again"
  17. 240 REM PUT F$
  18. 250 PUT F$, "hello world in", f$, "we are", 1
  19. 260 PUT F$, "hello world in", f$, "we are", 2
  20. 270 PUT F$, "hello world in", f$, "we are", 3
  21. 280 PUT F$, "hello world in", f$, "we are", 4
  22. 290 PUT F$, "/*EOF*/"
  23. 300 PRINT "COMPLETED"
  24. 999 END