Skip to content

New Scripting Functions

switch with string (now is only for integer)
array

Will you introduce these features?
NeverwinterWightsshadguyTheBarbarian

Comments

  • squattingmonksquattingmonk Member Posts: 59
    Can you explain what you mean by "switch with string"?
  • AlibertoAliberto Member Posts: 80

    Can you explain what you mean by "switch with string"?

    switch (expression) {
    case item1:
    statement1;
    break;
    case item2:
    statement2;
    break;
    .
    .
    .
    case itemn:
    statementn;
    break;

    case default:
    statement;
    break;
    }


    where expression is a string

    tnx, Ali
Sign In or Register to comment.