3 ms·
Also depends on what you assign to. If you read an if/else statement, you have to check whether both branches assign to the same value. If that’s a complex expr
by Someone 5y ago
Also depends on what you assign to. If you read an if/else statement, you have to check whether both branches assign to the same value. If that’s a complex expression, that isn’t trivial.
- pklausler 5y agoFortran’s ASSOCIATE construct can help with that. associate (x=>(complicated variable)) if (test) then x = … else x = … end if end associate