Re: poke({base,offset},x) form (Phix)
- Posted by Ekhnat0n Jan 29, 2015
- 1433 views
petelomax said...
I am thinking of adding a poke({base,offset},x) form to Phix that performs additional safety checks, and wondered if the idea had any merit in OpenEuphoria.
Thoughts, anyone? Clearly if OpenEuphoria currently does not have any kind of size/sentinel on allocate()'d blocks (I have no idea), it is a bit of a non starter (for you lot).
Pete
1 or crash trying to read non-existent sentinels, to pretty much the same effect.
What IF
1)base was a valid variable OR constant,
2)offset derived from the variable-table itself and
3)x a valid value that could
4)Phix things??