Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue C63020     [previous patch]

Message sending permits only five parameters
Submitted by: Mark Tilford     Appeared in: Compiler 6.30 or before     Fixed in: -
Problem

A routine may be called with up to seven parameters, thus: myRoutine(p1,p2,p3,p4,p5,p6,p7). These superficially similar forms accept only five parameters: myRoutine.call(p1,p2,p3,p4,p5) and myObj.myProp(p1,p2,p3,p4,p5). If more than five parameters are provided for the latter forms, the resulting compiler error message still refers to a limit of seven.

Incidentally, the limit appears to be documented only in §45 -- "Limitations and Getting Round Them"; it should also be described in §3.9, where messages and their parameters are described.

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.