Justin Richards
2018-01-20 21:41:50 UTC
To help speed up the development cycle I have separated HTML out of the
source code so I can quickly modify,save and refresh in chrome to test.
Much faster than recompiling, uploading etc.
To again use within C the code needs to be wrapped in quotes and existing
quotes need to be escaped.
The process of wrapping in quotes and stripping off the quotes for me is
cumbersome.
This line for example
textfield.outerHTML = "<input type='range' value='" +
testdatainput[arrindex] + "' id='idrange" + arrfieldsinput[arrindex] + "'
oninput='updatehtmltext(\""+arrfieldsinput[arrindex]+"\");' min='" +
arrfieldsinputmin[arrindex]+ "' max='" + arrfieldsinputmax[arrindex]+ "'
step='0.1' style='width: 250px;height: 25px;'>";
Takes me a long time to modify for use within C.
I guess something similar to the mpfs.exe utility is what is needed.
How do people handle this. Are there wrapper scripts for this. Is there a
better way.
Justin
source code so I can quickly modify,save and refresh in chrome to test.
Much faster than recompiling, uploading etc.
To again use within C the code needs to be wrapped in quotes and existing
quotes need to be escaped.
The process of wrapping in quotes and stripping off the quotes for me is
cumbersome.
This line for example
textfield.outerHTML = "<input type='range' value='" +
testdatainput[arrindex] + "' id='idrange" + arrfieldsinput[arrindex] + "'
oninput='updatehtmltext(\""+arrfieldsinput[arrindex]+"\");' min='" +
arrfieldsinputmin[arrindex]+ "' max='" + arrfieldsinputmax[arrindex]+ "'
step='0.1' style='width: 250px;height: 25px;'>";
Takes me a long time to modify for use within C.
I guess something similar to the mpfs.exe utility is what is needed.
How do people handle this. Are there wrapper scripts for this. Is there a
better way.
Justin
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist