NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

MathType.stringToType doesn't work for Text

Hi,

I want to be able to use MathType.stringToType to be able to do this:
MathType mt = MathType.stringToType("((time)->(textstuff(Text)))");

but it complains about "badly formed string".

It is ok if I'm dealing with reals:
MathType mt = MathType.stringToType("((time)->(realstuff))");

[with apologies to Tom W, I was thinking about how much effort might be required
to extend TextAdapter to work with TextTypes as well as RealTypes]

Thanks in advance,

James



--
James Kelly
Regional Computing and Distributed Systems        Bureau of Meteorology
PO Box 1289K                                  Melbourne 3001, Australia
Phone: 61-3-9669-4724 Fax: 61-3-9669-4128     Email: J.Kelly@xxxxxxxxxx


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: