Re: Running safe.e ???

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

----- Original Message ----- 
From: "Robert Craig" <rds at RapidEuphoria.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Running safe.e ???


> 
> 
> Bernie Ryan wrote:
> > Rob: Why does this fail ?
> > ...
> > 
> > ===================================
> > include safe.e
> > 
> > atom a a = allocate_string("")
> > ? a
> > ? peek(a)
>  > ...
> 
> You've found a bug in safe.e
> Thanks for pointing this out.
> 

I must be using a different safe.e, because it works fine here.

Also, if you're changing this, you might consider return BAD1, BAD2, etc... so
we can easily distinguish the particular reason for rejecting a bad address. So
instead of just saying "BAD POKE", it could say "BAD POKE CODE 1" etc...

BTW, there is an unused local variable called 'half' in the safe.e allocate()
function.
-- 
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu