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 2 May 2008. The librarian in charge of this page is Roger Firth. Please email any comments, suggestions or corrections to roger@firthworks.com.