I'm trying to make a system where, when you click a "Draw Card" button, a counter shows you a number from 1-60. When you click the button again, I need it to show any number between 1 and 60 aside from numbers that had previously been shown.
I thought it would be nice and easy to make this, but none of the methods I've tried have worked yet, and I can't get the Edit object, Rich Edit object, or List object to archive each number.
Using MMF 1.5
Not sure why none of the things I've tried have worked. :\
All problems can be solved through the use of violence and/or duct tape.
i believe fish20 just posted this exact same question, just with less knowledge of what he was doing. you will need to store the numbers somewhere. i suggest a 1 dimensional array of size 60. txt file would work. or any of the ones you suggested should. then use the fast loop and string parser to loop through and see if any of the numbers are stored.
if that doesnt help id suggest looking for a tutorial on the fast loop and the string parser.
oh and btw, this should be in the "Code-it" forum..?
I already tried a method using an array and Fast Loops, but I didn't try String Parser. Never used that before. Does it convert numerical values to a form that Edit boxes can understand?
Thanks for the help. And I looked between Code-It and Programmers' Union, it seemed to me as though it most fit in Programmers' Union. x_X
EDIT: Oh, duh... The forum description says NON-Clickteam product. Sorry. >.<
Edited by the Author.
EDIT 2: Alright, maybe just knowing WHAT to use isn't going to help much... As I said, I've never used String Parser before. If it is possible to convert the value into a string, I'm not seeing how to do so.
Edited by the Author.
All problems can be solved through the use of violence and/or duct tape.
string parser basically can cut up words and sentences etc. into little bits.
my friend jason made a wicked game using it. he used it to cut up commands to make a programming language to program robots to fight each other to the death. not so great on graphics but its an awsome example of what string parser is for.
well it can also be used to get information from text files, reading data, etc. like it could be used for a sripting engine for character speech bubbles? i dunno. its very useful in anycase.