Re: [tcljava-user] how to include user defined packages written in tcl in JACL using the command "p
Brought to you by:
mdejong
From: Patrick F. <pfi...@oz...> - 2011-04-04 02:34:20
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> See this page: - <a href="http://www.websphereconsultant.com/WSAdmin/docs/dynamicLoading.html">http://www.websphereconsultant.com/WSAdmin/docs/dynamicLoading.html</a><br> <br> <i>It's now possible to dynamically load jacl procedures(modules) into a top level script without explicitly specifying procedure locations using the source command. The JACL auto_path variable holds a list of directories that JACL will search for procedures or namespaces that are called by a top level script. If JACL cannot resolve the location of a called procedure locally it searches the list of directories held in the auto_path variable for a tclIndex file that contains load instructions for the procedures in the directory. The tclIndex file is generated by the auto_mkindex command and this command must be run each time procedures names are changed and procedures are added or deleted. The auto_path variable is initialized by the TCLLIBPATH environmental variable or explicitly within the script. <br> </i><br> On 1/04/2011 8:29 PM, trishanth diwate wrote: <blockquote cite="mid:AANLkTimuYJxDyxH8onq9gje-ao1jueaG2X1m39d=m8...@ma..." type="cite">whenever I try this command it gives an error saying package foo doesn't exist <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ms-webmatrix-sf">http://p.sf.net/sfu/ms-webmatrix-sf</a> </pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ tcljava-user mailing list <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tcljava-user">https://lists.sourceforge.net/lists/listinfo/tcljava-user</a> </pre> </blockquote> <br> <br> <div class="moz-signature">-- <br> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>SIGNATURE</title> <br> <span style="text-decoration: underline; font-weight: bold;">PATRICK FINNEGAN</span><br> <span style="color: rgb(153, 0, 0);">MB: +61422542326</span><br> FX: +442084591085<br> <br> <br> <br> </div> </body> </html> |