Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to view all elements in an array while debugging a code in VB 6.0
Can any one sugeest me ?
Posted
Comments
hansoctantan 12-Feb-14 6:07am    
try using Immediate Window
mskphani 12-Feb-14 6:29am    
HiIs it possible to see all the values at a time using immediate window ?
hansoctantan 12-Feb-14 6:53am    
you can write a code that write all values in immediate window

Dim arr(2) As String
arr(0) = "String1"
arr(1) = "String2"
arr(2) = "String3"
Dim i As Integer
For i = 0 To UBound(arr)
Debug.Print arr(i)
Next i
mskphani 14-Feb-14 8:11am    
Thank you very much

1 solution

Besides code you can also use the ADD WATCH functionality
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900