Arrays and empty? Is this a bug?

Mark Smith mark at maseurope.net
Mon Feb 4 16:07:04 CST 2008


Chipp, bug 3610 is the one to vote for: "Arrays as first class values".

There was a discussion about this on the list a few months ago:  
http://thread.gmane.org/gmane.comp.ide.revolution.user/95982

Best,

Mark

On 4 Feb 2008, at 20:43, Chipp Walters wrote:

> Interestingly one can put empty into an array to reset it:
>
> put empty into tMyArray
>
> but cannot check to see if an array is empty as it will return true no
> matter if there is data in the array or not.
>
> put tMyArray is empty
>
> always returns true even if:
>
> put "red" into tMyArray[1]
> put tMyArray is empty
>
> Is this a bug?
> _______________________________________________
> 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




More information about the use-livecode mailing list