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 site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Roger Firth.