Re: Drag and Drop - a question
- Posted by Vinoba May 04, 2011
- 1194 views
"However, if the exFlags parameter is a sequence, as in W1, any values in the sequence are intended to replace the default. "
A null value or an empty sequence is not the same as "0"
Below I have used APL to explain the difference. I have used - - - for comments
seqA ← ⍳0 - - - seqA is a sequence with nothing in it.
⍴seqA - - -Size of seqA is 0 ( APL way of doing length(seqA) )
0
seqA - - - confirming value in seqA is null (APL way of doing ?seqA)
- - - (nothing shows up on the screen)
atomB ← 0 - - - atomB is assigned an Atom with value 0
⍴atomB - - - size of atomB ( APL way of doing length(atomB) )
- - - is nothing (nothing shows up on the screen)
atomB - - - confirming value in atomB is 0 (APL way of doing ?atomB)
- - - (nothing shows up on the screen)
atomB ← 0 - - - atomB is assigned an Atom with value 0
⍴atomB - - - size of atomB ( APL way of doing length(atomB) )
- - - is nothing (nothing shows up on the screen)
atomB - - - confirming value in atomB is 0 (APL way of doing ?atomB)
0