Hi all, i have 3 simple point i cant program to my own.
1. I have a Question to the User !
?"How old are you ? example 25 = "
2. This nummber i want to save in a variable.
Gets $age
3. Now i want to save this variable in a text or ini file. Here is my main problem, i tried writeline, writeprofilestring and others but nothing happens. It´s possible that my "gets" is wrong ? I´m afraid its a very simple syntax.
Thank you for helping me with my first stepps in kix programming.
Please take some time and review the Manual that ships with KiXtart as well as the FAQ section on this board. It should prove to be very helpful in getting you started with KiXtart.
Here is an example that you can display in a DOS console window. Then writing to file is easy.
Please let us know if you need further assitance.
The $age var now holds what ever the user types in until they hit the enter key. However, this code does not check for invalid input but KiX does support validation checking as well.
WOOW this forum works fast *happy* Thank u for helping me.
I think i read every fac abaout variable and write in files, but i´m afriad im only a stupid beginner. I dont want i complet programm i think i need only help with the syntax of my programm.
Gremlin... relax guy. No one wanting to beat you up for being new and not understanding. Some guys get a little "short on manners" when someone shows or continues to show they don't take the time to read the manual or FAQs.
We all had to start out new at some time.
Anyways... please take a look at this post for more information on using an INI file. Also, please take the time and read at least some of the FAQs here on Korg.