- May
- 239
- 2
Seems that @isdigit[] behavior changed between v15 and v18.
"echo %@isdigit[]" will return "1" in v18 while it returned "0" in v15.
This broke a btm file for me that relies on the old behavior in quite a few places.
I guess the fix (for me) would be to check if the variable given to @isdigit[] for checking is empty or not in addition to checking the @isdigit result. Still the v15 way is more convenient.
"echo %@isdigit[]" will return "1" in v18 while it returned "0" in v15.
This broke a btm file for me that relies on the old behavior in quite a few places.
I guess the fix (for me) would be to check if the variable given to @isdigit[] for checking is empty or not in addition to checking the @isdigit result. Still the v15 way is more convenient.