functionprint2

Print a string to the standard output as well as a file

Inputs

TypeNameDefaultDescription
Stringstring""String to be printed
StringfileName""File where to print (empty string is the terminal)