YENGbreak

From OpenSimulator

Revision as of 15:29, 19 September 2020 by Ubit (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

break can be used to jump out of do...while, while and for() loops ( or case clauses )

string error = "";
while(true)
{
  if(blabla)
  {
    error = "blabla";
    break;
  }
  if(bla)
  {
    error = "bla";
    break;
  }
  break;
}
Personal tools
General
About This Wiki