in reply to Re: creating a variable in an if statement
in thread creating a variable in an if statement

I agree.
...it's fine to use "{}" braces to create a block...
You could then consider giving the block a name i.e. create a sub. You can then
  • Comment on Re^2: creating a variable in an if statement