Results 1 to 5 of 5
Thread: add integer value on each run
- 07-11-2011, 06:55 PM #1
Member
- Join Date
- May 2011
- Posts
- 39
- Rep Power
- 0
- 07-11-2011, 07:08 PM #2
Why don't you just write it to a file?
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 07-12-2011, 06:24 AM #3
As far as I know, you would need to store it to a file and then on every run read it from that file to get your X. Then you would have to see if that file actually exists, if it doesn't then set x to 0 instead. Then if it doesn't exist, you would have to create the file so you could put your end result in it.
- Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
- +Rep people for helpful posts.
- 07-12-2011, 07:02 AM #4
Do I hear a Properties file calling?
- 07-12-2011, 08:47 AM #5
Similar Threads
-
Big integer
By penguinSlack in forum New To JavaReplies: 1Last Post: 03-14-2011, 04:08 AM -
convert unsigned integer to signed integer in java?
By diskhub in forum New To JavaReplies: 6Last Post: 05-17-2010, 12:50 AM -
Hex to Integer Problem
By Tempspec in forum New To JavaReplies: 0Last Post: 04-01-2010, 11:14 AM -
How to convert Integer[] to int[]
By Nithya in forum New To JavaReplies: 26Last Post: 02-11-2010, 05:41 PM -
Integer vs int
By bugger in forum New To JavaReplies: 1Last Post: 11-14-2007, 09:13 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks