Recent Changes - Search:

WikiDoc

Categories

AlphaTcl Indices

Development.AlphaIndices History

Hide minor edits - Show changes to markup

May 02, 2008, at 09:36 AM by bd - Added section about Precedence
Added lines 136-184:

Precedence

The order in which the domains are visited when the interpreter looks for an unknown procedure is:

  1. User Packages
  2. User Domain
  3. Local Domain
  4. Application Bundle

Concerning the packages info, it is read at the appropriate moment by AlphaTcl for all four domains in the exact same order as above. This follows the order established by the $auto_path variable. Here is a simplified list of the folders contained in this variable (the lower level folders have been removed to make it easier to read):

 
 	$HOME/Tcl/SystemCode
 	$HOME/Tcl/Modes
 	$HOME/Tcl/Menus
 	$HOME/Tcl/Completions
 	$HOME/Tcl/Packages
 	$PREFS/User Packages
 	$SUPPORT(user)/AlphaTcl/Tcl/SystemCode
 	$SUPPORT(user)/AlphaTcl/Tcl/Modes
 	$SUPPORT(user)/AlphaTcl/Tcl/Menus
 	$SUPPORT(user)/AlphaTcl/Tcl/Completions
 	$SUPPORT(user)/AlphaTcl/Tcl/Packages
 	$SUPPORT(local)/AlphaTcl/Tcl/SystemCode
 	$SUPPORT(local)/AlphaTcl/Tcl/Modes
 	$SUPPORT(local)/AlphaTcl/Tcl/Menus
 	$SUPPORT(local)/AlphaTcl/Tcl/Completions
 	$SUPPORT(local)/AlphaTcl/Tcl/Packages
 	$APPLICATION/Contents/Resources/Scripts/Tclextensions
 	$APPLICATION/Contents/MacOS/../Frameworks/Tcl.framework/Versions/8.5/ 
 	Resources/Scripts
 	$APPLICATION/Contents/MacOS/../Frameworks/Tcl.framework/Versions/8.5/ 
 	Resources
 	$APPLICATION/Contents/lib
 	$APPLICATION/Contents/Frameworks
 	~/Library/Tcl
 	/Library/Tcl
 	/Network/Library/Tcl
 	/System/Library/Tcl
 	~/Library/Frameworks
 	/Library/Frameworks
 	/Network/Library/Frameworks
 	/System/Library/Frameworks
 	/System/Library/Tcl/tcllib1.6
 	/System/Library/Tcl/tklib0.2
 	$APPLICATION/Contents/Resources/Scripts/Tclextensions/tcllib1.7

April 22, 2008, at 03:07 PM by bd - Minor fix
Changed lines 30-31 from:
  1. in the Local Application Support folder found in : ((| /Library/Application Support/AlphaX/AlphaTcl |)) One can install in this folder third party packages which are available to all the users of the machine. Installing packages in this area requires admin privileges.
  2. in the User Application Support folder found in : ((| ~/Library/Application Support/AlphaX/AlphaTcl |)) Each user can install there third party packages which are only available when she is currently logged.
to:
  1. in the Local Application Support folder found in : /Library/Application Support/AlphaX/AlphaTcl. One can install in this folder third party packages which are available to all the users of the machine. Installing packages in this area requires admin privileges.
  2. in the User Application Support folder found in : ~/Library/Application Support/AlphaX/AlphaTcl. Each user can install there third party packages which are only available when she is currently logged.
April 22, 2008, at 02:54 PM by bd - New page AlphaTcl Indices
Changed line 3 from:

''Starting with version 8.2a3, AlphaTcl introduces a new mechanism to manage

to:

Starting with version 8.2a3, AlphaTcl introduces a new mechanism to manage

Changed lines 5-7 from:

and libraries of Tcl code). The new proposed mechanism is open to discussion.''

to:

and libraries of Tcl code). The new proposed mechanism is open to discussion.

April 22, 2008, at 02:52 PM by bd -
Added line 2:
Added line 7:
April 22, 2008, at 02:51 PM by bd - New page AlphaTcl Indices
Added lines 1-133:
Page last modified on May 02, 2008, at 09:36 AM
Hosted on SourceForge.net Logo