<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello, <div><br></div><div>Whenever, I try to create a Gui I keep getting "read: illegal use of open square bracket” for the following code: </div><div><br></div><div><table cellspacing="0" class="RktBlk" style="margin: 0px; padding: 0px; font-family: 'Source Code Pro', monospace; white-space: pre; font-size: 1rem; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><tbody style="margin: 0px; padding: 0px;"><tr style="margin: 0px; padding: 0px; white-space: inherit;"><td style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="RktCmt" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(194, 116, 31); font-size: 1rem;">;</span><span class="RktCmt" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(194, 116, 31); font-size: 1rem;"> </span><span class="RktCmt" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(194, 116, 31); font-size: 1rem;">Make a frame by instantiating the </span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;"><a href="frame_.html" class="RktValLink" data-pltdoc="x" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(0, 119, 170); font-size: 1rem;">frame%</a></span><span class="RktCmt" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(194, 116, 31); font-size: 1rem;"> class</span></td></tr><tr style="margin: 0px; padding: 0px; white-space: inherit;"><td style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="RktPn" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(132, 60, 36); font-size: 1rem;">(</span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;"><a href="../reference/define.html#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._define%29%29" class="RktStxLink Sq" data-pltdoc="x" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(0, 119, 170); font-size: 1rem;">define</a></span><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;">frame</span><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span><span class="RktPn" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(132, 60, 36); font-size: 1rem;">(</span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;"><a href="../reference/objcreation.html#%28form._%28%28lib._racket%2Fprivate%2Fclass-internal..rkt%29._new%29%29" class="RktStxLink Sq" data-pltdoc="x" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(0, 119, 170); font-size: 1rem;">new</a></span><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;"><a href="frame_.html" class="RktValLink" data-pltdoc="x" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(0, 119, 170); font-size: 1rem;">frame%</a></span><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span><span class="RktPn" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(132, 60, 36); font-size: 1rem;">[</span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;">label</span><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span><span class="RktVal" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(34, 139, 34); font-size: 1rem;">"Example"</span><span class="RktPn" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(132, 60, 36); font-size: 1rem;">]</span><span class="RktPn" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(132, 60, 36); font-size: 1rem;">)</span><span class="RktPn" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(132, 60, 36); font-size: 1rem;">)</span></td></tr><tr style="margin: 0px; padding: 0px; white-space: inherit;"><td style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span></td></tr><tr style="margin: 0px; padding: 0px; white-space: inherit;"><td style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="RktCmt" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(194, 116, 31); font-size: 1rem;">;</span><span class="RktCmt" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(194, 116, 31); font-size: 1rem;"> </span><span class="RktCmt" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(194, 116, 31); font-size: 1rem;">Show the frame by calling its </span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;"><a href="top-level-window___.html#%28meth._%28%28%28lib._mred%2Fmain..rkt%29._top-level-window~3c~25~3e%29._show%29%29" class="RktValLink" data-pltdoc="x" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(0, 119, 170); font-size: 1rem;">show</a></span><span class="RktCmt" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(194, 116, 31); font-size: 1rem;"> method</span></td></tr><tr style="margin: 0px; padding: 0px; white-space: inherit;"><td style="margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="RktPn" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(132, 60, 36); font-size: 1rem;">(</span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;"><a href="../reference/ivaraccess.html#%28form._%28%28lib._racket%2Fprivate%2Fclass-internal..rkt%29._send%29%29" class="RktStxLink Sq" data-pltdoc="x" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(0, 119, 170); font-size: 1rem;">send</a></span><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;">frame</span><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span><span class="RktSym" style="margin: 0px; padding: 0px; white-space: inherit; color: inherit; font-size: 1rem;"><a href="top-level-window___.html#%28meth._%28%28%28lib._mred%2Fmain..rkt%29._top-level-window~3c~25~3e%29._show%29%29" class="RktValLink" data-pltdoc="x" style="margin: 0px; padding: 0px; text-decoration: none; color: rgb(0, 119, 170); font-size: 1rem;">show</a></span><span class="hspace" style="margin: 0px; padding: 0px; white-space: inherit; font-size: 1rem;"> </span><span class="RktVal" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(34, 139, 34); font-size: 1rem;">#t</span><span class="RktPn" style="margin: 0px; padding: 0px; white-space: inherit; color: rgb(132, 60, 36); font-size: 1rem;">)</span></td></tr></tbody></table><div><br></div></div><div><br></div><div>I am using racket 6.0 </div><div><br></div><div>Thanks, KK </div></body></html>