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
156
S
64
G
41
Posts: 2,589
Reputation: 34,613

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
93
S
33
G
33
Posts: 3,006
Reputation: 27,719

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
130
S
29
G
80
Posts: 5,275
Reputation: 55,982

Post » Mon Sep 05, 2011 7:12 pm

lol whoops
Moderator
B
93
S
33
G
33
Posts: 3,006
Reputation: 27,719

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
130
S
29
G
80
Posts: 5,275
Reputation: 55,982

Previous

Return to Open Topic

Who is online

Users browsing this forum: No registered users and 0 guests