Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,27 @@
|
|||
// numbers and objects
|
||||
if(%num == 1)
|
||||
{
|
||||
foo();
|
||||
}
|
||||
else if(%obj == MyObject.getID())
|
||||
{
|
||||
bar();
|
||||
}
|
||||
else
|
||||
{
|
||||
deusEx();
|
||||
}
|
||||
|
||||
// strings
|
||||
if(%str $= "Hello World")
|
||||
{
|
||||
foo();
|
||||
}
|
||||
else if(%str $= "Bye World")
|
||||
{
|
||||
bar();
|
||||
}
|
||||
else
|
||||
{
|
||||
deusEx();
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
// numbers and objects
|
||||
switch(%num)
|
||||
{
|
||||
case 1:
|
||||
one();
|
||||
case 2:
|
||||
twoThreeOrFour();
|
||||
case 3:
|
||||
twoThreeOrFour();
|
||||
case 4:
|
||||
twoThreeOrFour();
|
||||
case 5:
|
||||
five();
|
||||
case MyObject.getID():
|
||||
anObject();
|
||||
default:
|
||||
everythingElse();
|
||||
}
|
||||
|
||||
// strings
|
||||
switch$(%str)
|
||||
{
|
||||
case "Hello":
|
||||
arrival();
|
||||
case "Goodbye":
|
||||
departure();
|
||||
default:
|
||||
somethingElse();
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
%formatted = %str @ ((getSubStr(%str,strLen(%str) - 1,1) $= "s") ? "'" : "'s");
|
||||
Loading…
Add table
Add a link
Reference in a new issue