Is there a command in VEX which will output the contents of a variable to an output window for debugging purposes?
Also, how do you comment code in VEX? In the help it says use either // or /* */ but when I try either of these Houdini throws up an error! I'm trying to write a function in the Alias and Variables dialog. When I take the comment out, no error occurs so its not my code….
Thanks…..
VEX questions?
7028 6 2-
- Dean_19
- Member
- 319 posts
- Joined:
- Offline
-
- Simon
- Member
- 2199 posts
- Joined: July 2005
- Online
An expression written in expression and variables isn't vex it's a weird hscript C hybrid. Try using # for comments.
For debugging VEX use printf, for debugging hscript use message, or just set a global variable with setenv.
Not too sure about debugging expressions, maybe message works.
For debugging VEX use printf, for debugging hscript use message, or just set a global variable with setenv.
Not too sure about debugging expressions, maybe message works.
The trick is finding just the right hammer for every screw
-
- Dean_19
- Member
- 319 posts
- Joined:
- Offline
-
- Simon
- Member
- 2199 posts
- Joined: July 2005
- Online
-
- Le_monkey_butt
- Member
- 166 posts
- Joined: Feb. 2006
- Offline
-
- Simon
- Member
- 2199 posts
- Joined: July 2005
- Online
-
- Le_monkey_butt
- Member
- 166 posts
- Joined: Feb. 2006
- Offline
-
- Quick Links