*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Tcl/source (3)              
Title
Content
Arch
Section
 

Contents


source(3Tcl)							  source(3Tcl)


NAME    [Toc]    [Back]

     source - Evaluate a file as a Tcl script

SYNOPSIS    [Toc]    [Back]

     source fileName

DESCRIPTION    [Toc]    [Back]

     Read file fileName	and pass the contents to the Tcl interpreter as	a
     script to evaluate	in the normal fashion.	The return value from source
     is	the return value of the	last command executed from the file.  If an
     error occurs in evaluating	the contents of	the file then the source
     command will return that error.  If a return command is invoked from
     within the	file then the remainder	of the file will be skipped and	the
     source command will return	normally with the result from the return
     command.  If fileName starts with a tilde,	then it	is tilde-substituted
     as	described in the Tcl_TildeSubst	manual entry.

KEYWORDS    [Toc]    [Back]

     file, script


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
eval IRIX Evaluate a Tcl script
catch IRIX Evaluate script and trap exceptional returns
fileevent IRIX Execute a script when a file becomes readable or writable
bcheckrc Tru64 Command script for checking and mounting local file systems
mkmanifest Tru64 mtools utility to create a shell script to restore UNIX file names from DOS
expr Linux evaluate expressions
expr OpenBSD evaluate expression
expr FreeBSD evaluate expression
exprlong IRIX evaluate an expression
expr IRIX Evaluate an expression
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service