RE: Functions with optional arguments?

Priscilla:
This seems to be old text that should be removed  but I want to make
sure that it does not address some other intent.

All the best, Ashok

> -----Original Message-----
> From: public-qt-comments-request@w3.org [mailto:public-qt-comments-
> request@w3.org] On Behalf Of Priscilla Walmsley
> Sent: Tuesday, April 15, 2003 5:24 AM
> To: public-qt-comments@w3.org
> 
> 
> The F&O draft says:
> 
> "Functions with optional arguments are allowed. If optional arguments
> are omitted, omissions are assumed to begin from the right."
> 
> Is this old text, or is this really true?  Is an argument "optional"
if
> it allows the empty sequence? Is it assumed to be the empty sequence
if
> it is omitted?
> 
> It seems there would be some ambiguity as to how the following
function
> call would be interpreted:
> 
> substring ($myString, 1)
> 
> which returns a different result from:
> 
> substring ($myString, 1, () )
> 
> 
> Thanks,
> Priscilla
> 

Received on Tuesday, 15 April 2003 09:26:27 UTC