How to determine if I'm running in Bisquixe

I’ve been experimenting with Bisquixe, and I’ve found some cases where it would be helpful to know if I’m running in Bisquixe or a different interpreter.

For instance, if I change the background color of a window, Bisquixe changes it instantaneously. In (say) Gargoyle, I need to redraw the window.

Is there any way to tell?

1 Like

There are some things called ‘gestalts’ that let you tell if certain things are supported or to identify interpreters being used.

So this works:

To decide whether bisquixe is being used:
	(-(glk_gestalt(5376, 0) )-)

and then you can just say:

if bisquixe is being used:
    say "Brought to you by Bisquixe!"
4 Likes

Works great - thanks!

1 Like