Re: poke({base,offset},x) form (Phix)

new topic     » goto parent     » topic index » view thread      » older message » newer message
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??

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

Search



Quick Links

User menu

Not signed in.

Misc Menu