Thanks for the info.
"unicon -u -c char.icn" detected another missing declaration
    local event
because of Unicon "event" function.

Dick McCullough
http://mkrmke.org
----- Original Message ----- 
From: "Clinton Jeffery" <[email protected]>
To: "Richard H. McCullough" <[email protected]>
Cc: "Unicon group" <[email protected]>
Sent: Wednesday, July 01, 2009 8:16 AM
Subject: Re: Unicon char "bug"


> Richard,
>
> As per Steve's comments, the Icon language officially considered it a
> feature that built-in functions could be
> overridden in programs, although some of the later IPL code written by
> Ralph got pretty defensive about not trusting the user to leave the
> built-ins alone, for variables such as "type".
>
> I believe "unicon -u -c char.icn" would give the same output char.u
> for your char.icn but would have given you the warning message you
> request in this message.
>
> On Wed, Jul 1, 2009 at 5:54 AM, Richard H. McCullough<[email protected]> 
> wrote:
>> Example from char.icn in mKE.
>> This "bug" didn't show up until I tried to use the Unicon "char" 
>> function.
>>
>> "icont -u -c char.icn" did not detect my missing declaration
>> local char
>> in
>> procedure set_charnest(subject,charnest,nvtype)
>> ...
>> every char := ! charnest do {
>> ...
>> } # end every char
>> end
>> because "char" is a built-in Unicon function.
>>
>> It would be helpful if icont detected this kind of error.
>>
>> Dick McCullough
>> http://mkrmke.org
>
> 


------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to