Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GOTO (arithmetical expression)
#2
Line numbers? this is stone age! just make a buffer and calculate the offset to copy the data from memory to variable array.

pseudocode, as I'm at work now:
Code:
address=@labelofdata+size*n
copymemory(address,@p(),size)
There is a include for copymemory...
This if efficiency! GoTo calculation was working only in HiSoft Basic compiler, but you had do define all possible lines for calculated jumps with REM: GOTO directive. With more programming experience there is absolutly no need for calculated goto.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)