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

Method

Former Member
0 Likes
487

Hello Forum,

Could you please let me know how to interprete this code?

method GET_VARIABLENAME.

vname = me->vname.

endmethod.

what is 'me' about?

Thanks in advance.

Regards

S.Patel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
467

Hi,

In the above 'me' means the variable name of ur class type

3 REPLIES 3
Read only

Former Member
0 Likes
468

Hi,

In the above 'me' means the variable name of ur class type

Read only

Former Member
0 Likes
467

ME keyword refers to current class object..i think vname is a variable in your current class...

me->vname refers current class object.

Regards,

Dara.

Read only

prabhu_s2
Active Contributor
0 Likes
467

to address self reference variable local to a method. using of 'ME' is not mandatory but improves the readability