| View previous topic :: View next topic |
| Author |
Message |
BoBoĻ Guest
|
Posted: Thu Mar 06, 2008 3:52 pm Post subject: Comma or not comma or ... ? |
|
|
Won't work. | Code: | MsgBox ; comma is missing
(LTrim
a line
a 2nd line
the last line
) | Working... | Code: | MsgBox, ; comma added
(LTrim
a line
a 2nd line
the last line
) |
Might be covered by this, BTBH ... I'm not sure
| Quote: |
[Escape Sequences]
Tip: The first comma of any command may be omitted (except when the first parameter is blank). For example:
MsgBox This is ok.
MsgBox, This is ok too (it has an explicit comma). |
A bug? A feature?? |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 408
|
Posted: Thu Mar 06, 2008 3:57 pm Post subject: |
|
|
So it's documented. |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Thu Mar 06, 2008 5:27 pm Post subject: |
|
|
Thanks, I remember to have seen that too, but wasn't sure if this has to be taken as mandatory. To add something similar to this would make sense, or? | Quote: | | ... The first comma of any command may be omitted (except when the first parameter is blank, or its parameters are set using a continuation section). |
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Fri Mar 07, 2008 4:46 pm Post subject: |
|
|
The documentation has been changed as you suggested.
Thanks. |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Mar 08, 2008 1:19 am Post subject: |
|
|
I recommend this re-wording...
| Quote: | | The first comma of any command should not be omitted. |
|
|
| Back to top |
|
 |
|