View Single Post
Old 07 October 2021, 18:13   #13
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,935
Argument substitution of the parameters provided to the script (".key"), yes. Regarding the I/O redirection conflicts, you know that even the Commodore manual recommended the use of the ".bra {" & ".ket }". So no problem here.
But, even, don't forget the default value that can be given with the $ sign "{argument$default_value}"

No, here my point is that it is strange that even a "{variable_name}" was not handled natively (thus allowing, inside scripts, the use of variable created with the 'setenv' command (and stored in ENV: by the system - or created manually in ENV: )).

But you are correct by saying that there is an inconsistency between the way "if" handle the $variable and the way "execute" handle the {argument}.
malko is offline  
 
Page generated in 0.04243 seconds with 11 queries