As I was pasting the code here I saw what the problem was.
Code: Select all
xverb "test"
* DoTest
* "on"/"off"
...
routine DoTest
{
if not word[2]
{
"Test is ";
if test
"on."
else
"off."
return
}
If word[2]="on"
{
if test
"Test is already on."
else
{
test = 1
"Test enabled."
}
}
else
{
if not test
"Test is already off."
else
{
test = 0
"Test disabled."
}
}
}
And to think I only discovered this because I wanted to have 1 routine do the work of 3. (Same routine shows the state of the variable, turns it on or turns it off.) As a result of using Roodylib (I suspect) I already "blew through the cap" of 320 routines and had to increase it.