delete chunk.

Jonathan Lynch jonathandlynch at gmail.com
Wed Nov 3 13:56:02 EDT 2010


So think about this.

If we only regard the delimiter as a delimiter between items (rather than a
terminator), then how would we have a container with zero items?

I mean, if 1 delimiter indicates the presence of two items, then zero
delimiters would indicate one item.

would an empty container have zero items, or one item that is empty?

On Wed, Nov 3, 2010 at 1:33 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 11/3/10 10:41 AM, Mike Bonner wrote:
>
> Having said all this, there is most likely a reason it is the way it is
>> that
>> I don't have enough knowledge to understand.  As with removing trailing
>> carriage returns, if it's a null item it isn't difficult to work around
>> and
>> i'm not sure I can come up with a valid reason for actually having an
>> empty
>> item, but that doesn't mean there isn't a use for it.  /shrug
>>
>
> It may be the difference between seeing the delimiter as a terminating
> character or as a dividing character. If you consider the comma or return as
> a terminator, then it is "attached" to the preceding string. If that entry
> is empty, there is nothing to terminate and the engine removes it.
>
> --
>  Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
Do all things with love



More information about the Use-livecode mailing list