Hello,
Here are some idea's (wishlist). I dont't quite know how to put this into words so I will give examples instead!
request #1
----------
dim buffer(2048) as byte
dim buffptr as byte ptr
GET? #1,2048,buffer() read 2048 bytes into array
PUT? #1,2048,buffer() write 2048 bytes from array
GET?? #1,1024,buffer() read 1024 words into array
PUT?? #1,1024,buffer() write 1024 words from array
GET? #1,2048,@buffptr read 2048 bytes into buffer pointer
PUT? #1,2048,@buffptr write 2048 bytes from buffer pointer
GET?? #1,1024,@buffptr read 1024 words into buffer pointer
PUT?? #1,1024,@buffptr write 1024 words from buffer pionter
request #2
----------
dim buffer as word
dim strbuff as string
&buffer == varptr(buffer)
&strbuff == strptr(strbuff)
allow the use of '&' before variable to indicate "pointer of variable"
What do you guy's think?
------------------
Cheers
Here are some idea's (wishlist). I dont't quite know how to put this into words so I will give examples instead!
request #1
----------
dim buffer(2048) as byte
dim buffptr as byte ptr
GET? #1,2048,buffer() read 2048 bytes into array
PUT? #1,2048,buffer() write 2048 bytes from array
GET?? #1,1024,buffer() read 1024 words into array
PUT?? #1,1024,buffer() write 1024 words from array
GET? #1,2048,@buffptr read 2048 bytes into buffer pointer
PUT? #1,2048,@buffptr write 2048 bytes from buffer pointer
GET?? #1,1024,@buffptr read 1024 words into buffer pointer
PUT?? #1,1024,@buffptr write 1024 words from buffer pionter
request #2
----------
dim buffer as word
dim strbuff as string
&buffer == varptr(buffer)
&strbuff == strptr(strbuff)
allow the use of '&' before variable to indicate "pointer of variable"
What do you guy's think?
------------------
Cheers
Comment