The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spectranet
#11
boriel Wrote:Very good idea, Ardencrest! :!:
However, %open and the like are used to extend Sinclair BASIC.
A more simple Idea will be implement them as functions (and even use ASM). Something like:

Code:
10 DIM handle as Integer; 20 handle = SNetOpen("file", "r"): REM handle is the channel, like #4, but the routine returns its own 30 IF handle = -1 THEN GOTO 3000: END IF: REM Error if -1 35 SNetOneof(100): REM Don't know what it does 40 SNetInput(handle, a$): REM another way could be a$ = SNetRead(handle) 50 PRINT a$ 60 GO TO 40 ... 100 SNetClose(handle)
I could implement these if you want, but don't own a spectranet.
Do you know if there's an emulator which supports spectranet?

any update an adding the spectranet % to the compiler :wink:

Quote:temp.bor:1: illegal character '%'
I'm always on the chat or facebook.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)