programming (general)

Chat about anything not covered in these forums, but keep it civil!

Post » Mon Sep 05, 2011 6:35 am

conditional_expression == "pure awesomeness" ? "pure awesomness":"pure awesomness" harrio2011-09-05 06:37:49
B
81
S
32
G
23
Posts: 1,053
Reputation: 35,965

Post » Mon Sep 05, 2011 11:28 am

[QUOTE=tulamide] Here is a CC cap:
http://www.mediafire.com/file/ejj0e7zwd4e57hj/counting.cap[/QUOTE]

Ahh, Thanks tulamind, i can see where i made a mistake now.
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Mon Sep 05, 2011 5:59 pm

There's also setting the variable to 1-itself. If the variable was 0, it gets set to 1. If it was 1, it gets set to 0.
Moderator
B
95
S
34
G
33
Posts: 3,007
Reputation: 27,876

Post » Mon Sep 05, 2011 6:19 pm

mmmm Arima. I think you must have missed the very first post from rogerty on page one. It was this very method that got him to start this thread :)zenox982011-09-05 18:19:40
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,487
Reputation: 59,760

Post » Mon Sep 05, 2011 7:12 pm

lol whoops
Moderator
B
95
S
34
G
33
Posts: 3,007
Reputation: 27,876

Post » Mon Sep 05, 2011 7:46 pm

:)

It IS a good example, but the one from Ash is better :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,487
Reputation: 59,760

Previous

Return to Open Topic

Who is online

Users browsing this forum: No registered users and 3 guests