September 26, 2020, 07:20:15 pm

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Commented out routines are returning sytax errors

Started by TexasPete, November 01, 2009, 05:28:49 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TexasPete

I know something unusual is going on. Plain old commented out routines are returning syntax errors.
How do I get around this.
I am putting each comment on a separate  and distinct line.
This just started. I did read about the problem with remark , but I thought as long as I used a separate line there would be no problem.

Thanks
Texas Pete

aurelCB

Pete this is no problem then is roule for write code in CBasic editor.
Give us piece of code...
forum for hobby programming:<br />https://aurelsoft.ucoz.com

LarryMc

LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

aurelCB

Yeah, :D
Good question Larry.
As i use this two type work fine
sign '
sign ;

forum for hobby programming:<br />https://aurelsoft.ucoz.com

TexasPete

Larry, I was using  the quote . I spent several hours trying to figure this out. CB was also giving me the wrong line for the actual error. I finally found out what was wrong. It keep saying there was and error on a line for the command "return"

I corrected the following and the error message went away. If it had given me the correct line the error was on I would have found it sooner.

Code Select

FontWeightIndex= GETSELECTED (wMain1,41)
' ---This is corrected. I had left off the parenthesis



Thanks Larry and aurel,

Texas Pete

LarryMc

And, as usual, if you had posted the code someone else could possibly have helped you.


I give up. ;)

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library