Re: Request for code clarification
dave selby <[email protected]> Fri, 22 Nov 2024 09:52:25 +0000
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <CA+-BTTxh+Pfo+2xV81W0qmVo9qjNGZhEZioFzdsnpoj+XVVNCg@mail.gmail.com> |
Thank you for your email, Perhaps a better way for me to word it would have been to say why is ( referencing a previous version of ( ? Kind Regards Dave Selby (Engineer 784) On Thu, 21 Nov 2024, 22:18 Bernd Paysan, <[email protected]> wrote: > Am Donnerstag, 21. November 2024, 23:05:28 Mitteleurop=C3=A4ische Normalz= eit > schrieb dave selby: > > Hello > > > > Not sure if this is the correct forum to ask but there is a bit of code= I > > don't understand. I am looking to define (( .. )) and was looking at ( = ) > > code, it all makes sense except for the first line > > > > loadfile @ 0=3D IF postpone ( EXIT THEN > > > > Why would you postpone an earlier definition of ( if you are on the > command > > line and not compiling ? > > The line before starts with > > : ( > > starting a definition, and you are compiling at that next line. > > You can paste the definition line by line, and the prompt will tell you > when > you are compiling: > > : ( ( compilation 'ccc<close-paren>' -- ; run-time -- ) \ core,file > paren > compiled > loadfile @ 0=3D IF postpone ( EXIT THEN compiled > BEGIN compiled > >in @ compiled > ')' parse nip compiled > > > -- > Bernd Paysan > "If you want it done right, you have to do it yourself" > net2o id: kQusJzA;7*?t=3Duy@X}1GWr!+0qqp_Cn176t4(dQ* > https://net2o.de/ >