-
Notifications
You must be signed in to change notification settings - Fork 71
N Device Get Record
Thomas Cherryhomes edited this page Jan 30, 2020
·
1 revision
GET RECORD returns a single "record" of data, that is, data terminated by an ATASCII EOL ($9B) such as text.
For convenience, CR/LF is automatically translated to an EOL.
- IOCB
- If successful, an error code of 1 is returned.
- If the end of buffer is reached before an EOL, an ERROR 136 is returned.
- If the buffer requested is full before an EOL, an ERROR 137 is returned.
If an IOCB is opened, then the following will return a single record:
DIM A$(256)
INPUT #1,A$
An example of how to read a file via HTTPS:
100 REM HTTP READ TEST
110 DIM A$(256)
120 OPEN #1,4,0,"N:https://www.gnu.org/licenses/gpl-3.0.txt"
130 TRAP 200
140 INPUT #1,A$
150 PRINT A$
160 GOTO 140
200 CLOSE #1
210 END
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine