[racket] Error Message

From: Kambey Kwame Akari (kambeyakari at gmail.com)
Date: Wed Apr 30 19:07:18 EDT 2014

Hello, 

Whenever, I try to create a Gui I keep getting "read: illegal use of open square bracket” for the following code: 

; Make a frame by instantiating the frame% class
(define frame (new frame% [label "Example"]))
 
; Show the frame by calling its show method
(send frame show #t)


I am using racket 6.0 

Thanks, KK 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140430/1c4b4b3d/attachment.html>

Posted on the users mailing list.