Marck:I'll get the ball rolling on this one...
1) User-defined functions with declared parameters and return values...
if myfunc ( $x, $y ) > 100
...
:myfunc ( $x, $y )
return $x + $y
This is my biggie !
Of course - the parameters $x and $y of MyFunc() will have local scope, be stackable and support recursion.
2) Regular Expressions
C[AOU]T - Would match : CAT, COT, CUT only
C.T - Would match : CAT, CaT, C1T, C:T NOT CT
CA?T - Would match : CT, CAT only
C+T - Would match : CT, CCT, CCCCT
C(HE)?A[TP] - Would match : CHEAT, CAT, CHEAP, CAP only
This is my second biggie !
3) Auto Increment/Decrement operators ++, --
The statement $count = $count + 1 ...becomes... $count++
4) Assignment operators +=, -=, *=, /=, %=, >>=, <<=, &=, ^=, |=
The statement $total = $total + $subtotal ...becomes... $total += $subtotal
5) For loops...
For $counter = $start To $end [Step $step]
[statements]
[Exit For]
[statements]
Next
6) Formatted output strings for text and numerics...
?"Your balance = " format($balance*100,"$999,999.99")
We can only hope that Ruud listens. I agree though, KiX is dynamite. It's robust, intuitive and easy to learn !
Shawn.
[This message has been edited by Shawn (edited 01 May 2000).]