I'm very late, but one approach I saw in LABS nodes is using `chs("../code_string")` in VEX. This causes VEX to evaluate the string as if it was actual VEX code in the wrangle. For example, add this to a detail wrangle:
```
vector addToPos(vector p) {
return p + {1, 2, 3};
}
```
Then in any other wrangle you can run that code with chs():
```
// Append the code string and run it (like #include)
`chs("../your_wrangle/snippet")`
v@P = addToPos(v@P);
```
Found 1 posts.
Search results Show results as topic list.
Technical Discussion » global vex include
- hroberts
- 1 posts
- Offline
-
- Quick Links