Page 1 of 1

Another oddity

Posted: Wed Aug 28, 2024 5:56 pm
by dunbarx
Now and then I find that LC does not register a line of code. For example, I might:

Code: Select all

put "X" into temp
put return after temp
put "Y" after temp
I expect to see "X" on line 1 and "Y" on line 2. In a stack today I could not for the life of me get LC to place a return after a line in a variable. Only after I added another line right after the first:

Code: Select all

put "d" & return after temp
did I see the "d' in the right place. I then commented out that line and tried again, and all worked just fine. I suspect that if I had quit LC and restarted, all would then have worked as well.

But just as with my "sticky" red "error" dots, which I still regularly have to finagle to get rid of, has anyone seen something like this?

Craig

Re: Another oddity

Posted: Wed Aug 28, 2024 6:26 pm
by richmond62
Possibly, just possibly, the quality is slipping.

Re: Another oddity

Posted: Wed Aug 28, 2024 6:51 pm
by dunbarx
Richmond.

I have not changed my LC version or my machine in quite a while, so I do not think it is "them". The error red dots hassle started perhaps two or three months ago, and I have seen the sort peculiarity in the mechanics of the code that I just described here and there forever. I only want to know if others have seen the same thing. Goblins are better dealt with if they live in more attics than just mine.

I think.

Craig

Re: Another oddity

Posted: Wed Aug 28, 2024 8:23 pm
by richmond62
I expect to see "X" on line 1 and "Y" on line 2.
Erm: where do you 'see' temp?

Re: Another oddity

Posted: Thu Aug 29, 2024 5:02 pm
by jacque
Since "return" has two possible uses, LC may have been confused. I always use cr to distinguish.

Re: Another oddity

Posted: Fri Aug 30, 2024 2:06 am
by dunbarx
Richmond.

I was in the SE.

Jacque.

You know, I am probably just lazy and old fashioned, but I have never used "cr" to format text, always "return". I get what you mean, knowing what "return" means in, say, a function call, and probably should switch.

But LC has never, for me, been confused that way, and in any case would not have "fixed" itself for no particularly good reason if the "wrong" form of return had any influence.

I think.

Craig

Re: Another oddity

Posted: Sun Sep 01, 2024 8:26 pm
by FourthWorld
dunbarx wrote:
Wed Aug 28, 2024 5:56 pm
Now and then I find that LC does not register a line of code. For example, I might:

Code: Select all

put "X" into temp
put return after temp
put "Y" after temp
I expect to see "X" on line 1 and "Y" on line 2.
I'm unable to see anything other than what you expect, in both the debugger and when adding "put" to show it in the Message Box.