this is my issue
define varibale MyArray as character extent 40 no-undo.
define variable Mychara as character no-undo.
Mychara = "hai this is checking how to copy values"
Now i want to copy this string to my “MyArray”. So that it should be as follows
MyArray[1]=h ,MyArray[2]=a ,MyArray[3]=i ,MyArray[4]=”” ,MyArray[5]=t ,MyArray[6]=h
and so on…
So how to do it?
Given your code-example, this should do the trick:
A caveat though: this means that you have to know the (maximum) size of your String beforehand, to define the array size appropriately.