Public Function LoadMultipleLines( _ ByVal vLines As Variant _ , ByVal vInteractive As Boolean _ ) As String
estConvertAddBuiltInestConvertAddFiles loads the unit, prefix, and global text replacement definitions from one or more text files. The definitions must be in the form of calls to the estConvertAddUnit, estConvertAddPrefix, and estConvertAddReplacement functions. Example:
estConvertAddFiles "ESunits.Dat" estConvertAddFiles "Custom*.Dat"estConvertAddUnit adds a new unit definition into memory. The command must be in the form of a call to the estConvertAddUnit function. Example:
estConvertAddUnit "turn", "", 2, "pi*rad", "plane angle"estConvertAddPrefix adds a new prefix definition into memory. The command must be in the form of a call to the estConvertAddPrefix function. Example:
estConvertAddPrefix "m", "mega", 1000000estConvertAddReplacement adds a new global text replacement definition into memory. The command must be in the form of a call to the estConvertAddReplacement function. Examples:
estConvertAddReplacement "pound", "lb", 1Other lines which do not begin with one of these commands are silently ignored.
Dim strCrLf As String strCrLf = Chr$(13) + Chr$(10) Dim strProg As String strProg = strProg + "estConvertAddBuiltIn" + strCrLf strProg = strProg + "estConvertLoadFiles ""ESUnits*.Dat""" + strCrLf Debug.Print estConvertLoadMultipleLines(strProg)See Also:
estConvertAddUnit Function estConvertAddPrefix Function estConvertAddReplacement Function
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.