How do I execute a group of statements

How do I execute a group of statements?

I have the following formula;

@if( 1 = 1 ;

@do ( group of statements );

 2 = 2 

  @do ( group of statements ); 

…so on and so on

“”)

Will this work? or

Is there a select case function in a formula or something like that. I know that there is on for LS, but I have no clue about LS.

Subject: How do I execute a group of statements

@If(i=1; @Do(whatever);

@if(i=2;

 @Do(yawn);

  @if(i=3;

     @Do(barf);

     @if(i=4;

         @Do(killSelf);

         @Prompt([OK];"";"I went through all that for nothing?!?!?")

))))

You get the idea.

Subject: you can put it all in one @if() now …

Subject: It should work … it’s all very clearly explained in the help!