if the array offset is always a constant value ,
declare another var with that offset to use as a pointer using the EXT modifier
eg
x var byte[100]
y var byte EXT
asm
y = x+5
endasm
hserin 60000,main,[str y\90]
if the array offset is always a constant value ,
declare another var with that offset to use as a pointer using the EXT modifier
eg
x var byte[100]
y var byte EXT
asm
y = x+5
endasm
hserin 60000,main,[str y\90]
Warning I'm not a teacher
I am not familiar with this EXT statement .. What does it do exactly ? Can you please explain ?
- Ipsa scientia potestas est -
That would be my first test as well, I know it compiles and since [5] is just an offset I would asume it works but since you're asking you've must have tested it and found that it didn't, so I'm curious, what did it do?Is there a possible way to set an index in the command starting with a specific number ? such as ?
hserin 60000,main,[str x[5]\90]
http://www.picbasic.co.uk/forum/showthread.php?t=3891I am not familiar with this EXT statement .. What does it do exactly ? Can you please explain ?
/Henrik.
Bookmarks