[futurebasic] Superscript Edit Field

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 1999 : Group Archive : Group : All Groups

From: Martin Fitzgibbons <d8171hn1@...>
Date: Fri, 29 Jan 1999 23:32:57 +1100
I have a text file of questions that I have to load and display.
In some questions various codes have been embeded to denote
Superscript, Subscript, Bold and a few other things.
I am after a suitable method of checking the string for the code that
denotes
eg Superscript and then display the question in an edit field

eg What is the answer to 2\+3? (this is what the text would look like)

What is the answer to 2 power of 3. The \ indicates a code, + indicates
power.

instr(1,a$,"\") finds the backslash no problem but how do I split the
string and put it into a stylised edit field with times and superscript
fonts?

Martin
--
               ''~``
              ( o o )
+--------.oooO--(_)--Oooo.--------+
|       Martin Fitzgibbons        |
|          RUSH SOFTWARE          |
|      rush@...      |
|         149 Stafford ST         |
|    Gerroa, NSW AUSTRALIA 2534   |
|      ph/fax   02 42342107       |
| http://www.rushsoftware.com.au  |
|         .oooO                   |
|         (   )   Oooo.           |
+----------\ (----(   )-----------+
            \_)    ) /
                  (_/