2017-06-23 04:06 AM
INPUT (channel, 0, 0, param1, param2, paramN)I'm trying to do the following:
parameters param1 = param1, param2 = param2, paramN = paramNAfter I modify the source .txt file and reload libraries, "something" happens, namely param1 is successfully updated and the value changed; however, it ends with param1.
"If the parameter is a value list, the value chosen will be either an existing value, the custom value, or the first value from the value list."Not sure if this applies to my situation. Do I need to try to modify them one-by one in some sort of a loop? What's the best approach?
2017-06-23 07:50 AM
2017-06-23 09:13 PM
_numSettings = 19 !this must correspond with the amount of variables received dim _recvdSettings[] _dataSource2 = open("text", settingsFile, "separator='\n', mode=ro, Library") for r=1 to _numSettings step 1 _readValues = input(_dataSource2, r, 1, _param) _recvdSettingsBest regards= _param next r parameters rbegin = _recvdSettings[1], rstop = _recvdSettings[2], naListing = _recvdSettings[3], (...) col3wd = _recvdSettings[18], rowh = _recvdSettings[19] rbegin = _recvdSettings[1] rstop = _recvdSettings[2] naListing = _recvdSettings[3] (...) col3wd = _recvdSettings[18] rowh = _recvdSettings[19] close _dataSource2