Canada
Asked — Edited

Missing String Quotes Bug

I have found a little bug that is in many of the EZ-Script Functions Examples If i use the Examples from the list i get the following error message

Error on line 1: Missing String Quotes or Invalid Expression:

Example: ("") dont work Example: ("") does work

The quotes that are in the Examples don't work and i cant seem to find them on my key board at all But the ones that are on my key board do work


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Canada
#9  

Yes what @Richard R said:)

United Kingdom
#10  

Seems to work just fine for me.

As far as I know, the font is irrelevant since the EZ-Script dialogue uses plain text not formatted text. Copying and pasting simply copies and pastes the ascii characters without formatting.

Which examples are doing this? If you let me know one or two of them I can try those and double check but I just tried the

SayWait("Hello, I am a robot")

example and it worked fine.

Also, where are you copying from? The forum posts? The EZ-Script help page? The EZ-Script help within ARC?

Whatever I try I cannot replicate this error.

#11  

If I run this (copy and pasted example) it gives me a missing sting function error


$value = WaitForSpeech(30, "Yes", "No") # quotes are little 66s and 99s


... however if I change the quotes to these " (keyboard quotes) it then works..


$value = WaitForSpeech(30, "Yes", "No")  # hard to see but the quotes have been changed


Canada
#12  

It was this one Exec( EXE/Bat File, [parameters] ) that I clued into it on but seen it on others the other day that I cant remember what ones that was

The saywait was the one I did not have a problem with as I did not copy that one I typed it

I was coping the post because I seen that it was not posting it as I pasted it and was trying to see what was going on with it

#13  

ok the different quotes do not show up in my above example... If you don't believe me try it... Copy and paste the same example from the code sample in ARC script under the WaitForSpeech command... then run it...

#14  

Your example worked... Try this one Rich $value = WaitForSpeech(30, "Yes", "No")

You must copy and paste it into a script, though (do not type it)

Canada
#15  

Yes it don't show the different quotes in the posts at all and when I seen that in my first post it really confused me so I had to copy the post to see if I was loosing my mind :S lol

Canada
#16  

One thing I have learned in my many years of scripting and "trying" to teach people to script is that most will copy and paste instead of type so I can see many having problems with it and getting discouraged when the examples don't work