arrary item parsing within a function message pass

Zac Elston zelston at aol.com
Mon May 17 17:08:56 EDT 2004


so I have a list of things I want to scan for

put "MYHostname,IPofHOST,Pinged" into mycheckitems

I also have functions named MYHostname,IPofHOST & Pinged

Now I want to do is

repeat with MYX = 1 to the number of items in mycheckitems
put item MYX of mycheckitems into myfunction
writeResult var1,MYX,myfunction(var1)
end repeat

value(Myfunction) returns the correct item but the script dies on that item.


how do I get that to work?

thanks
-zac



More information about the Use-livecode mailing list