Is there an easy way to do this?
I want to be able to send either text or a float to a symbol box and have it displayed.
-
Display a float in a Symbol box.
-
@nuromantix convert the float to a symbol with [makefilename %f]. There are other formats avail--look them up in makefilename's help.
-
Thanks both of you, very helpful.
-
Sorry to butt in.
This is a nice way to simply do it. Is there a way as simple to do the reverse? Where the number that becomes a symbol can become a float?
-
@raynovich Surprisingly, [float] has a conversion built in:
-
But you need to use in the makefilename
makefilename %s
Right?
The %g did not work for me, but %s did.
-
@raynovich You can use print to see what is going on. [makefilename] produces symbols as described in the help file