What I started doing is using the variant variable type to gather information from functions that I don't want to create the dumb JSD file. If you really want all your scripts documented and you want the descriptive information available to the script utility, then I don't recommend doing the variant thing. So far, it works great though without a bunch of other checks during the compile. The script still knows how many variables are in a function call still. John Martyn -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Hart Sent: Tuesday, March 13, 2012 8:13 PM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] New import compiler directive Hi folks, I stumbled across the following line of code in QuickSet.jsd recently, and a rather terse explanation buried in FileIO.jss. However, it seems to be undocumented in the FSDN. Grepping the all users settings\enu directory, There are a pile of scripts that use the Import directive. I can't say I truely grok it, but it appears that the Import command is used for getting the Script Manager to load up function declarations (from jsd files) that are deeply nested in the script binary load scope. I always thought that the Script Manager automatically loaded the jsd files associated with binaries referenced using the Use directive. I am assuming that Import is needed because the compiler isn't actually clever enough to recursively scan through "Used" jsb files to find all the associated jsd files necessary to provide all the required function declarations, in case the top level script file calls a function buried 2 or more levels down in the scope (excluding functions in default.jss whose documentation one would expect the Script Manager to always have on hand). Is anyone else aware of this or have I just been living on another planet for the last few years? Cheers, Andrew. __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts