param from html
in
Programming Questions
•
2 years ago
Hi all, I try to use "param()" function, but I am missing something. It doesnť work.
I have this simple code:
void setup() {
size (200, 100);
String test = param("test_string");
if (test == null) test = "test_null";
text(test, 80, 15, 600, 20);
}
void draw() {
}
and the param("test_string"); is param from the html generated by processing. I am unable to get the value="outer" or "inner"
I am doing a mistake somewhere...How to easily add the param to the index.html already generated?
Thank anyone for help
Peter
1