The Daily Click ::. Forums ::. Klik Coding Help ::. editbox corrolating to onscreen counters. I need help!
 

Post Reply  Post Oekaki 
 

Posted By Message

curtaineater



Registered
  12/06/2003
Points
  23
26th August, 2003 at 17:16:06 -

Ok, this is going to be hard to word, and probally end up lengthy, but i really need help here. If anyone knows how the japanese counting system works, you will know what im talking about, but chances are most people wont, so ill explain as best i can.

If you read my other thread youll know im making a study tool for learning japanese. I have a flashcard game system for the characters in the language, and now i am working on something for the number system. I have it set up so i press the push-buttons at the top of the screen to choose how many decimal places i want to have, then hit ENTER on the keyboard and it shows a random numbner, according to how many decimals i have chosen. Each decimal (up to 99,999,999) is a separate counter that can to from 0-9 (always a single digit) that way it was easier to make the random work out because when you want to test yourself in the Millions, then hit the random button, youll get a random number from 1-1million, and then you would RARELY actually get what you were testing for.

::This is where my question lies::
As of right now i have the editbox on the screen just to type in what i see, but theres no way for it to see if i am right or wrong. This is where my question comes in.
How can i get it so if certain digits (counters) are a certain number, i can type in the editbox what they are, and then hit the button and it will say if im right or wrong. (This is also why they are separate counters, so I wont have to input 99,999,999 million different answers, that would be stupid).

Also with entering the correct answer to the onscreen numbers (counters). In Japanese they also add in words for certain high numbers. Its like in english when we say One-'Hundred Thousand' or 34'million'. We dont just spit out a ton of numbers, we add those words in to save time. In Japanese its a little different, but basically the same thing. I can go into detail about it if necessary, or if you would just like to know. I can also send you what i have made so far over AIM if you need/want to see it. Its a small file.

My AIM is: saveTHiSemokid

Thanks for reading this long long long long post. And thanks even more for the help.

 
n/a

Metal Maiden



Registered
  10/09/2002
Points
  900
26th August, 2003 at 19:26:14 -

send it to sport_bike_fan99@yahoo.com

 
Death in the air
Strapped in the electric chair
This can't be happening to me
Who made you God to say
"I'll take your life from you!!"

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
28th August, 2003 at 02:43:51 -

1. Use "Compare Two General Values" under "Special Conditions" to check if the edit box is equal to the counter. Remember to use the str$() around the counter (or alternatively val() around the edit object) because you cant directly compare strings to numbers.

2. Difficult to do with MMF, I would suggest using a language like Jamagic to get that done. It is possible, though.

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Kramy



Registered
  08/06/2002
Points
  1888
28th August, 2003 at 13:51:25 -

I'm good with things like that. I've made many work-arounds, like creating a 1000GBV object from a list file.

Example: str$( val( List Line Text$( "Player Values", 4 ) ) * val( List Line Text$( "Player Values", 7 ) ) + 10 ) is a simple calculation for a list file calculating the health for my RPG.

If Limp can't figure it out, send it to kramykramykramykramykramy@hotmail.com

 
Kramy
   

Post Reply



 



Advertisement

Worth A Click