Click to visit: JoinUO free shard list
UOSL Expressions (Formerly UO-C)
8 posts
• Page 1 of 1
Last edited by Derrick on Sun May 01, 2011 2:23 am, edited 1 time in total.
Reason: Updated indexer precedence |
|
Last edited by Derrick on Wed Apr 27, 2011 1:37 am, edited 4 times in total.
Reason: added brief information on core command findings and variable scope |
|
Bah, whats the point of the increment and decrement operators if they don't return a value!
It's interesting to see how fragile (or maybe immature) this language was. I wonder how long they went on using it? It would be interesting to know if they're still using some version of this today. |
|
|
|
|
|
The for syntax:
It's almost like we know it from the C language, for(a; b; c;) with that difference that b must always be present. In the C language this "b" can safely be omitted. In UOSL its presence is required. a and c can be omitted though. C-language: for(;;) becomes UOSL-language: for(;1;) <Derrick> RunUO AI is kind of a functional prototype, which i have hacked into something resembling OSI behavior, but only by complitcating everything
|
|
|
|
Interesting note about the keyword "this". It can be reused as a member name, and it may be more helpful to think about it as an implied member object, rather than a keyword.
|
|
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests