No errors when trying to access a variable from a node, but the reason I'm utilizing a function from within an Execute Code card is because I'd like to write a switch function that'll match text based on a user's input on a previous node that was stored in a global variable. The function would then return a calculated numeric value that can also be stored to another variable for later use.
The actual usecase:
I'd like to create a node that can calculate a visitor's quote in real time, following their choices on preceding multiple-choice question nodes.