Re: routine_id() question

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

> -- the built-in routines return -1 when passed to routine_id(). (invalid)
> -- the idea was to use a switch routine like the following instead of the

yes, they do that since they're built in. To get around this, wrap the
functions as so:

function old_peek( atom mem )
    return peek( mem )
end function

without warning -- turn of redefined warning
function peek( atom mem )
    return old_peek( mem )
end function
with warning


~Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu