Page 2 of 2

Posted: Fri May 05, 2006 10:19 am
by IceSoft
Fred wrote:Because '1' isn't a variable so you can't acces its field ;). If it's only a speed matter, we can still put PeekX() in the compiler it self to avoid an extra call..
Ony for your syntax checker ;-)

Posted: Fri May 05, 2006 10:23 am
by IceSoft
Fred wrote:...we can still put PeekX() in the compiler it self to avoid an extra call..
PeekX()? Ok, better as nothing ;-)

Posted: Fri May 05, 2006 10:27 am
by Psychophanta
A correct and clean way to manage sequentially stored structures is to refer data using linked lists and/or pointers inside the structures.

Posted: Fri May 05, 2006 10:36 am
by IceSoft
Psychophanta wrote:A correct and clean way to manage sequentially stored structures is to refer data using linked lists and/or pointers inside the structures.
Maybe but why should I put the screen datas on an array/linked list first?
Thats not fast and not useful in all cases.... :P

Posted: Fri May 05, 2006 10:40 am
by Fred
btw, using an extra variable pointer will hardly impact on the perfs..

Posted: Fri May 05, 2006 10:44 am
by IceSoft
Fred wrote:btw, using an extra variable pointer will hardly impact on the perfs..
Yes. Only if I have to use one extra varaible pointer.
But is is ok for now....I will see... what the PureTeam can do for this request ;-)

Posted: Fri May 05, 2006 7:07 pm
by Dräc

Posted: Fri May 05, 2006 8:15 pm
by Flype
and it's easy to use this syntax:

Code: Select all

*var.byte = @"test"

while *var\b
  debug *var\b
  *var + 1
wend
*pointers can be incremented, so there's no problem :roll:

Posted: Fri May 05, 2006 8:43 pm
by IceSoft
Yes that is the only correct working solution.
All others are not.