I am refering to the error - "If statement options must be the same type"
Maybe I don't understand the restriction. If that is the case then please explain the reason or need for this restriction.
There are SOooo many cases that using a complex let is perfect, but for the restriction.
Let me give an example. I use gosub and the gosub vars. If no var is present then set it to 1. Else set it to the var.
Code: Select all
simple=%subroutine_var_1%
let>MyValue={if(%simple%<>(""),%Simple%,1,)}
Yes, I know, use the regular if statement. Very blocky for such a simple use.
