Hi I need to create a project in pertty big . why this code is not been supported ?
Thanks, Or On Thursday, January 24, 2019 at 3:29:11 PM UTC+2, Kieron Hardy wrote: > > The language you should be using is "Beginning Student with List > Abbreviations". > > On Jan 24, 2019, at 4:33 AM, orenpa11 <[email protected] <javascript:>> > wrote: > > Hi, > when I removed the line > #reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) > (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor > repeating-decimal #f #t none #f ()))) > > And changed the language to pretty big. > I recived this error: > Welcome to DrRacket, version 7.1 [3m]. > Language: Pretty Big; memory limit: 128 MB. > . . check-expect: undefined; > cannot reference an identifier before its definition > > Any idea ? > > Thanks, > Or > > > > > > On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy wrote: >> >> It seems the metadata lines added by DrRacket (mentioned by John) are >> processed when the a source file is loaded into DrRacket (via the menu >> option File/Open), but are not processed if the source code is directly >> copied (e.g. from a browser window) into a DrRacket window and then >> executed with the 'Run' button. >> >> The metadata includes a #reader directive, e.g.: >> (#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) >> ...) >> >> This reader directive appears to be silently ignored by DrRacket when the >> source is 'Run', even though DrRacket shows "#reader" in red (as when an >> error is detected). The actions taken by DrRacket when 'Run' is pressed >> seem to depend on the settings in effect when the code is executed, which >> could be nothing, or throwing a confusing error. >> >> The solution for the original poster's issue is as John directs; remove >> the metadata (i.e. #reader directive) and manually set the language. >> >> However, I feel that DrRacket should recognize and act on (and perhaps >> also remove/hide from view) the metadata if the metadata occurs as from a >> copy/paste directly into a DrRacket window (e.g. as from a URL). The >> current behaviour is, I think, a bug and a trap (perhaps showstopping) for >> a new user experimenting with Racket. >> >> Note that the Racket executable seems to process the metadata properly, >> understanding the language to use, etc.. so that the code behaves as >> intended. >> >> On Wed, Jan 23, 2019 at 12:32 PM K H <[email protected]> wrote: >> >>> Hello Or, >>> >>> The language is not "Pretty Big". >>> >>> You should be using "Beginning Student with List Abbreviations". >>> >>> The DrRacket metadata lines referred to by John set the correct >>> language. In your case you must have changed the language somehow. Or >>> perhaps the file needs to be saved before the metadata is acted upon. >>> >>> HTH, >>> >>> Kieron. >>> >>> >>> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users < >>> [email protected]> wrote: >>> >>>> Interesting problem; your screenshot shows header text that should not >>>> appear in the window, which suggests to me that you copied and pasted the >>>> text from somewhere else into a buffer where the language level was >>>> already >>>> set. It looks to me like you should do the following: >>>> >>>> 1) Delete the first three lines of the file. >>>> 2) Set the language level to “beginner with list abbreviations”. >>>> 3) Click “run” >>>> >>>> John Clements >>>> >>>> > On Jan 23, 2019, at 10:44 AM, orenpa11 <[email protected]> wrote: >>>> > >>>> > Hi David, >>>> > Thanks for your swift response ,I simply do not know how to run this >>>> program. >>>> > I thought that when I press the run button I should see the snake GUI >>>> . >>>> > >>>> > Maybe the language is not pretty big ? >>>> > Thanks, >>>> > Or >>>> > >>>> > >>>> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs >>>> wrote: >>>> > What happens when you run it? Are you getting any error messages? >>>> > >>>> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11 <[email protected]> wrote: >>>> > > >>>> > > Hi >>>> > > I am trying to implemet this code of "snake game " >>>> > > https://course.ccs.neu.edu/csu211/code/snake-full.ss >>>> > > >>>> > > in DrRacket (Pretty big) >>>> > > But when I run it it is not working . >>>> > > any Idea ? >>>> > > >>>> > > Thanks >>>> > > Or >>>> > > >>>> > > -- >>>> > > You received this message because you are subscribed to the Google >>>> Groups "Racket Users" group. >>>> > > To unsubscribe from this group and stop receiving emails from it, >>>> send an email to [email protected]. >>>> > > For more options, visit https://groups.google.com/d/optout. >>>> > >>>> > -- >>>> > You received this message because you are subscribed to the Google >>>> Groups "Racket Users" group. >>>> > To unsubscribe from this group and stop receiving emails from it, >>>> send an email to [email protected]. >>>> > For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Racket Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > <error_1.jpg> > > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

