[Sidefx-houdini-list] typecasting vex question

Olex P hoknamahn at gmail.com
Thu Aug 20 07:58:48 EDT 2009


But better to avoid strings in VEX otherwise performance of the code can be
40 (literally!) times slower than Python code.

On Thu, Aug 20, 2009 at 11:45 AM, Nicholas Pliatsikas <nick_p102 at hotmail.com
> wrote:

>
> Thanks mark and peter :¬) sprintf() works a treat!
>
> > Date: Wed, 19 Aug 2009 09:17:00 -0700
> > From: mstory at xion.org
> > To: sidefx-houdini-list at sidefx.com
> > Subject: Re: [Sidefx-houdini-list] typecasting vex question
> >
> > try sprintf()
> >
> > http://www.sidefx.com/docs/houdini9.5/vex/functions/sprintf
> >
> >
> > > Just a quick vex question.
> > >
> > > Im wanting to take an int value and cast it to a string, is there
> anyway of doing this in vex?
> > >
> > > test=(string)myInt;
> > > creates errors when i use it, Cant seem to find anything on this online
> :¬/
> > > Cheers
> > > Nick
> > >
> > >
> > >
> > > _________________________________________________________________
> > >
> > > Upgrade to Internet Explorer 8 Optimised for MSN.
> > >
> > > http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U
> > > _______________________________________________
> > > Sidefx-houdini-list mailing list
> > > Sidefx-houdini-list at sidefx.com
> > > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>
> _________________________________________________________________
>
> Upgrade to Internet Explorer 8 Optimised for MSN.
>
> http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list