Glulx timers

Is there a manual somewhere for Glulx? I’d like to use timers, but can’t find documentation about them in the Inform7 manuals. The Glulx Entry Points says that it allows the author to set responses to Timer events, but doesn’t give syntax or examples for doing so.

(I tried using Basic Real Time by Sarah Morayati, but her example code isn’t compiling).

Glulx manual is eblong.com/zarf/glulx/glulx-spec.html I presume. I don’t know much about timers though.

Timers aren’t handled by the Glulx VM but by the Glk library. You will want the Glk specification if you are going to do any Glk hacking. But like you say, there are already extensions for this kind of thing. If you tell us which version of Sarah’s extension you’re using, post your source, and mention the problem messages, the folks here can probably tell you how to get things working.

I seem to have what I need by using the code from this post :

https://intfiction.org/t/inform-the-reliques-of-tolti-aph/67/1

But I am curious as to why Basic Real Time isn’t working for me. The build of Inform 7 I’m using is “Inform (1.2 6.31/6H98).” I have Basic Real Time version 2 installed.

When I run the “Green Button” example code that comes with the extension, I get a compiler error that states:

I changed “It can be pressed or unpressed.” to “The button can be pressed or unpressed.” Which seems to solve that problem, but then I get this compiler error:

I think that might be a bug in the example.
It can be that the rule this line is from should read:

When play begins: now the next real-time action is the action of releasing the terrors;

There are other guides out there, but there is no other manual for Glulx, and that should tell you something. You may want to consider a different language, as it will be hard rowing with Glulx.