Page 2 of 2

Re: UDC error.

Posted: 11 Nov 2007 17:36
by admin
jacky wrote:
admin wrote:uh? <base>, <curbase> and <curfolder> can be part of file specs and hence must not be quoted. To quote <items> always cannot harm. Or?
Yeah, those should not be quoted of course. And it probably doesn't harm that way, I just thought maybe <items> should behave as all the others (including the app's path/name) instead of being an exception.
Damn, I don't get it. :mrgreen: Now all <items> are quoted. Where's inconsistency here? And what did you originally ask me to do?

PS: statusbar -- yeah, good idea! I drop the last one.

Re: UDC error.

Posted: 11 Nov 2007 17:57
by jacky
admin wrote:Damn, I don't get it. :mrgreen: Now all <items> are quoted. Where's inconsistency here? And what did you originally ask me to do?
Look, I got shiny glasses! 8)
;)

Ok, so originally it was about <items> being quoted or not depending on the type of call (single/multiple) - now it's all the same.

What I'm just saying now is that it may look a little weird that :
- Application's path/name must be quoted (by user)
- <curbase> and all the others must be quoted (by user)
- <items> should NOT be quoted! (by user)

That's the inconsistency I'm talking about, as one could think quotes should be used everywhere when defining the "comand line", while in fact using "<items>" (with quotes) will not work, obviously.

Was that any more clear ?

Re: UDC error.

Posted: 11 Nov 2007 18:06
by admin
jacky wrote:
admin wrote:Damn, I don't get it. :mrgreen: Now all <items> are quoted. Where's inconsistency here? And what did you originally ask me to do?
Look, I got shiny glasses! 8)
;)

Ok, so originally it was about <items> being quoted or not depending on the type of call (single/multiple) - now it's all the same.

What I'm just saying now is that it may look a little weird that :
- Application's path/name must be quoted (by user)
- <curbase> and all the others must be quoted (by user)
- <items> should NOT be quoted! (by user)

That's the inconsistency I'm talking about, as one could think quotes should be used everywhere when defining the "comand line", while in fact using "<items>" (with quotes) will not work, obviously.

Was that any more clear ?
Yes :) You know this but i explain anyway: The ultimate reason behind this surface inconsistency is obviously: in a single instance call <items> will be set to a list of individually quoted items: "item1" "item2" "item3", so the quotes are inside of the variable in this one special case.

OK, i could be so nice and allow "<items>" and just drop those superfluous quotes silently...

Re: UDC error.

Posted: 11 Nov 2007 20:31
by jacky
admin wrote:OK, i could be so nice and allow "<items>" and just drop those superfluous quotes silently...
Yeah, I think that would be nice...