Hey guys!
Did a test today to see if something was possible.
Sadly it wasn't but I feel like its a bug that it isn't so i'm sharing it!
Here is the first test:
Code: Select all
Setting Var @SetVar[Test]=[1]
Showing Var @ShowVar[Test]. Should be 1
Changing Var @ChangeVar[Test]=[Test]+[#Random(3, 5)]
Showing Var @ShowVar[Test]. Should be 4, 5 or 6
@End
So this test was succesfull, a random number between 3 and 5 gets added to the Test Value (yaa)
Next test:
Code: Select all
Setting Var @SetVar[Test]=[1]
Showing Var @ShowVar[Test]. Should be 1
Changing Var @ChangeVar[Test]=[Test]+[#Test]
Showing Var @ShowVar[Test]. Should be 4, 5 or 6
@End
#Test was included in the vocabulary and simply contained #Random(3, 5), no spaces no anything except that.
Well this test failed sadly :(
I did do a third test just for the fun of it :P
Heck I was warmed up
Last test:
Code: Select all
Setting flag @SetFlag(Test)
Setting Var @SetVar[Test]=[1]
Showing Var @ShowVar[Test]. Should be 1
Changing Var @ChangeVar[Test]=[Test]+[#Test]
Showing Var @ShowVar[Test]. Should be 4, 5 or 6
@End
I also changed the #Test inside vocabulary to @Flag(Test) #Random(3, 5)
But as expected this failed.
I get that Var cant handle strings, but isn't there a way to make it recognize the #Test to essentially be containing a number?
Best regards
Genome