View previous topic :: View next topic
|
Author |
Message |
athiqmsr Warnings : 2 New User
Joined: 27 Jul 2006 Posts: 10
|
|
|
|
what is the meaning of PIC -X0(20)
& S9(12)V99#? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I think the "0" forces twenty "0"s after the one variable charcter.
I think the "#" might be defined as the "currency symbol". |
|
Back to top |
|
|
SSR Warnings : 1 New User
Joined: 26 Feb 2006 Posts: 38
|
|
|
|
Quote: |
what is the meaning of PIC -X0(20)
& S9(12)V99#? |
D PIC X0(08).
move 'Test' to d.
display d
will display
T00000000 (Intial letter followed by 8 zeroes). |
|
Back to top |
|
|
SSR Warnings : 1 New User
Joined: 26 Feb 2006 Posts: 38
|
|
|
|
Quote: |
what is the meaning of PIC -X0(20)
& S9(12)V99#? |
Hi,
D PIC X0(08).
move 'Test' to d.
display d
will display
T00000000 (Intial letter followed by 8 zeroes).
Regards
SSR |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi
Quote: |
what is the meaning of PIC -X0(20)
|
I think it is not possible to have a definition -X0(20).You cant give a -ve sign before an alphanumeric PIC definiton.Why do you want to give such a definition?
Thanks
Arun |
|
Back to top |
|
|
sharda
New User
Joined: 13 Sep 2006 Posts: 7
|
|
|
|
Hi ssr,
I tried but at run time its giving Soc4 . plz clear it , it works or not. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Without -ve sign it wont give any error |
|
Back to top |
|
|
|