Hello,
I have a file that holds the keys (parameters) for my script. I read the file in and load the values into an array.
During the run of my code, I compare array value to value returned from a datediff call and the code returns all the entries weather or not they match. I did a convert.toint32 on the array value and it still does not filter.
code example 1
…
keyage = convert.toint32(keyarray(2))
…
if idiff < keyage then
...
doesnt work.
If I just type the value it works fine.
code example 2
...
if idiff < 30 then
...
does work.
What did I miss?