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

count++ becomes Pl count
count-- becomes Mi count

If you use Turbo on these you must add REFERENCE k just above the DEFine lines.

2. You could add two new keywords PL and MI to do the same. These would work 
with the later versions of Turbo.

George
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to