mIRC Home    About    Download    Register    News    Help

Print Thread
#230215 02/03/11 05:23 AM
Joined: Apr 2010
Posts: 964
F
Hoopy frood
OP Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 964
With fline's prop .text property shouldn't null be returned if N is zero. I mean there isn't a zeroth line to return text for.

Last edited by FroggieDaFrog; 02/03/11 05:24 AM.
Joined: Feb 2006
Posts: 523
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2006
Posts: 523
of the few i tried, i can't find a single inbuilt identifier that treats $ident( [ ... , ] 0) and $ident( [ ... , ] 0).prop any differently (when the prop doesn't change the nature of the collection), even when the prop is invalid! if the prop is such that it only becomes relevant when applied to an individual item in the collection you're dealing with, you could probably understand why (and, from a coder's perspective, how) this result comes about. it just seems much more sensible than returning $null.


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde

Link Copied to Clipboard