We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello and thanks for watching this discussion
I would like to do a program which somehow "learns" what I do. With "learn" I mean the process which starts with a situation and then i do something and then this situation changes. This is the part where I would like that my program saves the situation which includes some different "int" and my event (a keyPress). In the second part my Programm (it haven't to be the same as the who learned it) the program detects the different "int" and then execute the accordingly event.
At this moment I have all, except the process with the databank:
Which databank would you recommend? How could I do this crossover from the program to the databank and back?
Thanks a lot for your help :);)
Answers
A whole databank for an
int
? Why not just saveStrings() & loadStrings() for a config text file?http://processing.org/reference/saveStrings_.html
http://processing.org/reference/loadStrings_.html
Thanks for your fast answer.
It's not only 1 int, there are 16 int's + event.
And then there are a few hundret variations in which each variation contains this 17 parts.
So you got yourself a Table of 16
int
values and 1 "event".Since you said that the "event" is a single key, it can also be considered an
int
as well!In total you got 17
int
values. Put those separated by commas in a line and you got a CSV format!Thanks man, you're great!