sorry if I make stupid questions but...
what is the meaning of the ~ operand?
I used it in kixgolf as -1:
Code:
$string = right($string,~)
but surely I do hope this is not it's only usable place.
now.
tried simple things.
like:
Code:
7 ~ 7 ?
crash...
Code:
~7 ?
crash.
I got it to not crash with:
Code:
7 + ~7 ?
but the result of -1 is not making me happy.
I can come up with this simply by:
Code:
7 + -1-7 ?
or similar result:
Code:
+~7 ?
remember, the plus sign is needed. otherwise it will crash.
now the result is -8.
so, conclusion.
~ is nasty crashing -1 which negates every number coming after it.
but, if you don't have anything before it, it will crash kixtart.
what's the use for anything like that?
again, sorry if I'm doing dumb questions but I must wonder...
_________________________
!download
KiXnet