Skip to Content
0
Former Member
Jan 09, 2008 at 02:42 PM

for each of these ...

51 Views

Dear Gurus of SDN,

I have a doubt.

I need your kind advise.

Like to know what is the logic of the following:

1. what is the difference :

foreach char1, char2

vs

foreach char1 (char 2 is available but not used in the sentence.)

a. are the number of records processed different?

b. how do you determine what chars or how many chars to use?

2. foreach char1, char2

aaa = {kf, char1, char2, char3}

a. what is the difference if char3 is used in the foreach vs when it is not, as above ?

ie. if the sentence becomes

foreach char1, char2, char3

aaa = {kf, char1, char2, char3}

b. is there any effect or relation between the number of chars used in the foreach and the chars used in the {....}?

best regards

Cran

Edited by: Cranberry CranCran on Jan 9, 2008 3:42 PM