Initially, KGen might seem like overkill, but - did you know that with KGen's kix and bat files in your path or in the current folder, along with Kix32.exe, you can write your code in a .TXT file and simply say "KGen myfile"? It will scan and run Sanity on your script - just that easily - resulting in a .KIX file on the spot? No installation or configuration - just a simple way to get Sanity results.

Of course, it will tell you it found no library functions, and included none as well.. ;\)

One of the coming features in KGen will be the ability to auto-generate the HTML/PostPrep file, and a report of commands that are supported by specific Kix versions - you'll be able to know if your script requires a specific mimimum version of Kix.

All you need to do to take the next step is put your function files on a server share somewhere and define KIXLIBPATH=\\server\share\folder, and KGen will automatically index and include any function from your library that you need. It generates the report files I showed you in the other thread, too. It can tokenize your script, but always leaves a plain-text .GEN file behind for you to recover from should you need it.

If you don't have a color-coding editor, you can check out the PostPrep script. A copy is available right from the first post in the Advanced Topics section. It will generate a colorized HTML file of your script, and you can even copy/paste the content into your posts (if you select HTML as your posting format option)

Glenn
_________________________
Actually I am a Rocket Scientist! \:D