Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Check if Dynamic Array Redimmed


Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2003, 10:12 PM
jumentous's Avatar
jumentous jumentous is offline
Contributor
 
Join Date: Sep 2003
Location: Australia
Posts: 612
Default Check if Dynamic Array Redimmed


A while ago one of the experts here posted a method of checking to see if a dynamic array had been redimmed yet, it was only a line (to use in an if statement) and so had no error checking or other variables to check it with, i have searched the forums but cannot find the post, if someone could tell me it i would be very grateful
__________________
"In The Land of The Blind the One-Eyed Man is King."

Jumentous
Reply With Quote
  #2  
Old 11-18-2003, 10:20 PM
alp0001's Avatar
alp0001 alp0001 is offline
Xtreme Tester

Retired Moderator
* Expert *
 
Join Date: Jan 2002
Location: Round Lake Heights, IL
Posts: 2,815
Default

Not sure, but maybe:
here or
here.

Used this for search: check AND dynamic AND array
__________________
Avatar by the very talented member: lebb
Reply With Quote
  #3  
Old 11-18-2003, 10:24 PM
jumentous's Avatar
jumentous jumentous is offline
Contributor
 
Join Date: Sep 2003
Location: Australia
Posts: 612
Default

Code:
' for a dynamic array: If (Not MyArray) = -1 Then ' it's empty

woohoo this is the method, it is great thanks OnError for posting it and alp0001 for finding it, it is the exact thread i was thinking of.

I have to remember to use ANDs in search engines i always forget
__________________
"In The Land of The Blind the One-Eyed Man is King."

Jumentous
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Standards and Practices loquin Tutors' Corner 10 07-28-2006 12:16 PM
an array of dynamic arrays!? barakuda Web Programming 4 10-28-2003 05:44 PM
2d dynamic array issues Axis General 2 09-22-2003 05:50 PM
dynamic Str array -> dynamic int array bmw5002 General 6 07-09-2003 03:30 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->