Page 1 of 1

Unexpected Symbol ??

Posted: Sun Apr 05, 2015 1:13 pm
by Wobbles
Hi, I'm playing around with swordfish doing the most basic of tasks but i keep getting Symbol not expected errors in the editor

I am only trying little pieces from the documentation for example on page 21 the 'dim PinIsHigh as PORTB.Booleans(0)'

it seems to come up with the message in all sorts of places

Am i missing something thats staring me in the face ?

Re: Unexpected Symbol ??

Posted: Sun Apr 05, 2015 1:42 pm
by octal
It's difficult to guess the origin of the problem from your description. Could you, please, post a complete minimalist program showing this behaviour?

PS. When copying/Pasting code from the help file or from web pages, take care to not paste special chars. For example, single quotes can be converted to " ` " char which is not accepted by SF (and is different from real single quote char " ' "). The best is to paste code first to Notepad for example and then copy/paste from notepad to SF IDE.

Re: Unexpected Symbol ??

Posted: Wed Apr 08, 2015 9:51 am
by David Barker
As octal has mentioned, we need to see some code in order to reproduce the error here.