kaiiii
4 years agoRegular Contributor
print array values without any loop in vb script
there few elements in an array. like
it's just a example
dim a(3)
a(o)= "a"
a(o)= "a"
a(o)= "c"
log.message("....here i want to use any method ot property so I can call and all these a,b,c will display in logs")
all i need to get output without using any loop in vb script
there r might be solution to use tostring in another scripting languages but how can i implement in vb.
logically speaking i dont think you can ever output all the values of an array without a loop because how would you use a single output to display multiple values without a loop?
the only not so elegant way would be to just hardcode the outputs without a loop/itererator Log.Message(a(0) a(1) a(2)) or something along those lines...