1. Remming

Hello,

I see that

--/* 

Rems everything after it.

How do you unrem further down below it?

TIA

Don Cole

new topic     » topic index » view message » categorize

2. Re: Remming

doncole2009 said...

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

2 
on 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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Remming

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Remming

doncole2009 said...

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: Remming

Hello Pete,

Glad to see that rumors of you demise were unfounded.

Don Cole

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu