Mirk2006-03-31 16:44:36
ok, first things first, I need a little help with nexus, please don't advertise other clients and whatnot, I'm not interested and don't care, SO DON'T DO IT
ok, now to the point. I'm trying to get something to work, but it doesn't want to stop. I make a little program to test why it's not working, which is called test
#if test > 0 {#echo $test
#set test = $test - 1
test
#wait 1000}
I start with the variable test = 10
and this is what I get
10
9
8
7
6
5
4
3
2
1
0
-1
-2
-3
it goes on farther, I'd just rather not post it...
but either way, negative numbers are not greater than zero, nor is zero
does anyone know of a way to fix it?
and is there someone we can contact to complain or point out problems like that?
ok, now to the point. I'm trying to get something to work, but it doesn't want to stop. I make a little program to test why it's not working, which is called test
CODE
#if test > 0 {#echo $test
#set test = $test - 1
test
#wait 1000}
I start with the variable test = 10
and this is what I get
10
9
8
7
6
5
4
3
2
1
0
-1
-2
-3
it goes on farther, I'd just rather not post it...
but either way, negative numbers are not greater than zero, nor is zero
does anyone know of a way to fix it?
and is there someone we can contact to complain or point out problems like that?
Unknown2006-03-31 17:35:51
Mirk2006-03-31 17:44:46
edit: IT WORKS, THANK YOU KASHIM
Laysus2006-03-31 19:34:55
the problem is, originally you were asking if the word "test" rather than the variable "$test" was greater than 0
Mirk2006-03-31 20:02:27
QUOTE(Laysus @ Mar 31 2006, 01:34 PM) 275151
the problem is, originally you were asking if the word "test" rather than the variable "$test" was greater than 0
well, I think they changed it recently, it used to not work if you put the $ in front of the variable for #if statements...
Shiri2006-04-01 06:46:56
No, it's always only accepted it with the $ sign.
Mirk2006-04-01 16:15:57
then maybe I'm just confused...
edit: or thinking of the #set thingy
edit: or thinking of the #set thingy
Shiri2006-04-02 04:57:04
Yeah, you can't use #set with the $ sign, I kept trying that too.