Difference between revisions of "LSL Switch Statement"

From Second Life Wiki
Jump to navigation Jump to search
Line 13: Line 13:
     default:
     default:
         Do something;
         Do something;
Note: Isn't LSL all server-side? I don't think this can be implemented in the client. - Ihavegot Wood


[[Category:Feature Requests]]
[[Category:Feature Requests]]

Revision as of 08:41, 6 March 2007

This article is a feature request


The ability to use something like the following:

Switch (variable) 
    case condition 1:
        Do something;
        break;
    case condition 2:
        Do something;
    default:
        Do something;


Note: Isn't LSL all server-side? I don't think this can be implemented in the client. - Ihavegot Wood