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
61
S
20
G
15
Posts: 1,042
Reputation: 26,984

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
141
S
58
G
37
Posts: 2,549
Reputation: 31,736

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
90
S
32
G
33
Posts: 3,005
Reputation: 27,492

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
123
S
29
G
70
Posts: 4,911
Reputation: 49,523

Post » Mon Sep 05, 2011 7:12 pm

lol whoops
Moderator
B
90
S
32
G
33
Posts: 3,005
Reputation: 27,492

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
123
S
29
G
70
Posts: 4,911
Reputation: 49,523

Previous

Return to Open Topic

Who is online

Users browsing this forum: No registered users and 1 guest