Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Good morning,
i am a newbie in MC.
I am searching for a possibility to convert a "real" number into a string. (in a script of a text box)
I tried it in this way, but it failed....
Text=num2str(Inputs(0).Value)
If IsString (Text) Then
MsgBox "string"
End If
Please help....
Thanks....
Bye Rolf
Solved! Go to Solution.
Hello Rolf,
try this code in e.g. a textbox.
Raiko
Sub TextBoxEvent_Exec(Inputs,Outputs)
XY=CStr(TextBox.Text)
Outputs(0).Value = XY
End Sub
Hello Rolf,
try this code in e.g. a textbox.
Raiko
Sub TextBoxEvent_Exec(Inputs,Outputs)
XY=CStr(TextBox.Text)
Outputs(0).Value = XY
End Sub
Hej Raiko,
thank you very much.... Works fine now!!! That help´s me a lot!!!
Have a nice day...
Rolf