Forum

Please note that you can subscribe to the individual forums. A subscription for news only covers the news.

Notifications
Clear all

Error in script-file: Invalid variabel name: #

   RSS

0
Topic starter

When I lauch my script in 4.0 Beta 15 I get this error

su 18 17.34.38 Error in script-file
su 18 17.34.38 Invalid variabel name: #.
su 18 17.34.38 Error in script-file: Invalid variabel name: #.

When i laused the same script and reverted it to 3.4 I could see where the mistake was.

su 18 17:44:49 Error in script-file section [Question-DressShoes]
su 18 17:44:49 Invalid variabel name: #.

Could it be posibel that we can get the same error message in 4.0?

SwitchJJ

4 Answers
0

Hi Dwitchjj,

I discovered that sometimes the section name was wrong. That's why I changed the error messages. But I will see what I can do.

Sven

 

0

I haven't been able to recreate this. Probably because I test on a different statement. How does the line look, that creates the error message?

Sven

0
Topic starter

It was a dum mistake.

I use templates for most of my scipt build so it was looking something like this

[Question-DressShoes]

Phras=Do you have any dress shoes?

?Yes Mistress=*

Set#=#,1

?No Mistress=*

Set#=#,0

 

So basicly I forgot to set which counter should be set to either 1 or 0

This post was modified 1 month ago 2 times by SwitchJJ

SwitchJJ

0

Thank you. The final version 4.0 gives the correct error message. So does the next version, that I am working on. So I will conclude that the problem is solved. I did some improvements on error messages lately, so they must have fixed the issue.

I just wanted to be sure that you hadn't found a hole that was not fixed. That's why I asked.

Sven