Announcement
Collapse
No announcement yet.
How do I print NUMBERS with DDOC?
Collapse
X
-
%DDOC_CENTER, str$(count%)
actually prints the number I was looking for.
FORMAT$ (number) does not add any extra leading characters.
Probably no visual difference (when centering), but something to keep in mind (when left-justifying).
Leave a comment:
-
Pleeeeese ..... I could do no better than gather since no help file included (I downloaded rather than had it shipped). I do have a set of tutorials that were downloaded. I went through them twice and could not find what I was looking for.
I found this works:
dpText hFile%, 1.25, 1., %DDOC_CENTER, str$(count%)
actually prints the number I was looking for.
Leave a comment:
-
>I gather dpText prints text....
You could do better than 'gather' if you read the help file shipped with ddoc P&P.
>... but what prints numbers?
FORMAT$(count%) might be worth looking at....
Leave a comment:
-
How do I print NUMBERS with DDOC?
I have the line:
dpText hFile%, 1.25, 1., %DDOC_CENTER,"7"
and it prints on the page just fine. What I would like to is print the value of
a variable, say count%:
dpText hFile%, 1.25, 1., %DDOC_CENTER,count%
I gather dpText prints text, but what prints numbers?
Thanks,
SteveTags: None
Leave a comment: