Re: Pointer work around
- Posted by Irv Mullins <irv at ELLIJAY.COM> Jan 11, 1999
- 484 views
On Mon, 11 Jan 1999 03:14:18 EST, Adam Weeden <SkaMan325 at AOL.COM> wrote: >it's still not using anything pointer oriented in Euphoria but its a step in >the right direction. It's a workaround for the lack of proper structures in Euphoria. A pointer is a value corresponding to the address of an object in memory. There is no need for a pointer in Euphoria, since there is nothing you can do with the address of the variable that you can't do by referencing the object directly by name, or name[index]. Nothing, that is, except crash the program by overwriting something you shouldn't be messing with. I believe that Euphoria moves stuff around in memory as it wants, which means unless you specifically allocate a block of memory for a variable, it won't necessarily be in the same place next time you look for it. Irv