I'm having some troubles with it, and not sure exactly how it works, since I just got a little code off of another site. Anyway, this is what I have, but whenever it trys to execute the function, it always fails:
All functions work fine, except when there is a linker. There is also far more too it, but I don't really want to add more details than nessessary. Anyway, if I just have one value in the linker, and instead use if(linker == '50'){nullFunction();} it will work fine, but for some reason this won't. Can anyone explain how the split function correctly works? Thanx!
Code:
function myfunction(id,linker){ if (linker){ arrlinker = split(linker,"|"); for(i=0; i<UBound(arrlinker); i++){ if(arrlinker(i) == '50'){ nullFunction(); } } }
Comment