Hi John,
We considered implementing LET way back at the start of QM but had never seen it used in real multivalue Basic programs so we decided not to support it.
Rather than stripping out all the redundant LET tokens, you could simply do
$define LET
at the top of the program or in an include record that you import everywhere. This will replace LET with nothing.
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200
--
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
To unsubscribe, email to: mvdbms+unsubscribe@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
--
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+unsubscribe@googlegroups.com
Hi John,
If this issue is affecting many programs, please let me know what version of QM you are using and I will look to see if we can include LET as a patch to the compiler.
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
--
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
--
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
Hi John,
There is a patch available for release 3.4-11 to add the LET statement. To install this, logto the QMSYS account and type
*PATCH 292
To unsubscribe, email to: mvdbms+unsubscribe@googlegroups.com
So will you also be patching the REM? :-)
// this is a comment
/* Everything between these tokens
are comments */
Hi Kevin,
The // style comment cannot be added because // in QM is an integer divide operator. Thus
A = B // C
would be ambiguous as to whether C is a comment or a divisor.
We probably could implement the /* … */ style comment though it would require a significant compiler change. I am against doing this simply to make QMBasic closer to C because it is a step along the way to a language that is neither multivalue Basic nor C and hence confusing for all users.
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200
From: mvd...@googlegroups.com [mailto:mvd...@googlegroups.com] On Behalf Of Kevin Powick
Sent: 05 December 2017 20:07
To: Pick and MultiValue Databases
--
To unsubscribe, email to: mvdbms+unsubscribe@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
--
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+unsubscribe@googlegroups.com
To unsubscribe, email to: mvdbms+unsubscribe@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
--
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+unsubscribe@googlegroups.com