Re: [Ql-Users] Wishlist of future SuperBASIC extensions...

2011-02-22 Thread extdgl42
2 + 2 = 5 ... for large values of 2 -- old chestnut. Speaking of 5 :-) . -Original Message- From: Plastic plasticu...@gmail.com Sent: Feb 11, 2011 10:06 AM To: ql-us...@q-v-d.com Subject: Re: [Ql-Users] Wishlist of future SuperBASIC extensions... On Fri, Feb 11, 2011 at 8:51 AM, Malcolm

[Ql-Users] Wishlist of future SuperBASIC extensions...

2011-02-11 Thread Plastic
I wish I could... count++ instead of count = count + 1 count-- instead of count = count - 1 I wish I could... DEFine PROCedure run_faster(a$) REMark Any procedures called with this wrapper will always execute in a short enough time ;) Dave ___

Re: [Ql-Users] Wishlist of future SuperBASIC extensions...

2011-02-11 Thread Rich Mellor
On 11/02/2011 14:02, Plastic wrote: I wish I could... count++ instead of count = count + 1 count-- instead of count = count - 1 Not possible without re-writing the BASIC parser... I wish I could... DEFine PROCedure run_faster(a$) REMark Any procedures called with this wrapper will always

Re: [Ql-Users] Wishlist of future SuperBASIC extensions...

2011-02-11 Thread Plastic
On Fri, Feb 11, 2011 at 8:16 AM, Rich Mellor r...@rwapservices.co.ukwrote: On 11/02/2011 14:02, Plastic wrote: I wish I could... count++ instead of count = count + 1 count-- instead of count = count - 1 Not possible without re-writing the BASIC parser... How does Jan Jones sleep at

Re: [Ql-Users] Wishlist of future SuperBASIC extensions...

2011-02-11 Thread Malcolm Lear
On 11/02/2011 14:02, Plastic wrote: I wish I could... count++ instead of count = count + 1 count-- instead of count = count - 1 How about count++5 instead of count = count + 5 Malcolm ___ QL-Users Mailing List

Re: [Ql-Users] Wishlist of future SuperBASIC extensions...

2011-02-11 Thread Plastic
On Fri, Feb 11, 2011 at 8:51 AM, Malcolm Lear malc...@essex.ac.uk wrote: On 11/02/2011 14:02, Plastic wrote: I wish I could... count++ instead of count = count + 1 count-- instead of count = count - 1 How about count++5 instead of count = count + 5 I'll match your increments and

Re: [Ql-Users] Wishlist of future SuperBASIC extensions...

2011-02-11 Thread gdgqler
On 11 Feb 2011, at 14:02, Plastic wrote: I wish I could... count++ instead of count = count + 1 count-- instead of count = count - 1 Here are two solutions: 1. You could define two procedures Pl and Mi DEFine PROCedure Pl(k) k=k+1 END DEFine DEFine PROCedure Mi(k) k=k-1 END DEFine

Re: [Ql-Users] Wishlist of future SuperBASIC extensions...

2011-02-11 Thread Norman Dunbar
On 11/02/11 15:06, Plastic wrote: I'll match your increments and raise you referenced pointers... I'll 'C' your increments and referenced pointers. In fact, I'll C68 them! Cheers, Norman. -- Norman Dunbar Dunbar IT Consultants Ltd Registered address: Thorpe House 61 Richardshaw Lane Pudsey