1. Remming
- Posted by doncole2009 May 04, 2009
- 943 views
Hello,
I see that
--/*
Rems everything after it.
How do you unrem further down below it?
TIA
Don Cole
2. Re: Remming
- Posted by DerekParnell (admin) May 04, 2009
- 1055 views
Hello,
I see that
--/*
Rems everything after it.
How do you unrem further down below it?
TIA
Don Cole
I assume by "remming" you "comment out".
Anyhow, no it doesn't. What makes you think that it does?
For example...
------------- --/* ? 3 ? 2 -------------
This displays
2on the screen. If it had commented everything after the firstline then I wouldn't see any output.
However this ... comments mutliple lines out ...
------------- -- /* ? 3 ? 2 */ -------------
To summarize:
Single line comments start with "--" and go to the end of the line. Multi-line comments start with "/*" and go until the next "*/", and they are not nestable.
3. Re: Remming
- Posted by doncole2009 May 04, 2009
- 940 views
Well you are right with you test.
--/* ?2 --in Edita this is red
does print 2
I never tried that because in Edita if you do that every line after turns red.
Maybe there's a bug in Edita. We'll never know because Pete dropped out or dead or something.
So I assumed it all was remmed out. I didn't try any other editors.
Rem is short for remark a hold over from basic. There's another word for it I've seen somewhere.
But I forgot it. It means blocked out; ignored buy your code, it may or may not contain a comment.
This all started with your instructions to fix fDoChar.
When I found fDoChar in my older version of win32lib it was all remmed out in that manner.
Maybe it wasn't. I was going check but it seems I threw that old win32lib.ew out.
As I said changing to the newer version fixed my problem.
I do want to put your fix in but haven't do so yet.
The way I'm getting around problem is
doEvents(0) setFocus(EditText5)
Where according to what I read on this forum it should be
setFocus(EditText5) returnValue(-1)
I'm going to put in your fix then change my code. I'm in no rush on this because it is working now.
Don Cole
4. Re: Remming
- Posted by petelomax May 05, 2009
- 949 views
Well you are right with you test.
--/* ?2 --in Edita this is red
does print 2
I never tried that because in Edita if you do that every line after turns red.
Maybe there's a bug in Edita. We'll never know because Pete dropped out or dead or something.
Not dead just very very quiet. (Hi all!) It is a deliberate feature. Close with */ The second line of euphoria.syn can be edited to remove this.
Pete
5. Re: Remming
- Posted by doncole2009 May 06, 2009
- 952 views
Hello Pete,
Glad to see that rumors of you demise were unfounded.
Don Cole