A Bisquixe inquiry regarding the status line

Okay, I think it is strongly related to substituted forms. Here’s a really basic example that strips links:

"Test room" by Brian Rushton

lab is a room.

include basic screen effects by emily short.
include simple multimedia effects for v10 by mathbrush.
Release along with a "Bisquixe" interpreter.

to say link (t - a text):
	hyperlink "[t]" as "[t]";
	
T is some text that varies. T is "X ME"

Linktext is some text that varies. Linktext is "[link T]"

Instead of waiting:
	say linktext;
	say line break;
	say the substituted form of linktext;

I’m going to check to see if tables always strip out commands. I’ll keep you updated!

Edit:

It’s kind of bizarre. Changing your ‘link’ command to try jumping instead of hyperlinking does this:

to say link (t - a text):
try jumping;

Gives this result:

So somehow the status line is printing the result of the action; doing SHOWME THE TABLE OF LINK TEXT does this:

So it looks like storing text with effects in it into tables can act a little goofy. I’ll keep looking

Editedit: Another interesting approach:

Adding the static link after the dynamic link makes both bad:

to build the link list:
	let N be one;
	let T be a text;
	repeat through the table of status line texts:
		now T is item entry;
		choose row N from the table of link testing;
		now left entry is "[link T][link static entry]";
		increment N;

Results in:

But if we put in just the link static entry, it works perfect. So the dynamic parsing is what’s killing the links.

Editeditedit:

With this toy game:

"Test room" by Brian Rushton

lab is a room.

include basic screen effects by emily short.
include simple multimedia effects for v10 by mathbrush.
Release along with a "Bisquixe" interpreter.

Table of Link Testing
item
""
""
""

Instead of waiting:
	showme the contents of table of link testing;
	say hyperlink list;
	
Table of fill-in text
bob
"examine me"
"examine you"
"roody doo doo doo"

When play begins:
	repeat with current running from one to three:
		choose row current in the table of fill-in text;
		let temp be bob entry;
		choose row current in the table of  link testing;
		now item entry is "[link temp]";
		
To say link (t - a text):
	hyperlink t as t;

It doesn’t hyperlink anything ever, but the hyperlink list prints out those three texts, showing that it intended to hyperlink things at some point

Edit^4: Getting help here:

2 Likes