Re: pointers
- Posted by Marcel Kollenaar <M.Kollenaar at SLO.NL> Apr 08, 1997
- 970 views
Hilley wrote: (not complete) > > I can think of 2 cases where pointer would be helpful > for me. > > 1: Conversion of languages such as C & Pascal Not necessary. I've translated some programs form Pascal and C into Euphoria. You only have to translate the pointer structure to a sequence and it works. Euphoria can do (almost) everything what Pascal and C can if you take the time to do it the Euphoria way.... > 2: Accessing of 1D sequences such as {1, 2, 3, 4, 255, 0}. > I could use it to copy 1D sequences to video memory. > I could use it to create masks using the sequence > operators such as and_bits. This would keep me from > having to peek() and poke() to do operations on > sequences in memory. > SNIP.... Yes, but still no need for pointers. It will confuse the whole language. Marcel