ScriptSpot

Forum topic · General Scripting

strange behaviour

By aydinu · 2010-02-17

Downloads
Description

I wanted to use greater than symbol in string however maxscript prints the letters till the greater than symbol.

thx

Comments (3)

aydinu · 2010-02-18

Yesterday I tried on a different machine and it worked over there. Very strange:)
Thanks for your comments

Cheers

Admin · 2010-02-17

What language of 3ds max are you using? I wonder if it's an issue specific to localized versions...

I wonder if for whatever reason the > symbol is being treated as a special character (like quotes) and needs to be escaped when inside a string. You could try this to see if that's the problem:

 messagebox "try \> try" 

Another thing that comes to mind is for some reason max isn't seeing the text as a string (which really seems unlikely but humor me)... Try this:

 
txtstr = "try > try" as string
messagebox txtstr

Lemme know if you have any luck.

Anubis · 2010-02-17

No problem here.

test