Skip to Content
0
Former Member
Apr 29, 2009 at 02:15 PM

Exact difference between like and type !

26 Views

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