I don’t declare variables that I don’t need to reduce time of execution, because my macro is quite long, so I prefer just to use inside storeEval thing like this:
It says that if “${hourly_description}” is undefined just execute {res1 = res0;} and continue.
But the problem is that in case if “${hourly_description}” is undefined it goes back and execute a peace of macro again and again, But I just need to macro continue to go on if there is some undefined varibles.
This realy helps to reduce execution time and length of the macro.
I know that I can use #goto with onError but it’s adding at least three lines in the macro.
I need to “type” the value of this variable later!
If I define it with some placeholer value it wil be typed but I need a real value if it exists,
but if I define it with real value like this ${hourly_pickup}, if this variable is undefined it will trigger error.
So there is no sense to do what you say.
There is actually no difference.
Declare variable. Check if length > 0.
And it is exactly the same.
You will not save anything on the contrary you will spend numerous minutes searching online for a piece of code that only you want to have.
I gave you a workaround. Surely It’s up to you use it or not. Good luck.