>Then you replace lcTest with
>
>lcTest = "This is a value " + ;
> "that continues around to here"
>
>or, if you want two separate lines
>lcTest = "This is a value " + chr(13) + ;
> "that continues around to here"
>
>and it's no longer a problem.
I'm right there with you, Dorris. Agree completely.
>I've never liked continuation lines like that - to many times
>I've been bitten in the butt by someone 'making the code pretty'
>and not paying attention to things like that. Then it becomes a
>maintenance problem when, in reality, it never should have
>been there in the first place.
Definitely.
The policy at most places I've worked has been something like "don't change anything that isn't broken" (otherwise I'd be fixing up a lot of stuff like that I keep coming across). As hideous as the mid-constant-character-semicolon line is ... it still works, even in VFP9. :-(
Another one that I come across often is:
IF someCond
* Code goes here
ENDIF someCond
* They use "ENDIF someCond" rather than "ENDIF && someCond"
Same goes for:
DO CASE add your favorite comment here
Ugh! :-)