filter without empty

Mark Smith mark at maseurope.net
Thu Feb 14 08:00:20 EST 2008


I think using engine opertaions on data that contains nulls is a bit  
of a no-no. I believe (though happy to be corrected) that Rev uses C- 
style null terminated strings internally, so nulls will often produce  
'unexpected results'.

Best,

Mark

On 14 Feb 2008, at 12:45, Klaus Major wrote:

> Hi there,
>
> just spend some hours debugging some otherwise clean code
> for a couple of hours just to discover that:
>
> ...
> put "one" & numtochar(0) & "two" into newstring
> filter newstring without empty
> put newstring
> ...
>
> gives: "one"!
>
> I just wanted to remove empty lines, so is this correct behaviour?
> Or should I bugzilla this one?
>
> No problems with numtochar(1).
>
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de
>
>
> _______________________________________________
> 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