[plt-scheme] puzzled by 'new' failure

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Aug 26 00:27:56 EDT 2009

What language are you writing it in? scheme/gui?

#lang scheme/gui

(define frame (new frame% (label "test")))

On Tue, Aug 25, 2009 at 10:05 PM, David Richards<leximatica at mac.com> wrote:
>
> On Aug 25, 2009, at 9:33 PM, Jon Rafkind wrote:
>
>> David Richards wrote:
>>>
>>> This one line program fails:
>>>
>>> (define frame (new frame% (label "test")))
>>>
>>> Any advice, please?
>>> ___________________________________________
>>
>> Whats the error?
>
> reference to undefined identified: new
>
>>> ______
>>> For list-related administrative tasks:
>>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.