Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue C63024     [previous patch]

Issue with ++ applied to array element
Submitted by: Mark Tilford     Appeared in: Compiler 6.30 or before     Fixed in: -
Problem

These statements applied to an element of array XXX:

  XXX-->1++;
  ++XXX-->1;

causes compilation errors "'=' applied to undeclared variable" and "Evaluating this has no effect: "word array operator '-->'"". These forms compile successfully:

  (XXX-->1)++;
  ++(XXX-->1);
  XXX-->1 = XXX-->1 + 1;
Solution

None submitted.


Last updated 17 April 2013. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Roger Firth.