strange behaviour

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

thx

AttachmentSize
problem.JPG32.84 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aydinu's picture

Yesterday I tried on a

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

Cheers

Admin's picture

What language of 3ds max are

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.

Christopher Grant
Admin, ScriptSpot.com

Anubis's picture

No problem here.

No problem here.

test

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.