Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

PrintToBuffer (lines 6119-6133)

6119  #Ifnot; ! TARGET_GLULX
6120   
6121  [ PrintToBuffer buf len a b;
6122      if (b) {
6123          if (metaclass(a) == Object && a.#b == WORDSIZE
6124              && metaclass(a.b) == String)
6125              buf-->0 = PrintAnyToArray(buf+WORDSIZE, len, a.b);
6126          else
6127              buf-->0 = PrintAnyToArray(buf+WORDSIZE, len, a, b);
6128      }
6129      else
6130          buf-->0 = PrintAnyToArray(buf+WORDSIZE, len, a);
6131      if (buf-->0 > len) buf-->0 = len;
6132      return buf-->0;
6133  ];


Last updated 27 February 2004. 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 Graham Nelson assisted by C Knight.