Technical data

alias
ModelSim EE/SE Command Reference ModelSim Commands CR-37
alias
The alias command creates a new Tcl procedure that evaluates the specified
commands. Used to create a user-defined alias. Any arguments passed on
invocation of the alias will be passed through to the specified commands. Returns
nothing.
Syntax
alias
<aka> "<cmds>"
Arguments
<aka>
Specifies the new procedure name to be used when invoking the commands.
Required.
"<cmds>"
Specifies the command or commands to be evaluated when the alias is invoked.
Required.
Examples
alias myquit "write list ./mylist.save; quit -f"
Creates a Tcl procedure, "myquit", that when executed, writes the contents of the
List window to the file mylist.save by invoking write list
(CR-232), and quits
ModelSim by invoking quit
(CR-128).