Skip to main content
GameDev.net gamedev.net
🔒 Locked

[java] Java !Boolean thing[solved]

Started by Cakey Feb 26, 2009 at 2:04 PM 1 replies 1.4k views
Original Post
Cakey
Cakey
This is a silly question, I just forget what the thing is. So say I have a boolean value "flag" Isn't there a shorthand way to do flag = !flag; ? like flag!; or something. This isn't pressing or anything I just always forget. [Edited by - Cakey on February 26, 2009 2:38:05 PM]
Cakey
Cakey
Sorry, thanks!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.