View previous topic :: View next topic
|
Author |
Message |
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
how can we move comp to comp3?
ex
A pic 9(9)v9(2) comp
B pic 9(9)v9(2) comp3
comp items not declared by decimal but just i want to move data.
may i think frist we declared the one numaric varible C
move A to C
move C to B
is it correct |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Both the comp and the com3 are numeric and conversion from from binary to packed decimal is automatic. |
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
Thanks William Thompson swift replay. |
|
Back to top |
|
|
SSR Warnings : 1 New User
Joined: 26 Feb 2006 Posts: 38
|
|
|
|
hi,
You can move from COMP to COMP3 directly i do not think any intermediate variable is required.
Regards
SSR |
|
Back to top |
|
|
|