Error on late binding

I was trying to replicate the data manipulation exercise demonstrated in Foundation training. And I received below error. Please help me understand the error & identify a fix.

1 Like

Can i know what is the datatype of TestDataString ? @swathyn

cheers :smiley:

Happy learning :smiley:

1 Like

It is String as well.

1 Like

you need to convert it to array of string if you want to iterate on that variable @swathyn

cheers :smiley:

Happy learning :smiley:

1 Like

I tried changing the variable type for ‘TestDataString’ to ‘array of string’. But I still receive the same error. Is there any errors in the argument entered in ‘Write Line’ box?

1 Like

@swathyn,
What is the type argument of for each?

You can also change the type of argument it depends on the datatype of your variable. see image below for your reference. @swathyn

cheers :smiley:

Happy learning :smiley:

2 Likes