Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,7 +1,7 @@
|
|||
a = 3
|
||||
if( a == 1 ){
|
||||
io.writeln( 'a == 1' )
|
||||
}elif( a== 3 ){
|
||||
}else if( a== 3 ){
|
||||
io.writeln( 'a == 3' )
|
||||
}else{
|
||||
io.writeln( 'a is neither 1 nor 3' )
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@ a = 3
|
|||
switch( a ){
|
||||
case 0: io.writeln( 'case 0' )
|
||||
case 1, 2: io.writeln( 'case 1,2' )
|
||||
case 3 ... 5: io.writeln( 'case 3...5' )
|
||||
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