View previous topic :: View next topic
|
Author |
Message |
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Hi all,
This is code I have written,
Code: |
PUT LIST('GNANAS');
PUT LIST('SEKAR'); |
I expect the output like below.
Code: |
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---->
GNANASSEKAR
******************************** Bottom of Data ******************************** |
But original output is like below.
Code: |
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---->
1GNANAS SEKAR
******************************** Bottom of Data ******************************** |
Why like this? What does that 1 indicate? Why spaces between GNANAS and SEKAR?
Please clarify me. |
|
Back to top |
|
|
Srihari Gonugunta
Active User
Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
Gnanas,
It would be displayed in blocks of 125, If I am not wrong. If you display another variable it will be much clearer to you. '1' in the first character indicates the print character.
To obtain the output as you expected, you should use PUT EDIT. |
|
Back to top |
|
|
ruodeer
New User
Joined: 06 Jul 2007 Posts: 58 Location: home
|
|
|
|
Quote: |
PUT EDIT('GNANAS','SEKAR')(A(6),A(5)); |
|
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Thanks Srihari, Ruodeer |
|
Back to top |
|
|
|