Re: pointers to variables ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thanks all for your responses, sample code, and insights into how variables are managed internally in euphoria.

Using SYMTAB in gawk (GNU-awk) is allowed, both reading and modifying values, but not creating new variables. And the ability to use this feature to emulate pointers is explicitly mentioned in the doc.

Gawk arrays are indeed associative arrays, there are no 0- or 1-indexed arrays as known in other languages. Maps seem to be the closest equivalent in OE, and so far I've been able to port other parts of my gawk code, which uses associative arrays extensively, to OE using maps, so I'll have to see how easily I can port my datalist functionalities too.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu