Hello Mike,
30 Oct 99 19:55, MIKE RUSKAI wrote to EDDY THILLEMAN:
ET>> Has the concatenation operator (||) advantages over the syntax
ET>> '\'variable ? Are there any differences, if so what are they?
MR> Easier to see what you're trying to do.
OK, I see. :)
MR> If you accidentally put a space between the two, it becomes space
MR> concatenation (breaking the filename), rather than abuttal.
I'm aware of that. :)
MR> If you stick with the concatenation operator, you'll notice when a
MR> space is where it doesn't belong. I *always* use them, even to put a
MR> space in the string (string||' '||restofstring).
with the ||, extra spaces between the strings doesn't influence the script
string || ' ' || restofstring
is the same as
string||' '||restofstring
but without the || the above two concatenations are different
(but you already know that)
MR> As a result, I've never had a problem with problems due to undesirable
MR> concatenation side-effects.
I got never stuck on that. :) But I see your point.
Greetings -=Eddy=- email: eddy.thilleman@net.hcc.nl
... "The adventures of WIN.INI the Pooh" by W. Gates
--- GoldED/2 3.0.1
3615/7
* Origin: Windows98 is a graphic DOS extender (2:500/143.7)
|