jinit.tcl

Introduction

The jinit.tcl library is distributed as part of the jstools package. It consists of a procedure, j:jstools_init, that reads user preferences and initialises data used by the jstools libraries. Any application that uses the jstools libraries should either call j:jstools_init early on, or duplicate its functionality.

This document describes jinit.tcl version 1998.09.30.

Usage

Accessing the Library


In order to use the jinit.tcl library, it (and any other libraries it depends on) must be in your Tcl auto_path, described in tclvars(n). Information about how to arrange that, and other conventions common to the jstools libraries, is in the Usage section of The jstools Libraries.

Credits and Copyright

Author

Jay Sekora
js@aq.org
http://www.aq.org/~js/

Copyright

The library is copyright © 1992-1998 by Jay Sekora, but may be freely redistributed under the conditions at the top of the file.

Overview

Procedure

j:jstools_init - common initialisation for jstools applications and libraries

j:jstools_init

Usage

j:jstools_init [app]

Argument

app - name of the current application

Description

This procedure performs common setup tasks for the jstools applications and other applications using the jstools libraries. Specifically, it does the following:
If you don't want to use j:jstools_init because there's something it does that you don't like, you should refer to the procedure itself to see what you need to do to initialise your application.

Bugs and Limitations