View Single Post
  #6  
Old 10-11-2006, 06:37 AM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
// for program execution
for (needle: haystack)
do { ... } while(condition);
switch (variable)
case value:
default:

// complex npc operations:
...
echo( string ) outputs 'string' to the player's log on clientside or in the NPC-Control on serverside

"Special Symbols" (??? Operators)
| bitwise or
xor bitwise xor
<< bitwise shift left
>> bitwise shift right
& bitwise and
{} array constructor
[] array reference (or new [size] array)
new Object constructor
?a:b tertiary operator (condition?true-case:false-case)
:: class scope operator

timeout should not be removed from built-in variables.

Uh yeah, I'll come up with more, no doubt.

#v(var) -> var
#f -> image
#e(start,len,str) -> str.substring(start,len)
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote