cad29 Posted December 11, 2006 Posted December 11, 2006 Hi i need help in my program theres a data that i want to copy that is located in a table 18,array [0][2] but this particular array is variable sometimes it keep on changing is there anyway to determine the exact location?because when the array change to [0][1] when the time i run it then i got this error "Array variable has incorrect number of subscripts or subscript dimension range exceeded.: " Please help thanks
Moderators big_daddy Posted December 11, 2006 Moderators Posted December 11, 2006 (edited) Your last post was a jumbled up mess, with it alone there is no way anybody can help you. If you provide the code that you're having troubles with it would help shed some light for us. Edit: Grammatical Error Edited December 11, 2006 by big_daddy
cad29 Posted December 11, 2006 Author Posted December 11, 2006 Thanks big daddy for your reply.Ok let make it simple.Is there anyway to prevent of getting an invalid array?array [0][2] (this particular array sometimes exist sometimes doesn't.I want to create a code and check if this one exist or not. Thanks
Moderators big_daddy Posted December 11, 2006 Moderators Posted December 11, 2006 The following will check if $aArray is actually an array. If IsArray($aArray) Then ; Do something EndIf p.s. I'm guess English is not your primary language?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now