--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
This brings up memories when I was first learning to program. One of the main principles was to never assume what the computer was going to do under unknown circumstances. Take for instance a for/next loop. Given this code:
FOR I=1 TO 10
PRINT I
NEXT I
PRINT I
Some systems will print 10 some print 11.
David A. Green
--
Hi Tony,
It's a shame that MVBASIC syntax doesn't evolved like it does elsewhere where this might be re-written as:
ANSWER = TARGET=0 ? 0 : (SALES/TARGET)
I could easily see (our hero) Martin doing this in QM, but chances are slim anywhere else.
Your posting set me off looking at the D3 documentation and I was a bit surprised that the conditional expression syntax found in “Information style” multivalue implementations is not there. I thought it was part of the core language.
ANSWER = IF TARGET = 0 THEN 0 ELSE (SALES / TARGET)
So, No opportunity to be the hero this time. I will put the Superman cape back in the box for now.
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200
x = 1:@AM:2:@AM:3
crt x<0>
crt x<2,0>
HI Chandru
--
Hi