GetInValue Index in Webserver component macros
Posted: Sat Aug 19, 2017 8:41 am
Hi All,
Could somebody explain me the functionality behind the "index" BYTE in the Web server component macro "GetInValue"?
I'm receiving data, but I tried a few options and I noticed that 0, 1 and 2, as the index parameter, would filter the data in function return (this was a trial and error exercise since I couldn't find any example):
http://127.0.0.1:88/?0=hallo so if the index is =0 then the hallo will appear in the function return.
following web browsers requests will be filtered:
http://127.0.0.1:88/?1=good day
http://127.0.0.1:88/?2=hi
but anything else like:
http://127.0.0.1:88/?AB=something else
http://127.0.0.1:88/?3=hallo from 3
will appear.
The similar is if the index is 1 or 2 but any other number would not have any influence, in this case, every data after "=" will appear.
This is puzzling me and really I'm not sure what I can do with an index?
Thanks,
Could somebody explain me the functionality behind the "index" BYTE in the Web server component macro "GetInValue"?
I'm receiving data, but I tried a few options and I noticed that 0, 1 and 2, as the index parameter, would filter the data in function return (this was a trial and error exercise since I couldn't find any example):
http://127.0.0.1:88/?0=hallo so if the index is =0 then the hallo will appear in the function return.
following web browsers requests will be filtered:
http://127.0.0.1:88/?1=good day
http://127.0.0.1:88/?2=hi
but anything else like:
http://127.0.0.1:88/?AB=something else
http://127.0.0.1:88/?3=hallo from 3
will appear.
The similar is if the index is 1 or 2 but any other number would not have any influence, in this case, every data after "=" will appear.
This is puzzling me and really I'm not sure what I can do with an index?
Thanks,