Greetings, As with everything, there are different ways of accomplishing the "goal". Some background info: Boston WorkStation scripts can be contained in something called a Project. Any number of scripts can "live" in a project. And of course whatever is in the Project can be shared by all the scripts therein. A project can live on a file system - or in a database.
Boston WorkStation scripts can also be "contained" in an compiled executable (which of course requires Visual Studio etc.) As for the actual question now: Here's some ideas that are "Project deployment" specific 1. BWD file- this is a "template" (basically a regular Project) that would contain the commonly used items. Every time a new project is started it would automatically have all the "common routines" 2. Common routines are contained in a Module that can get imported to new projects 3. Common routines compiled into a DLL- script references them as it would any other DLL 4. Common routines contained in a Project that gets called from the source project *Subject to network latency issues if these are not "together" obviously. Obviously compiled scripts are no different than any other compiled applications in how you accomplish the above. Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chen, Scott C Sent: Wednesday, June 13, 2007 12:07 PM To: Boston WorkStation Group (E-mail) Subject: [Talk] General Functions In web scipting, we usually just create a script file (.js, .asp, etc...) and put all our general functions in it and include the file. This reduces repetitive coding. I want to be able to do the same in Boston. I want to create a file (class file?, library?) with all the general functions (logins, repetitive code, etc) I will be using for all our scripts. How to do this within Boston so I can use it with all scripts. I want to be able to reference to it and just call a function. Thanks. Scott Chen Spec-Database Development Providence Health & Services (503) 215-4441 DISCLAIMER: This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.
