Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
a = 3
|
||||
if( a == 1 ){
|
||||
io.writeln( 'a == 1' )
|
||||
}else if( a== 3 ){
|
||||
io.writeln( 'a == 3' )
|
||||
}else{
|
||||
io.writeln( 'a is neither 1 nor 3' )
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
a = 3
|
||||
switch( a ){
|
||||
case 0: io.writeln( 'case 0' )
|
||||
case 1, 2: io.writeln( 'case 1,2' )
|
||||
case 3, 4, 5: io.writeln( 'case 3,4,5' )
|
||||
default: io.writeln( 'default' )
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue