Sep 5, 2007 #1 jfdabiri MIS Feb 27, 2007 282 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 Apr 22, 2003 2,236 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 Nov 23, 2001 8,049 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.