Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

StartTimer (lines 4074-4084)

4074  [ StartTimer obj timer i;
4075     for (i=0:i<active_timers:i++)
4076         if (the_timers-->i==obj) rfalse;
4077     for (i=0:i<active_timers:i++)
4078         if (the_timers-->i==0) jump FoundTSlot;
4079     i=active_timers++;
4080     if (i >= MAX_TIMERS) { RunTimeError(4); return; }
4081     .FoundTSlot;
4082     if (obj.&time_left==0) { RunTimeError(5,obj); return; }
4083     the_timers-->i=obj; obj.time_left=timer;
4084  ];


Last updated 27 February 2004. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.