Re: centering display
- Posted by euphoric (admin) Mar 21, 2019
- 1806 views
Senator said...
integer RM = 50 display("[c:50]", {"This text is centered"}) display("[c:RM]", {"This text is not centered"}) constant VC=graphcst:video_config() -- or RM = VC[VC_COLUMNS] display("[c:RM]", {"This text is not centered"})
Is there anyway to use a variable to pass a value to the the display center function?
Since it's a string anyway, you could use
display("[c:" & sprint(RM) & "]", {"This text is not centered"})
That's one way.