Difference between revisions of "LSL Switch Statement"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
''This article is a feature request''
The ability to use something like the following:
The ability to use something like the following:


Line 9: Line 13:
     default:
     default:
         Do something;
         Do something;
[[Category:Feature Requests]]

Revision as of 06:50, 13 February 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;