>>I have the following array:
>>dim array1(5)
>>array1(1)='h'
>>array1(2)='e'
>>array1(3)='l'
>>array1(4)='l'
>>array1(5)='o'
>>
>>I have the entire word 'hello' stored in the array.
>>Now can I do this :
>>
>>public string1
>>string1=array()
>>
>>or if I can not is there a way that I can pass the whole value
>>stored in the array as a value to a string variable??
>>
>>marcos oliva
>>thanks
>
>Hi,
>
>No, you cannot pass the whole array to 1 string var.
>
>A quick loop FOR 1 to ALEN( array, 1) and then concatenate each element is the best solution that I can offer.
thanks for your response.
and how do you go by concatenating all of the array into one
var??
for 1 to alen(array1,1)
varx=varx+array(number)
endfor
perhaps??
marcos oliva
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only