Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


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, and quits ModelSim by invoking quit.


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase