on 03-13-2009 4:56 AM
Dear All,
How can i pass a variable to &space(---)& command in Script editor.
regards
samarendra
It cannot work that way. Nested variables are not allowed.
However there is another (very dumb) method
case &v_space&
when 1.
&space(1)&
when 2
&space(2)&
etc
etc
endcase
This will work.
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
&space(&v_space&)& will give the 10 space value in the Script print preview .
Regards,
Joan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
&space(10)& will give the space of 10 characters in the print preview of the script.
if this is not the answer you are looking. can you be a little clear about the question.
regards
sarves
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No this won't be possible as far as i my knowledge. Because in the scripts every value is considered as a character and when we pass the value dynamically into a system symbol it will consider it as a character and results in no spaces but displays it as
&space( 10)&
if we pass the value like this it will give the above result
&space(&v_space&)&
in the preview.
regards
sarves
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.