1. trouble debugging question

I'am resending this message with a different subject line because
it dissappeared into the Topica void for some reason.


Rob: Why does this fail ?
     Also will location a always contain a terminating zero ?

===================================
include safe.e

atom a a = allocate_string("")
? a
? peek(a)

if getc(0) then
 -- pause 
end if
===================================

Bernie

new topic     » topic index » view message » categorize

2. Re: trouble debugging question

----- Original Message ----- 
From: "Bernie Ryan" <xotron at bluefrognet.net>
To: "EUforum" <EUforum at topica.com>
Subject: trouble debugging question


> 
> 
> I'am resending this message with a different subject line because
> it dissappeared into the Topica void for some reason.
> 
> 
> Rob: Why does this fail ?

It doesn't fail here. What symptoms are you seeing?

>      Also will location a always contain a terminating zero ?

Yes.
 
> ===================================
> include safe.e
> 
> atom a a = allocate_string("")
> ? a
> ? peek(a)
> 
> if getc(0) then
>  -- pause 
> end if
> ===================================
> 

-- 
Derek

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu