Jump to content

Variable Declaration.


Nuclear Slingshot
 Share

You are about to reply to a thread that has been inactive for 4352 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

When declaring a variable in LSL, can you not use an expression in the declaration?  I though you could, but I've been away from SL for awhile and perhaps I'm misremembering. 

The specific statement in question is:

float angle=PI/3.0;

 which results in a sytax error.

It's not a big deal if you can't, I was just curious.

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4352 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...