Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

case and perform

Former Member
0 Likes
572

hi

i heard that perform <index> of form1

form 2......

can be used in place of case.....endcase.

could u please tell me how to use this syntax...

regards

premalatha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
548

hi premalatha

we have to give some numeric value to index

then it executes the corresponding index routine....

example :

perform 2 of form1

form2

from3.

this will execute the form2......

but this doesn't work for characters.........

if we give index value greater than number of subroutines then it will give dump...as it doesn't have

any routine at that index....

perform 3 of form1

form2.

reward points if useful

regards

padma

hi premalatha

we have to give some numeric value to index

then it executes the corresponding index routine....

example :

perform 2 of form1

form2

from3.

this will execute the form2......

but this doesn't work for characters.........

if we give index value greater than number of subroutines then it will give dump...as it doesn't have

any routine at that index....

perform 3 of form1

form2.

reward points if useful

regards

padma

2 REPLIES 2
Read only

Former Member
0 Likes
549

hi premalatha

we have to give some numeric value to index

then it executes the corresponding index routine....

example :

perform 2 of form1

form2

from3.

this will execute the form2......

but this doesn't work for characters.........

if we give index value greater than number of subroutines then it will give dump...as it doesn't have

any routine at that index....

perform 3 of form1

form2.

reward points if useful

regards

padma

Read only

0 Likes
548

hi

thanks for your immediate reply

regards

premalatha