CSD & A home page        Alpha 5 AEX Make
Last updated November 12th, 2006

' AEXMake - Version 1.00  Release Date: July 5, 2006

' Syntax
'            AEXMake(Dictionary,ScriptList,Destination)

' Purpose:    Create a compiled library with list of scripts/functionsGlobal Bitmaps to include

' Input:    ScriptList        = A list of scripts to create AEX
'                                A null value uses the current database's script (TBA)
'                                A blank value prompts for scripts to use (TBA)
'            LibNumber        = Library Number to assign, default of 0 sets it to 64
'            Destination        = The filename of the final AEX file
'                                A leading blank value prompts for file to use
'                                A null uses the current database name and path for AEX
'                                A leading "+" places it in the "addins_installed" directory
'                                    and use the database name if no file spec
'                                A leading "-" places it in the "addins_disabled" directory
'                                    and use the database name if no file spec
'            Dictionary        = The name of the dictionary entry to create AEX from
'                                Default is current database
'                                Blank, non-null value prompts for database

' Output:   

' Errors:
           
' Typical Usage:

' Examples:
'        ?AEXMake("",0,"c:\test.aex","")
'        ?AEXMake(get_from_file(ScriptListFileName),0,"c:\test.aex","")
'        ?AEXMake(get_from_file(ScriptListFileName),0,"+test","")
'        ?AEXMake(get_from_file(ScriptListFileName),0,"-test","")

' Notes:
' ScriptList is a CRLF delimited value with lines like this
'    ' Type defaults to GUDF
'        UDFName
'        UDFName,GUDF
'        UDFName,GUDF,Filename
'        UDFName,,Filename
'        ScriptName,SCRP
'        ScriptName,SCRP,Filename
'    Place a bitmap in the AEX file
'        GlobalBitMapName,GBMP
'        GlobalBitMapName,GBMP,Filename
'        GlobalBitMapName,GBMP,Filename,EncryptionKey
'    Place a file (any type) in the AEX file
'        GlobalBitMapName,FILE,Filename
'        GlobalBitMapName,FILE,Filename,EncryptionKey
'    ' Comment line are line's whose 1st non-blank character is a single quote
'    ' Blank lines are ignored as well

' If filename is included for anything but type "FILE",
' it is used as a reference to another database dictionary.
' Alternatively, the name can have a long form, such as
'        UDFname@DictionaryName.ALB

' To use a file for the list, just use a command parameter
'        get_from_file(ScriptListFileName)
'======================================================================
 
End-of Text