Results 1 to 7 of 7
-
06-26-2010, 08:55 AM #1
- Join Date
- Jun 2008
- Location
- Jersey Channel Islands
- Posts
- 28
SIOC 3.7 compile error if no text entered after //
I have just noticed that if you put the two // for commenting your code and do not
put any text in after the // then you will get a syntax error when you compile, has anybody else noticed this. I am using SIOC 3.7 This happens on the IF and ELSE command but is not a problem on the Var command. This is the case with Notepad and ConTEXT Editor.
-
06-26-2010, 02:17 PM #2
Re: SIOC 3.7 compile error if no text entered after //
yes, just don't do that...
-
06-26-2010, 02:41 PM #3
- Join Date
- Jun 2008
- Location
- Jersey Channel Islands
- Posts
- 28
Re: SIOC 3.7 compile error if no text entered after //
Hi Kiek
The reason I mentioned it is because the code template I supplied for ConTEXT editor inserts the // for you and its up to the user to put their comments after. If they don't then the code will not compile. Just something to be aware of when using the code template.
Gary
-
06-26-2010, 03:25 PM #4
Re: SIOC 3.7 compile error if no text entered after //
just don't use the conTEXT editor (i assume you are referring to the GUI interface of config_sioc.exe) .
Use a simple text editor, such as MS Windows NotePad to write your script and then compile with config_sioc.exe (Import TXT file and Save as .ssi file).
-
06-26-2010, 03:33 PM #5
Re: SIOC 3.7 compile error if no text entered after //
Hi there,
Yes even for me (a real SIOC Novice) Notepad seems to be the easiest and safe choice.
-
06-26-2010, 03:57 PM #6
- Join Date
- Jun 2008
- Location
- Jersey Channel Islands
- Posts
- 28
Re: SIOC 3.7 compile error if no text entered after //
Hi Kiek
No I was not referring to the GUI interface of config_sioc.exe. I was referring to ConTEXT
editor (previouse post "An alternative to notepad for sioc" dated 07-04-10). As stated in
my original post this problem will also happen with notepad. I was simply just making
people aware that if you insert the // you must put some text after it otherwise your
program will not compile and I'm sure this was not the case in earlier versions of sioc.
Gary
-
06-26-2010, 05:15 PM #7
Re: SIOC 3.7 compile error if no text entered after //
do not use ...
With Notepad you do not have a template that forces a // so you have no problem at all.
Similar Threads
-
SIOC 3.7B1 and still this Unable to Start IO.SYS service. ERROR code=1275
By Masterploxis in forum OpenCockpits General DiscussionReplies: 13Last Post: 02-21-2012, 03:59 AM -
Windows socket error with sioc?
By bsv118 in forum OpenCockpits General DiscussionReplies: 3Last Post: 04-28-2009, 12:08 PM -
Text LCD
By Andras in forum FS2Phidget UsersReplies: 1Last Post: 03-28-2005, 08:31 AM
Hi...realize this has been a long time, but I'm heading down the path of building my own 777...
B777 Overhead Panel Design