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

Exact difference between like and type !

Former Member
0 Likes
352

Hi

I have been blindly using 'type' and 'like' keywords for data declarations but never bothered to learn the exact difference between the two . It would be great , if someone can explain me the difference !!

for eg. , after writing statement data :lv(4) , statement "data lt type standard table of lv " ,gives error but statement "data lt like standard table of lv" passes syntax test . what is the reason for the same ?

Hoping for some reply soon !!

regards

Piyush

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
326

Hi Piyush,

You can go through the below links, since this discussed in good details in the link below, you might get your answer.

Regards,

Ashish Arora

1 REPLY 1
Read only

Former Member
0 Likes
327

Hi Piyush,

You can go through the below links, since this discussed in good details in the link below, you might get your answer.

Regards,

Ashish Arora