I was having an issue with Quicktest where I would get an error "Invalid expression: couldn’t extract token “string_variable” " after a *fake_choice or *choice #option and trying to *set a string variable. I was using a format of two-space indents, as I have a small screen on my laptop and prefer to do it that way. All of my code was hunky-dory using the two-space indent method until this. Once I replaced everything with four-space indents this issue went away. Nope turns out it’s not working. Not sure why quicktest didn’t catch it that one time. SO still need help please!
Here’s my code:
I’ve also tried it this way:
Also, found this on the wiki: Invalid expression, couldn’t extract another token
If this error occurs, it means you’ve used characters that don’t exist in the english language. Note that most programming languages require you to only use alphanumeric characters that exist in the english language (which means if you use the “alpha” character from the greek alphabet, you’ll encounter this error).
But “City Streets” is all english alphabet?
UPDATE: I got it! I had copied and pasted from MS Word because I was spellchecking stuff. The quote marks weren’t native to the coding language. I have to manually type them in Notepad++