View previous topic :: View next topic
|
Author |
Message |
kvskris Currently Banned New User
Joined: 16 Sep 2006 Posts: 12
|
|
|
|
hello everybody,
i want to know the difference between redefine and rename clause
can anybody help me.
radhae |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
sihanature Warnings : 1 New User
Joined: 01 Sep 2005 Posts: 33
|
|
|
|
Hi
Make a SEARCH in this Forum.
There are more info available on this.
For your Understanding i'm giving the answer in short.
REDEFINES: It allows the same area of memory to be referenced by more than one data item with different format(PIC Clause) and Size.
RENAMES: It allows same code to be copied multiple times with different names, and it is used for Re-grouping the elementary data items in a RECORD and which must be declared by using level number 66.
Redefines can use the any level no(0-49).
Regards, |
|
Back to top |
|
|
vijay_bn79
New User
Joined: 20 Nov 2006 Posts: 48 Location: Hyderabad
|
|
|
|
kvskris wrote: |
hello everybody,
i want to know the difference between redefine and rename clause
can anybody help me.
radhae |
Hi..,
Redefine is a technique where same memory location can be referenced in different names and different formats also
we can redefine the char variable into integer variable or comp variable etc..
Rename is the grouping of the variables into a variable name |
|
Back to top |
|
|
|