Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.sinclair > #142
| From | lachman@ebony.ppc.ubc.ca (Milton Lachman) |
|---|---|
| Newsgroups | comp.sys.sinclair |
| Subject | Re: Conversion of ISO Date-stamps into Weekday Numbers |
| Date | 2011-04-07 18:18 +0000 |
| Organization | Pulp and Paper Centre |
| Message-ID | <inkv65$bpg$1@speranza.aioe.org> (permalink) |
| References | <87ipuxrivg.fsf@araminta.anjou.terraraq.org.uk> |
> From: Richard Kettlewell <rjk@greenend.org.uk> >lachman@ebony.ppc.ubc.ca (Milton Lachman) writes: >> So what is it about DIV such that "9DIV8" won't be an operation while >> "2TO3" is? Might this work on Minerva's superBASIC instead? > >There is no difference. "2TO3" parses as integer 2 followed by >identifier TO3, exactly as "9DIV8" parses as integer 9 followed by >identifier DIV8. > >You will find the code at 8706 in the JS (if the disassembly I have to >hand is accurate) or pa_chnlt in Minerva. It looks for anything that >could possibly be an identifier, it doesn't stop just because it happens >to match a keyword and it doesn't take surrounding context into account. It's ironic that the QL doesn't do so, while the ZX machines did, esp. as it must go through a list of operators in order of precedence. So I'll post a revision of the routine, and make it more recognisable as superBASIC.
Back to comp.sys.sinclair | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Conversion of ISO Date-stamps into Weekday Numbers Guesser <alistair@alistairsserver.no-ip.org> - 2011-03-29 19:38 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers spike1@freenet.co.uk - 2011-03-29 22:26 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-03-30 10:57 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers spike1@freenet.co.uk - 2011-03-30 18:50 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-03-30 19:27 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca - 2011-03-31 05:18 +0000
Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-03-31 10:55 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers spike1@freenet.co.uk - 2011-03-31 17:10 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-03-31 17:31 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-04-01 16:24 +0000
Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-04-01 18:17 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-04-01 18:22 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-04-07 18:18 +0000
Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-03-30 23:00 +0000
Re: Conversion of ISO Date-stamps into Weekday Numbers Guesser <alistair@alistairsserver.no-ip.org> - 2011-03-31 00:38 +0100
Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-04-12 18:08 +0000
Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-03-30 22:39 +0000
csiph-web