2007 Oct 18 7:54 PM
Can I print writes with the following?
data:
i type i.
i = 10.
do 5 times.
WRITE: i '|' , i+1 'HELLO WORLD' CENTERED COLOR 4 INTENSIFIED ON.
i = i + 20.
enddo.
2007 Oct 18 7:57 PM
Hi Diego,
You can not have expression in the WRITE statement but can print value or variable containing value.
data:
i type i,
<b>v type i.</b>
i = 10.
do 5 times.
<b>v = i + 1.</b>
WRITE: i '|' ,<b> v , </b>'HELLO WORLD' CENTERED COLOR 4 INTENSIFIED ON.
i = i + 20.
enddo.
Thanks,
Vinay
Can I print writes with the following?
data:
i type i.
i = 10.
do 5 times.
WRITE: i '|' , i+1 'HELLO WORLD' CENTERED COLOR 4 INTENSIFIED ON.
i = i + 20.
enddo.
2007 Oct 18 7:57 PM
Hi Diego,
You can not have expression in the WRITE statement but can print value or variable containing value.
data:
i type i,
<b>v type i.</b>
i = 10.
do 5 times.
<b>v = i + 1.</b>
WRITE: i '|' ,<b> v , </b>'HELLO WORLD' CENTERED COLOR 4 INTENSIFIED ON.
i = i + 20.
enddo.
Thanks,
Vinay
2007 Oct 18 8:11 PM
As a state with a variable the position where they must print text, without printing the position?
2007 Oct 18 8:17 PM
Do you want:
WRITE: at I 'HELLO WORLD' CENTERED COLOR 4 INTENSIFIED ON.
Rob
2007 Oct 18 8:00 PM
See the below program and i just modified.
data: i type i.
data v type i.
i = 10.
do 5 times.
v = i + 1.
WRITE: i ,'|' , v, 'HELLO WORLD' CENTERED COLOR 4 INTENSIFIED ON.
i = i + 20.
clear v.
enddo.
Thanks
Seshu
2007 Oct 18 8:10 PM
As a state with a variable the position where they must print text, without printing the position?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |