[sldev] New LSL Feature Idea... bool typecast

Ricky kf6kjg at gmail.com
Sun Apr 5 09:27:19 PDT 2009


Not sure of the use cases for this, but my full comment is on the JIRA
entry.

Ricky
aka Cron Stardust

On Sun, Apr 5, 2009 at 5:28 AM, Strife Onizuka <blindwanderer at gmail.com>wrote:

> LSL doesn't have a dedicated bool type but when you use any type with a
> conditional, it gets implicitly cast to a bool. Having this functionality is
> nice but it's limitations are annoying.
>
> After giving the problem some thought I came up with this solution:
> http://jira.secondlife.com/browse/SVC-4068
>
> It's a bool typecast, it might not be the best solution but it should work.
> I've included both LSO and Mono implementations that *should* work...
> asuming i haven't forgotten something important. My ability to actually
> apply my patch and build with it are non-existant at the present.
>
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting
> privileges
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20090405/334ffec6/attachment.htm 


More information about the SLDev mailing list