[MEL] How to use variables as file path?

[MEL] How to use variables as file path?

g2m.agent
Collaborator Collaborator
424 Views
1 Reply
Message 1 of 2

[MEL] How to use variables as file path?

g2m.agent
Collaborator
Collaborator

iconTextButton -image1 "icons/some.png"; // correct //


string $a = "f:/my_folder/";
iconTextButton -image1 $a + "icons/some.png"; // error: Syntax error // why??

0 Likes
Accepted solutions (1)
425 Views
1 Reply
Reply (1)
Message 2 of 2

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

Try

iconTextButton -image1 ($a + "icons/some.png");