can't access an alias created inside an if statement

Flade consolemaster0 at
Wed Aug 5 09:05:36 UTC 2020

I have used an if-else statement to create an alias to avoid code 
duplication but it doesn't let me access it outside the if 
statement. Is there a way to solve this?

More information about the Digitalmars-d-learn mailing list