Switch expression in compiled block

   1278   2   0
User Avatar
Member
303 posts
Joined: May 2007
Offline
Hi
on switch node's help there is this script:
if (strmatch("*Error:*", run("opinfo " + opfullpath("../" + opinput(".", 1)))), 0, 1)
this is very useful when the first node have errors.

but how can the script work in Compiled Block?
Edited by luoqiulin - Dec. 24, 2021 08:27:28
https://vimeo.com/user3971456/videos [vimeo.com]
User Avatar
Member
7530 posts
Joined: Sept. 2011
Online
luoqiulin
but how can the script work in Compiled Block?

It cannot. The compiled block runs as if it were a single node cook. Intermediate data cannot be accessed.
User Avatar
Member
303 posts
Joined: May 2007
Offline
jsmack
luoqiulin
but how can the script work in Compiled Block?

It cannot. The compiled block runs as if it were a single node cook. Intermediate data cannot be accessed.

ok it's a bad news! thank you very much,
https://vimeo.com/user3971456/videos [vimeo.com]
  • Quick Links