View previous topic :: View next topic
|
Author |
Message |
anguraj
New User
Joined: 10 Jun 2006 Posts: 3
|
|
|
|
Hi
When we try to write the value of varibles , it will be leaving a default space before the variable... for EG.
#name := IBM and #age := 22
when we have
write 'NAME' #name #age it will write as Name IBM 12.....
you can find a space between the variable values.....
is there any way to avoid the spaces i.e.. i need it has NameIBM12...????
With Regards
Anguraj |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I believe the only way to do it is by using COMPRESS. Here is an example:
Code: |
DEFINE DATA LOCAL
1 #NAME (A4)
1 #AGE (N2)
1 #OUT (A10)
END-DEFINE
*
#NAME := 'IBM'
#AGE := 22
*
COMPRESS 'NAME' #NAME #AGE INTO #OUT LEAVING NO SPACE
WRITE 'NAME' #NAME #AGE
WRITE #OUT
*
END |
O. |
|
Back to top |
|
|
anguraj
New User
Joined: 10 Jun 2006 Posts: 3
|
|
|
|
Hi
thks for your imme.. reply.... but inmy situation i can t use compres..... for various resons.... is there any other way..... ?????? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
As far as I know - there is no formal way.
O. |
|
Back to top |
|
|
vasanthanc
New User
Joined: 01 Apr 2005 Posts: 58
|
|
|
|
I dont find any way other than compress. |
|
Back to top |
|
|
|