Sep 5, 2007 #1 jfdabiri MIS Joined Feb 27, 2007 Messages 282 Location US i have this code: Code: dim hold_book_id(10) if hold_book_id(1) = hold_book_id(2) then response.write "items are equal" end if i'm getting type mismatch error on the if statement. any ideas?
i have this code: Code: dim hold_book_id(10) if hold_book_id(1) = hold_book_id(2) then response.write "items are equal" end if i'm getting type mismatch error on the if statement. any ideas?
Sep 5, 2007 #2 guitarzan Programmer Joined Apr 22, 2003 Messages 2,236 Location US any ideas? Not unless you post the code that assigns values to the array. Upvote 0 Downvote
Sep 5, 2007 #3 ChrisHirst IS-IT--Management Joined Nov 23, 2001 Messages 8,049 Location GB All variables in VbScript are variant and until they are given an explicit value are empty, therefore uninitialised Chris. Indifference will be the downfall of mankind, but who cares? Woo Hoo! the cobblers kids get new shoes. People Counting Systems So long, and thanks for all the fish. Upvote 0 Downvote
All variables in VbScript are variant and until they are given an explicit value are empty, therefore uninitialised Chris. Indifference will be the downfall of mankind, but who cares? Woo Hoo! the cobblers kids get new shoes. People Counting Systems So long, and thanks for all the fish.