Rafal123 Posted June 23, 2006 Share Posted June 23, 2006 hi, Can anybody help to solve this type of problem? How to execute expression in string data type? I wanna H execute first expr in "somethin here" and then to execute the rest Example: ch("../sss1/f1") --> instead sss1 I wanna have --> sss`opdigits(".") Quote Link to comment Share on other sites More sharing options...
edward Posted June 23, 2006 Share Posted June 23, 2006 ch("../sss" + opdigits(".") + "/f1") Quote Link to comment Share on other sites More sharing options...
Rafal123 Posted June 23, 2006 Author Share Posted June 23, 2006 ch("../sss" + opdigits(".") + "/f1") 28748[/snapback] hey edward thanks for answer it works but I have one more question, why in --> "" we don't use --> ' ? and when we write in standard way there is --> ' in example: in node file --> cop I put there: $HIP/frame`opdigits(".")`.tga but when I wanna execute --> opdigits in --> "" there is no need for--> ' Can You explain that? Quote Link to comment Share on other sites More sharing options...
hoknamahn Posted June 24, 2006 Share Posted June 24, 2006 hey edward thanks for answer it works but I have one more question,why in --> "" we don't use --> ' ? and when we write in standard way there is --> ' in example: in node file --> cop I put there: $HIP/frame`opdigits(".")`.tga but when I wanna execute --> opdigits in --> "" there is no need for--> ' Can You explain that? 28753[/snapback] If you do something inside of a text field you're in the text world. Therefore if you need to calculate expression inside of a text field, you use backticks. They specify that a part of the text it not a plain text but an expression which is necessary for calculating. In other cases you're in the expressions world and backticks isn't necessary. Exception is a global variables which can be used both with backticks and without them. Quote Link to comment Share on other sites More sharing options...
Rafal123 Posted June 25, 2006 Author Share Posted June 25, 2006 If you do something inside of a text field you're in the text world. Therefore if you need to calculate expression inside of a text field, you use backticks. They specify that a part of the text it not a plain text but an expression which is necessary for calculating. In other cases you're in the expressions world and backticks isn't necessary.Exception is a global variables which can be used both with backticks and without them. 28763[/snapback] hey hoknamahn, many thanks for an explanation now it's more clear Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.