comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » embedded formatting hell: x-bar meaning "mean of x"
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
embedded formatting hell: x-bar meaning "mean of x" [message #54052] Thu, 17 May 2007 11:05
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
ideally, something I can use in STRING() to then deliver as input to
XYOUTS.

This comes close:

meanstring=STRING(mean,$
format='("!sx!r!u-!n= ",i," is the mean")')

I think it would be correct, if I could just get an em-dash instead of
an en-dash.

Unicode should be my friend here, but I can't get syntax:

format='("!sx!r!u!Z('2014'x)!n= ",i," is the mean")')

gives a Syntax Error, presumably a quotes problem.

I thought maybe I could put it in like this:

emdash=string(XXXb)
meanstring=STRING(emdash,mean,$
format='("!sx!r!u",a,"!n= ",i," is the mean")')

But I cannot for the life of me figure out how to assign EMDASH so
that I get an EMDASH. Ideally, I'd like to use a TrueType font for
this job.

Please Help,

--Edward H.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Interesting property of sort
Next Topic: Idlgrsymbol size?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:46:28 PDT 2025

Total time taken to generate the page: 0.95742 seconds