



MultiAdd (lines 3588-3603)
Back to List
Browsing parserm.h
3588 ! The MultiAdd routine adds object "o" to the multiple-object-list.
3589 !
3590 ! This is only allowed to hold 63 objects at most, at which point it ignores
3591 ! any new entries (and sets a global flag so that a warning may later be
3592 ! printed if need be).
3593 ! ----------------------------------------------------------------------------
3594
3595 [ MultiAdd o i j;
3596 i = multiple_object-->0;
3597 if (i == 63) { toomany_flag = 1; rtrue; }
3598 for (j=1 : j<=i : j++)
3599 if (o == multiple_object-->j) rtrue;
3600 i++;
3601 multiple_object-->i = o;
3602 multiple_object-->0 = i;
3603 ];
Last updated 27 February 2004. The librarian in charge of this page is Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight. Please email any comments, suggestions or corrections to cedenqs@inform-fiction.org.