How to Return the Exponent

Niggemann, Bernd Bernd.Niggemann at uni-wh.de
Wed Dec 18 03:59:02 EST 2024


Hi Roger,

This does work:

Please note the quotes, in your mail it was curly quotes that do not work apart from asking for "word" instead of "token".

on mouseUp
   set the itemDel to "^"
   put token 3 of item 2 of "((1234…)^1/x)" into field 1
   
   set the itemDelimiter to "/"
   put cr & token 1 of item 2 of  "((1234…)^1/15)" after field 1
end mouseUp

Kind regards
Bernd

>Roger wrote:

>Oops. I take it back. It does not work.
 >  set the itemDel to “^"
 >  put char 3 of word 2 of "((1234…)^1/x)”
>returns blank


More information about the use-livecode mailing list