Forum Discussion

kaiiii's avatar
kaiiii
Regular Contributor
4 years ago

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 wil...
  • hkim5's avatar
    4 years ago

    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...