/[projects]/dao/DelphiScanner/Components/tpsystools_4.04/source/StConst.pas
ViewVC logotype

Annotation of /dao/DelphiScanner/Components/tpsystools_4.04/source/StConst.pas

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2671 - (hide annotations) (download)
Tue Aug 25 18:15:15 2015 UTC (8 years, 10 months ago) by torben
File size: 44720 byte(s)
Added tpsystools component
1 torben 2671 // Upgraded to Delphi 2009: Sebastian Zierer
2    
3     (* ***** BEGIN LICENSE BLOCK *****
4     * Version: MPL 1.1
5     *
6     * The contents of this file are subject to the Mozilla Public License Version
7     * 1.1 (the "License"); you may not use this file except in compliance with
8     * the License. You may obtain a copy of the License at
9     * http://www.mozilla.org/MPL/
10     *
11     * Software distributed under the License is distributed on an "AS IS" basis,
12     * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13     * for the specific language governing rights and limitations under the
14     * License.
15     *
16     * The Original Code is TurboPower SysTools
17     *
18     * The Initial Developer of the Original Code is
19     * TurboPower Software
20     *
21     * Portions created by the Initial Developer are Copyright (C) 1996-2002
22     * the Initial Developer. All Rights Reserved.
23     *
24     * Contributor(s):
25     *
26     * ***** END LICENSE BLOCK ***** *)
27    
28     {*********************************************************}
29     {* SysTools: StConst.pas 4.04 *}
30     {*********************************************************}
31     {* SysTools: Base unit for SysTools *}
32     {*********************************************************}
33    
34     {$I StDefine.inc}
35    
36     unit StConst;
37     {-Resource constants for SysTools}
38    
39     interface
40    
41     uses
42     SysUtils;
43    
44     const
45     StVersionStr = '4.04';
46    
47     const
48     {string table constants for STREGINI}
49     stscFalseString = 0;
50     stscTrueString = 1;
51     stscNoFileKey = 2;
52     stscInvalidPKey = 3;
53     stscNoWin32S = 4;
54     stscCreateKeyFail = 5;
55     stscOpenKeyFail = 6;
56     stscIniWriteFail = 7;
57     stscRegWriteFail = 8;
58     stscNoKeyName = 9;
59     stscQueryKeyFail = 10;
60     stscEnumKeyFail = 11;
61     stscEnumValueFail = 12;
62     stscIniDeleteFail = 13;
63     stscKeyHasSubKeys = 14;
64     stscDeleteKeyFail = 15;
65     stscIniDelValueFail = 16;
66     stscRegDelValueFail = 17;
67     stscOutputFileExists = 18;
68     stscFileHasExtension = 19;
69     stscSaveKeyFail = 20;
70     stscNo16bitSupport = 21;
71     stscCantFindInputFile = 22;
72     stscLoadKeyFail = 23;
73     stscUnloadKeyFail = 24;
74     stscNotWinNTPlatform = 25;
75     stscBadOptionsKeyCombo = 26;
76     stscRestoreKeyFail = 27;
77     stscReplaceKeyFail = 28;
78     stscNoIniFileSupport = 29;
79     stscRemoteKeyIsOpen = 30;
80     stscConnectRemoteKeyFail = 31;
81     stscCloseRemoteKeyFail = 32;
82     stscFlushKeyFail = 33;
83     stscBufferDataSizesDif = 34;
84     stscKeyIsEmptyNotExists = 35;
85     stscGetSecurityFail = 36;
86     stscSetSecurityFail = 37;
87     stscByteArrayTooLarge = 38;
88     stscQueryValueFail = 39;
89     stscNoValueNameSpecified = 40;
90    
91     {string table constants for container classes}
92     stscNoCompare = 51; {Compare property must be set}
93     stscBadType = 52; {an incompatible class is passed to a method}
94     stscBadSize = 53; {bad size for TStDictionary, TStBits, TStCollection}
95     stscDupNode = 54; {attempt to add duplicate node to TStTree}
96     stscBadIndex = 55; {bad index passed to TStBits or large array}
97     stscBadWinMode = 56; {requires enhanced mode operation}
98     stscUnknownClass = 57; {container class name not registered}
99     stscUnknownNodeClass = 58; {container node class name not registered}
100     stscNoStoreData = 59; {container has no store data routine}
101     stscNoLoadData = 60; {container has no load data routine}
102     stscWrongClass = 61; {container class and streamed class not equal}
103     stscWrongNodeClass = 62; {container node class and streamed class not equal}
104     stscBadCompare = 63; {invalid compare function or unable to assign now}
105     stscTooManyCols = 64; {assign a matrix with >1 col to array}
106     stscBadColCount = 65; {assign a matrix with wrong col count to virtual matrix}
107     stscBadElSize = 66; {assign a matrix with wrong elem size to virtual matrix}
108     stscBadDups = 67; {setting Dups to False in a non-empty sorted collection}
109    
110     {string table constants for sorting unit}
111     stscTooManyFiles = 71; {too many merge files in TStSorter}
112     stscFileCreate = 72; {error creating file in TStSorter}
113     stscFileOpen = 73; {error opening file in TStSorter}
114     stscFileWrite = 74; {error writing file in TStSorter}
115     stscFileRead = 75; {error reading file in TStSorter}
116     stscBadState = 76; {TStSorter in wrong state}
117    
118     {string table constants for Bcd unit}
119     stscBcdBadFormat = 81; {bad BCD format}
120     stscBcdOverflow = 82; {BCD larger than 10**64}
121     stscBcdDivByZero = 83; {BCD divide by zero}
122     stscBcdBadInput = 84; {BCD negative input to sqrt, ln, or power}
123     stscBcdBufOverflow = 85; {buffer overflow in FormatBcd}
124    
125     stscNoVerInfo = 100; {no version info in file}
126     stscVerInfoFail = 101; {error reading version info}
127    
128     (*
129     {shell string constants}
130     stscShellVersionError = 110; {not available in this version of Shell32.dll}
131     stscShellFileOpSrcError = 111; {no source files specified}
132     stscShellFileOpDstError = 112; {no destination files specified}
133     stscShellFileOpMapError = 113; {mapping incomplete}
134     stscShellFormatError = 114; {format error}
135     stscShellFormatCancel = 115; {format cancelled}
136     stscShellFormatNoFormat = 116; {drive cannot be formatted}
137     stscShellFormatBadDrive = 117; {not removable drive}
138     stscTrayIconInvalidOS = 118; {bad OS (NT 3.51)}
139     stscTrayIconCantAdd = 119; {can't add icon to the tray}
140     stscTrayIconCantDelete = 120; {can't delete icon from the tray}
141     stscTrayIconError = 121; {general tray icon error}
142     stscBadDropTarget = 122; {drop target is not TWinControl}
143     stscCOMInitFailed = 123; {COInitialize failed}
144     stscNoPathSpecified = 124; {No destination path for shortcut}
145     stscIShellLinkError = 125; {Error creating IShellLink}
146     stscNotShortcut = 126; {File is not a shortcut}
147     stscTrayIconClose = 127; {Close}
148     stscTrayIconRestore = 128; {Restore}
149     stscInvalidTargetFile = 130; {Shortcut target file not found}
150     stscShellFileOpDelete = 131; {Can't use file mappings with delete op}
151     stscShellFileNotFound = 132; {One or more source files is missing}
152     stscTrayIconDuplicate = 133; {Cant' have more than one tray icon}
153     stscBadVerInfoKey = 134; {User-defined key not found in ver info}
154     stscImageListInvalid = 135; {No image list assigned.}
155     *)
156     stscBadVerInfoKey = 134; {User-defined key not found in ver info}
157    
158     {barcode errors}
159     stscInvalidUPCACodeLen = 140;
160     stscInvalidCharacter = 141;
161     stscInvalidCheckCharacter = 142;
162     stscInvalidUPCECodeLen = 143;
163     stscInvalidEAN8CodeLen = 144;
164     stscInvalidEAN13CodeLen = 145;
165     stscInvalidSupCodeLen = 146;
166    
167     {stexpr errors}
168     stscExprEmpty = 150; {empty expression}
169     stscExprBadNum = 151; {error in floating point number}
170     stscExprBadChar = 152; {unknown character}
171     stscExprOpndExp = 153; {expected function, number, sign, or (}
172     stscExprNumeric = 154; {numeric error}
173     stscExprBadExp = 155; {invalid expression}
174     stscExprOpndOvfl = 156; {operand stack overflow}
175     stscExprUnkFunc = 157; {unknown function identifier}
176     stscExprLParExp = 158; {left parenthesis expected}
177     stscExprRParExp = 159; {right parenthesis expected}
178     stscExprCommExp = 160; {list separator (comma) expected}
179     stscExprDupIdent = 161; {duplicate identifier}
180    
181     {ststat errors}
182     stscStatBadCount = 170; {unequal or bad counts of array elements}
183     stscStatBadParam = 171; {invalid parameter}
184     stscStatBadData = 172; {invalid data point in array}
185     stscStatNoConverge = 173; {no convergence in numerical routine}
186    
187     {stfin errors}
188     stscFinBadArg = 180;
189     stscFinNoConverge = 181;
190    
191     {stmime errors}
192     stscBadEncodeFmt = 190;
193     stscBadAttachment = 191;
194     stscDupeString = 192;
195     stscInStream = 193;
196    
197     {ststring errors}
198     stscOutOfBounds = 200; {Index out of string bounds}
199    
200    
201     {stBarPN errors}
202     stscInvalidLength = 210;
203    
204     {StHTML errors}
205     stscNoInputFile = 215;
206     stscNoOutputFile = 216;
207     stscInFileError = 217;
208     stscOutFileError = 218;
209     stscWordDelimiters = 219;
210     stscInvalidSLEntry = 220;
211     stscBadStream = 221;
212    
213     {StShlCtl constansts}
214     stscName = 230;
215     stscSize = 231;
216     stscType = 232;
217     stscModified = 233;
218     stscAttributes = 234;
219     stscFileFolder = 235;
220     stscSystemFolder = 236;
221     stscOriginalLoc = 237;
222     stscDateDeleted = 238;
223     stscFile = 239;
224     stscInvalidFolder = 240;
225     stscFolderReadOnly = 241;
226    
227     {StSpawnApplication errors}
228     stscInsufficientData= 250;
229    
230     {StMemoryMappedFile errors}
231     stscCreateFileFailed = 260;
232     stscFileMappingFailed= 261;
233     stscCreateViewFailed = 262;
234     stscBadOrigin = 263;
235     stscGetSizeFailed = 264;
236    
237     {buffered stream errors}
238     stscNilStream = 270;
239     stscNoSeekForRead = 271;
240     stscNoSeekForWrite = 272;
241     stscCannotWrite = 273;
242     stscBadTerminator = 274;
243     stscBadLineLength = 275;
244     stscCannotSetSize = 276;
245    
246     {RegEx errors}
247     stscUnknownError = 290;
248     stscExpandingClass = 291;
249     stscAlternationFollowsClosure = 292;
250     stscUnbalancedParens = 293;
251     stscFollowingClosure = 294;
252     stscPatternError = 295;
253     stscUnbalancedTag = 296;
254     stscNoPatterns = 297;
255     stscPatternTooLarge = 298;
256     stscStreamsNil = 299;
257     stscInTextStreamError = 300;
258     stscOutTextStreamError = 301;
259     stscClosureMaybeEmpty = 302;
260     stscInFileNotFound = 303;
261     stscREInFileError = 304;
262     stscOutFileDelete = 305;
263     stscOutFileCreate = 306;
264    
265    
266     {StNet errors 320-339}
267     stscNetNoManualCreate = 320;
268     stscNetUnknownError = 321;
269     stscNetGroupNotSpecified = 322;
270     stscNetDateSpecifiedOutOfRange = 323;
271     stscNetInvalidParameter = 324;
272     stscNetInvalidItemType = 325;
273    
274     {StNetConnection errors 330-334}
275    
276     {StNetPerformance errors 335-339}
277    
278     {StNetMessage errors 340-344}
279    
280     {StMoney errors 400-429}
281     // stscMoneyIdxOutOfRange = 400; //'Index out of range (%s)'
282     stscMoneyNilResult = 401; //'Nil result parameter'
283     stscMoneyNilParameter = 402; //'Nil parameter to operation'
284     stscMoneyCurrenciesNotMatch = 403; //'Currencies do not match'
285     stscMoneyNoExchangeRatesAvail = 410; //'No Exchange Rates Available'
286     stscMoneyInvalidExchangeParams = 411; //'Invalid exchange parameters'
287     stscMoneyInvalidTriangleExchange = 412; //'Invalid triangle exchange'
288     stscMoneyNoSuchExchange = 413; //'No exchange rate for %s->%s available'
289     stscMoneyMissingIntermediateRate = 414; //''Intermediate exchange rate for %s->%s missing'
290     stscMoneyInvalidExchRate = 415; //'Exchange rate is missing a property value'
291     stscMoneyTriExchUsesTriExch = 415; //'Triangular exchange rate is using triangular exchange rates'
292    
293     stscDecMathRoundPlaces = 423; //'Decimal math: the number of decimal places to round to must be betwen 0 and 16'
294     stscDecMathAsIntOverflow = 424; //'Decimal math: current value overflows an integer'
295     stscDecMathConversion = 425; //'Decimal math: string value not a valid number';
296     stscDecMathDivByZero = 426; //'Decimal math: division by zero attempted'
297     stscDecMathNegExp = 427; //'Decimal math: cannot raise to a negative power';
298     stscDecMathMultOverflow = 428; //'Decimal math: result overflowed during multiplication'
299     stscDecMathDivOverflow = 429; //'Decimal math: result overflowed during division'
300    
301     { Text Data Set, Merge, and Export errors }
302     stscTxtDatNoSuchField = 430; //'No such field'
303     stscTxtDatUniqueNameRequired = 431; //'Field name must be unique'
304     stscTxtDatUnhandledVariant = 432; //'Unhandled Variant Type'
305     stscTxtDatInvalidSchema = 433; //'Invalid Schema'
306     stscTxtDatRecordSetOpen = 434; //'Cannot perform this operation on an open record set'
307    
308     {PRNG errors 460-479}
309     stscPRNGDegFreedom = 460; //'StRandom: the number of degrees of freedom should be greater than zero'
310     stscPRNGBetaShape = 461; //'StRandom: the Beta distribution shape values should be greater than zero'
311     stscPRNGMean = 462; //'StRandom: the mean must be greater than zero'
312     stscPRNGGammaShape = 463; //'StRandom: the Gamma distribution shape must be greater than zero'
313     stscPRNGGammaScale = 464; //'StRandom: the Gamma distribution scale must be greater than zero'
314     stscPRNGStdDev = 465; //'StRandom: the standard deviation must be greater than zero'
315     stscPRNGWeibullShape = 466; //'StRandom: the Weibull distribution shape must be greater than zero'
316     stscPRNGWeibullScale = 467; //'StRandom: the Weibull distribution scale must be greater than zero'
317     stscPRNGLimit = 468; //'StRandom: the limit must be greater than zero'
318     stscPRNGUpperLimit = 469; //'StRandom: the upper limit must be greater than the lower limit'
319     stscPRNGErlangOrder = 470; //'StRandom: the Erlang distribution's order must be greater than zero'
320    
321     resourcestring
322     stscSysStringListFull = 'String list is full';
323     stscSysBadStartDir = 'Invalid starting directory';
324    
325     stscFalseStringS = 'FALSE';
326     stscTrueStringS = 'TRUE';
327     stscNoFileKeyS = 'No Ini File or Primary Key specified';
328     stscInvalidPKeyS = 'Invalid primary key specified';
329     stscNoWin32SS = 'RegIni Class not supported under Win32s';
330     stscCreateKeyFailS = 'Failed to create key\nError Code: %d';
331     stscOpenKeyFailS = 'Failed to open key\nError Code: %d';
332     stscIniWriteFailS = 'Failed to write value to INI file';
333     stscRegWriteFailS = 'Failed to write value to Registry\nError Code: %d';
334     stscNoKeyNameS = 'No key name specified';
335     stscQueryKeyFailS = 'Unable to query specified key\nError Code: %d';
336     stscEnumKeyFailS = 'Unable to enumerate key\nError Code: %d';
337     stscEnumValueFailS = 'Unable to enumerate value\nError Code: %d';
338     stscIniDeleteFailS = 'Unable to delete section from INI file';
339     stscKeyHasSubKeysS = 'Can not delete key which has subkeys (%d)';
340     stscDeleteKeyFailS = 'Unable to delete key\nError Code: %d';
341     stscIniDelValueFailS = 'Unable to delete value from INI file';
342     stscRegDelValueFailS = 'Unable to delete value from key\nError Code: %d';
343     stscOutputFileExistsS = 'Output file exists';
344     stscFileHasExtensionS = 'File name can not have an extension';
345     stscSaveKeyFailS = 'Unable to save key\nError Code: %d';
346     stscNo16bitSupportS = 'Function not supported in 16-bit applications';
347     stscCantFindInputFileS = 'Can not find input file';
348     stscLoadKeyFailS = 'Unable to load key\nError Code: %d';
349     stscUnloadKeyFailS = 'Unable to unload key\nErrorCode: %d';
350     stscNotWinNTPlatformS = 'Function not supported on this platform';
351     stscBadOptionsKeyComboS = 'Selection options incompatible\nwith specified primary key';
352     stscRestoreKeyFailS = 'Unable to restore key\nError Code: %d';
353     stscReplaceKeyFailS = 'Unable to replace key\nError Code: %d';
354     stscNoIniFileSupportS = 'Function not supported on INI files';
355     stscRemoteKeyIsOpenS = 'Remote key already open';
356     stscConnectRemoteKeyFailS = 'Unable to connect to remote registry key\nError Code: %d';
357     stscCloseRemoteKeyFailS = 'Unable to close remote registry key';
358     stscFlushKeyFailS = 'Unable to flush specified key';
359     stscBufferDataSizesDifS = 'Buffer size differs from data size\nBuffer: %d Data: %d';
360     stscKeyIsEmptyNotExistsS = 'Specified Key is empty or does not exist';
361     stscGetSecurityFailS = 'Failed to Get Security Information\nError Code: %d';
362     stscSetSecurityFailS = 'Failed to Set Security Information\nError Code: %d';
363     stscByteArrayTooLargeS = 'Size of byte array exceeds limit';
364     stscQueryValueFailS = 'Unable to query value in key';
365     stscNoValueNameSpecifiedS = 'No Value Name specified';
366    
367     stscNoCompareS = 'Compare property must be set';
368     stscBadTypeS = 'An incompatible class is passed to a method';
369     stscBadSizeS = 'Bad size parameter';
370     stscDupNodeS = 'Attempt to add duplicate node to TStTree';
371     stscBadIndexS = 'Index is out of range';
372     stscBadWinModeS = 'Requires enhanced mode operation for Windows 3.1x';
373     stscUnknownClassS = 'Container class name %s read from stream is unregistered';
374     stscUnknownNodeClassS = 'Node class name %s read from stream is unregistered';
375     stscNoStoreDataS = 'Container''s StoreData property is unassigned';
376     stscNoLoadDataS = 'Container''s LoadData property is unassigned';
377     stscWrongClassS = 'Class name on stream differs from object''s class';
378     stscWrongNodeClassS = 'Node class name on stream differs from object''s node class';
379     stscBadCompareS = 'Unable to assign this compare function now';
380     stscTooManyColsS = 'Cannot assign a matrix with more than 1 column to an array';
381     stscBadColCountS = 'Can only assign a matrix to a virtual matrix if column counts are equal';
382     stscBadElSizeS = 'Can only assign a matrix to a virtual matrix if element sizes are equal';
383     stscBadDupsS = 'Can only set Duplicates to False in an empty sorted collection';
384    
385     stscTooManyFilesS = 'Too many merge files in TStSorter';
386     stscFileCreateS = 'Error creating file';
387     stscFileOpenS = 'Error opening file';
388     stscFileWriteS = 'Error writing file (bytes written <> bytes requested)';
389     stscFileReadS = 'Error reading file (bytes read <> bytes requested)';
390     stscBadStateS = 'TStSorter in wrong state';
391    
392     stscBcdBadFormatS = 'Bad BCD format';
393     stscBcdOverflowS = 'BCD larger than 10**64';
394     stscBcdDivByZeroS = 'BCD divide by zero';
395     stscBcdBadInputS = 'BCD negative input to sqrt, ln, or power';
396     stscBcdBufOverflowS = 'Buffer overflow in FormatBcd';
397    
398     stscNoVerInfoS = 'File does not contain version info';
399     stscVerInfoFailS = 'Unable to read version info';
400    
401     (*
402     stscShellVersionErrorS = 'Operation not supported in this version of the shell';
403     stscShellFileOpSrcErrorS = 'No source files specified';
404     stscShellFileOpDstErrorS = 'No destination files specified';
405     stscShellFileOpMapErrorS = 'File mapping incomplete';
406     stscShellFormatErrorS = 'Format failed';
407     stscShellFormatCancelS = 'Format cancelled';
408     stscShellFormatNoFormatS = 'Drive cannot be formatted';
409     stscShellFormatBadDriveS = 'Invalid drive. Drive is not removable';
410     stscTrayIconInvalidOSS = 'Operating system does not support tray icons';
411     stscTrayIconCantAddS = 'Error adding tray icon';
412     stscTrayIconCantDeleteS = 'Error removing tray icon';
413     stscTrayIconErrorS = 'Tray icon error';
414     stscBadDropTargetS = 'Drop target must be a TWinControl descendant';
415     stscCOMInitFailedS = 'Cannot initialize COM';
416     stscNoPathSpecifiedS = 'Destination directory not specified';
417     stscIShellLinkErrorS = 'Error creating IShellLink';
418     stscNotShortcutS = 'File is not a shortcut';
419     stscTrayIconCloseS = '&Close';
420     stscTrayIconRestoreS = '&Restore';
421     stscInvalidTargetFileS = 'Cannot create shortcut. Target file does not exist';
422     stscShellFileOpDeleteS = 'Cannot use file mappings in a delete operation';
423     stscShellFileNotFoundS = 'Source file error, file not found';
424     stscTrayIconDuplicateS = 'Cannot have more than one StTrayIcon per application';
425     stscBadVerInfoKeyS = 'The specified key cannnot be found in version info';
426     stscImageListInvalidS = 'ImageList is not assigned';
427     *)
428     stscBadVerInfoKeyS = 'The specified key cannnot be found in version info';
429    
430     stscInvalidUPCACodeLenS = 'Invalid code length (must be 11 or 12)';
431     stscInvalidCharacterS = 'Invalid character';
432     stscInvalidCheckCharacterS = 'Invalid check character';
433     stscInvalidUPCECodeLenS = 'Invalid code length (must be 6)';
434     stscInvalidEAN8CodeLenS = 'Invalid code length (must be 7 or 8)';
435     stscInvalidEAN13CodeLenS = 'Invalid code length (must be 12 or 13)';
436     stscInvalidSupCodeLenS = 'Invalid supplemental code length (must be 2 or 5)';
437    
438     stscFinBadArgS = 'Invalid argument to financial function';
439     stscFinNoConvergeS = 'Function does not converge';
440    
441     stscExprEmptyS = 'Empty expression';
442     stscExprBadNumS = 'Error in floating point number';
443     stscExprBadCharS = 'Unknown character';
444     stscExprOpndExpS = 'Expected function, number, sign, or (';
445     stscExprNumericS = 'Numeric error';
446     stscExprBadExpS = 'Invalid expression';
447     stscExprOpndOvflS = 'Operand stack overflow';
448     stscExprUnkFuncS = 'Unknown function identifier';
449     stscExprLParExpS = 'Left parenthesis expected';
450     stscExprRParExpS = 'Right parenthesis expected';
451     stscExprCommExpS = 'List separator expected';
452     stscExprDupIdentS = 'Duplicate identifier';
453    
454     stscBadEncodeFmtS = 'Encoding Format Not Supported';
455     stscBadAttachmentS = 'Attachment Doesn''t Exist';
456     stscDupeStringS = 'Duplicate string';
457     stscInStreamS = 'Error in input stream';
458    
459     stscOutOfBoundsS = 'Index out of string bounds';
460    
461     stscInvalidLengthS = 'POSTNET code must be 5, 9 or 11 digits';
462    
463    
464     stscNoInputFileS = 'Input file not specified';
465     stscNoOutputFileS = 'Output file not specified';
466     stscInFileErrorS = 'Error opening input file';
467     stscOutFileErrorS = 'Error creating output file';
468    
469    
470     stscNameS = 'Name';
471     stscSizeS = 'Size';
472     stscTypeS = 'Type';
473     stscModifiedS = 'Modified';
474     stscAttributesS = 'Attributes';
475     stscFileFolderS = 'File Folder';
476     stscSystemFolderS = 'System Folder';
477     stscOriginalLocS = 'Original Location';
478     stscDateDeletedS = 'Date Deleted';
479     stscFileS = 'File';
480     stscInvalidFolderS = 'Invalid folder';
481     stscFolderReadOnlyS = 'Cannot create folder: Parent folder is read-only';
482     stscInvalidSortDirS = 'Invalid sort direction';
483    
484     stscInsufficientDataS = 'FileName cannot be empty when RunParameters is specified';
485    
486     stscCreateFileFailedS = 'CreateFile failed';
487     stscFileMappingFailedS = 'CreateFileMapping failed';
488     stscCreateViewFailedS = 'MapViewOfFile failed';
489     stscBadOriginS = 'Bad origin parameter for call to Seek';
490     stscGetSizeFailedS = 'Error reading size of existing file';
491    
492     stscNilStreamS = 'Buffered/text stream: Attempted to read, write, or seek and underlying stream is nil';
493     stscNoSeekForReadS = 'Buffered/text stream: Could not seek to the correct position in the underlying stream (for read request)';
494     stscNoSeekForWriteS = 'Buffered/text stream: Could not seek to the correct position in the underlying stream (for write request)';
495     stscCannotWriteS = 'Buffered/text stream: Could not write the entire buffer to the underlying stream';
496     stscBadTerminatorS = 'Text stream: Case statement was used with a bad value of LineTerminator';
497     stscBadLineLengthS = 'Text stream: Length of a fixed line must be between 1 and 4096 bytes';
498     stscCannotSetSizeS = 'Buffered/text stream: Cannot set the size of the underlying stream (needs OnSetStreamSize event)';
499    
500     stscUnknownErrorS = 'Unknown error creating a pattern token';
501     stscExpandingClassS = 'Problem in expanding character class';
502     stscAlternationFollowsClosureS = 'Alternation cannot immediately follow a closure marker';
503     stscUnbalancedParensS = 'Unbalanced nesting parentheses';
504     stscFollowingClosureS = 'Closure cannot immediately follow BegOfLine, EndOfLine or another closure';
505     stscPatternErrorS = 'Error detected near end of pattern';
506     stscUnbalancedTagS = 'Unbalanced tag marker';
507     stscNoPatternsS = 'No Match, Replace, or SelAvoid Patterns defined';
508     stscPatternTooLargeS = 'Pattern exceeds MaxPatLen';
509     stscStreamsNilS = 'Input and/or output stream is not assigned';
510     stscInTextStreamErrorS = 'Error creating internal input text stream';
511     stscOutTextStreamErrorS = 'Error creating internal output text stream';
512     stscClosureMaybeEmptyS = 'A * or + operand could be empty';
513     stscOutFileDeleteS = 'Error deleting old previous file';
514     stscInFileNotFoundS = 'Input file not found';
515     stscREInFileErrorS = 'Error creating internal text stream';
516     stscOutFileCreateS = 'Error creating output file';
517    
518    
519     stscNetNoManualCreateS = 'Can''t manually create an object of this type';
520     stscNetUnknownErrorS = 'Unknown network error';
521     stscNetGroupNotSpecifiedS = 'Local or global group not specified';
522     stscNetDateSpecifiedOutOfRangeS = 'Date specified out or range';
523     stscNetInvalidParameterS = 'Invalid parameter';
524     stscNetInvalidItemTypeS = 'Invalid item type for this method';
525    
526     stscStatBadCountS = 'Unequal or bad counts of array elements';
527     stscStatBadParamS = 'Invalid parameter';
528     stscStatBadDataS = 'Invalid data point in array';
529     stscStatNoConvergeS = 'no convergence in numerical routine';
530    
531     stscWordDelimitersS = '219';
532     stscInvalidSLEntryS = '220';
533     stscBadStreamS = '221';
534    
535     stscMoneyIdxOutOfRangeS = 'Index out of range (%s)';
536     stscMoneyNilResultS = 'Nil result parameter';
537     stscMoneyNilParameterS = 'Nil parameter to operation';
538     stscMoneyCurrenciesNotMatchS = 'Currencies do not match';
539     stscMoneyNoExchangeRatesAvailS = 'No Exchange Rates Available';
540     stscMoneyInvalidExchangeParamsS = 'Invalid exchange parameters';
541     stscMoneyInvalidTriangleExchangeS = 'Invalid triangle exchange';
542     stscMoneyNoSuchExchangeS = 'No exchange rate for %s->%s available';
543     stscMoneyMissingIntermediateRateS = 'Intermediate exchange rate for %s->%s missing';
544     stscMoneyInvalidExchRateS = 'Exchange rate is missing a property value';
545     stscMoneyTriExchUsesTriExchS = 'Triangular exchange rate is using triangular exchange rates';
546    
547     stscDecMathRoundPlacesS = 'Decimal math: the number of decimal places to round to must be betwen 0 and 16';
548     stscDecMathAsIntOverflowS = 'Decimal math: current value overflows an integer';
549     stscDecMathConversionS = 'Decimal math: string value not a valid number';
550     stscDecMathDivByZeroS = 'Decimal math: division by zero attempted';
551     stscDecMathNegExpS = 'Decimal math: cannot raise to a negative power';
552     stscDecMathMultOverflowS = 'Decimal math: result overflowed during multiplication';
553     stscDecMathDivOverflowS = 'Decimal math: result overflowed during division';
554    
555     stscTxtDatNoSuchFieldS = 'No such field';
556     stscTxtDatUniqueNameRequiredS = 'Field name must be unique';
557     stscTxtDatUnhandledVariantS = 'Unhandled Variant Type';
558     stscTxtDatInvalidSchemaS = 'Invalid Schema';
559     stscTxtDatRecordSetOpenS = 'Cannot perform this operation on an open record set';
560    
561     stscPRNGDegFreedomS = 'StRandom: the number of degrees of freedom should be greater than zero';
562     stscPRNGBetaShapeS = 'StRandom: the Beta distribution shape values should be greater than zero';
563     stscPRNGMeanS = 'StRandom: the mean must be greater than zero';
564     stscPRNGGammaShapeS = 'StRandom: the Gamma distribution shape must be greater than zero';
565     stscPRNGGammaScaleS = 'StRandom: the Gamma distribution scale must be greater than zero';
566     stscPRNGStdDevS = 'StRandom: the standard deviation must be greater than zero';
567     stscPRNGWeibullShapeS = 'StRandom: the Weibull distribution shape must be greater than zero';
568     stscPRNGWeibullScaleS = 'StRandom: the Weibull distribution scale must be greater than zero';
569     stscPRNGLimitS = 'StRandom: the limit must be greater than zero';
570     stscPRNGUpperLimitS = 'StRandom: the upper limit must be greater than the lower limit';
571     stscPRNGErlangOrderS = 'StRandom: the Erlang distribution''s order must be greater than zero';
572    
573    
574     type
575     StStrRec = record
576     ID: Integer;
577     Str: string;
578     end;
579    
580     const
581     SysToolsStrArray : array [0..174] of StStrRec = (
582    
583     {string table constants for STREGINI}
584     (ID: stscFalseString; Str: stscFalseStringS),
585     (ID: stscTrueString; Str: stscTrueStringS),
586     (ID: stscNoFileKey; Str: stscNoFileKeyS),
587     (ID: stscInvalidPKey; Str: stscInvalidPKeyS),
588     (ID: stscNoWin32S; Str: stscNoWin32SS),
589     (ID: stscCreateKeyFail; Str: stscCreateKeyFailS),
590     (ID: stscOpenKeyFail; Str: stscOpenKeyFailS),
591     (ID: stscIniWriteFail; Str: stscIniWriteFailS),
592     (ID: stscRegWriteFail; Str: stscRegWriteFailS),
593     (ID: stscNoKeyName; Str: stscNoKeyNameS),
594     (ID: stscQueryKeyFail; Str: stscQueryKeyFailS),
595     (ID: stscEnumKeyFail; Str: stscEnumKeyFailS),
596     (ID: stscEnumValueFail; Str: stscEnumValueFailS),
597     (ID: stscIniDeleteFail; Str: stscIniDeleteFailS),
598     (ID: stscKeyHasSubKeys; Str: stscKeyHasSubKeysS),
599     (ID: stscDeleteKeyFail; Str: stscDeleteKeyFailS),
600     (ID: stscIniDelValueFail; Str: stscIniDelValueFailS),
601     (ID: stscRegDelValueFail; Str: stscRegDelValueFailS),
602     (ID: stscOutputFileExists; Str: stscOutputFileExistsS),
603     (ID: stscFileHasExtension; Str: stscFileHasExtensionS),
604     (ID: stscSaveKeyFail; Str: stscSaveKeyFailS),
605     (ID: stscNo16bitSupport; Str: stscNo16bitSupportS),
606     (ID: stscCantFindInputFile; Str: stscCantFindInputFileS),
607     (ID: stscLoadKeyFail; Str: stscLoadKeyFailS),
608     (ID: stscUnloadKeyFail; Str: stscUnloadKeyFailS),
609     (ID: stscNotWinNTPlatform; Str: stscNotWinNTPlatformS),
610     (ID: stscBadOptionsKeyCombo; Str: stscBadOptionsKeyComboS),
611     (ID: stscRestoreKeyFail; Str: stscRestoreKeyFailS),
612     (ID: stscReplaceKeyFail; Str: stscReplaceKeyFailS),
613     (ID: stscNoIniFileSupport; Str: stscNoIniFileSupportS),
614     (ID: stscRemoteKeyIsOpen; Str: stscRemoteKeyIsOpenS),
615     (ID: stscConnectRemoteKeyFail; Str: stscConnectRemoteKeyFailS),
616     (ID: stscCloseRemoteKeyFail; Str: stscCloseRemoteKeyFailS),
617     (ID: stscFlushKeyFail; Str: stscFlushKeyFailS),
618     (ID: stscBufferDataSizesDif; Str: stscBufferDataSizesDifS),
619     (ID: stscKeyIsEmptyNotExists; Str: stscKeyIsEmptyNotExistsS),
620     (ID: stscGetSecurityFail; Str: stscGetSecurityFailS),
621     (ID: stscSetSecurityFail; Str: stscSetSecurityFailS),
622     (ID: stscByteArrayTooLarge; Str: stscByteArrayTooLargeS),
623     (ID: stscQueryValueFail; Str: stscQueryValueFailS),
624     (ID: stscNoValueNameSpecified; Str: stscNoValueNameSpecifiedS),
625    
626     {string table constants for container classes}
627     (ID: stscNoCompare; Str: stscNoCompareS), {Compare property must be set}
628     (ID: stscBadType; Str: stscBadTypeS), {an incompatible class is passed to a method}
629     (ID: stscBadSize; Str: stscBadSizeS), {bad size for TStDictionary, TStBits, TStCollection}
630     (ID: stscDupNode; Str: stscDupNodeS), {attempt to add duplicate node to TStTree}
631     (ID: stscBadIndex; Str: stscBadIndexS), {bad index passed to TStBits or large array}
632     (ID: stscBadWinMode; Str: stscBadWinModeS), {requires enhanced mode operation}
633     (ID: stscUnknownClass; Str: stscUnknownClassS), {container class name not registered}
634     (ID: stscUnknownNodeClass; Str: stscUnknownNodeClassS), {container node class name not registered}
635     (ID: stscNoStoreData; Str: stscNoStoreDataS), {container has no store data routine}
636     (ID: stscNoLoadData; Str: stscNoLoadDataS), {container has no load data routine}
637     (ID: stscWrongClass; Str: stscWrongClassS), {container class and streamed class not equal}
638     (ID: stscWrongNodeClass; Str: stscWrongNodeClassS), {container node class and streamed class not equal}
639     (ID: stscBadCompare; Str: stscBadCompareS), {invalid compare function or unable to assign now}
640     (ID: stscTooManyCols; Str: stscTooManyColsS), {assign a matrix with >1 col to array}
641     (ID: stscBadColCount; Str: stscBadColCountS), {assign a matrix with wrong col count to virtual matrix}
642     (ID: stscBadElSize; Str: stscBadElSizeS), {assign a matrix with wrong elem size to virtual matrix}
643     (ID: stscBadDups; Str: stscBadDupsS), {setting Dups to False in a non-empty sorted collection}
644    
645     {string table constants for sorting unit}
646     (ID: stscTooManyFiles; Str: stscTooManyFilesS), {too many merge files in TStSorter}
647     (ID: stscFileCreate; Str: stscFileCreateS), {error creating file in TStSorter}
648     (ID: stscFileOpen; Str: stscFileOpenS), {error opening file in TStSorter}
649     (ID: stscFileWrite; Str: stscFileWriteS), {error writing file in TStSorter}
650     (ID: stscFileRead; Str: stscFileReadS), {error reading file in TStSorter}
651     (ID: stscBadState; Str: stscBadStateS), {TStSorter in wrong state}
652    
653     {string table constants for Bcd unit}
654     (ID: stscBcdBadFormat; Str: stscBcdBadFormatS), {bad BCD format}
655     (ID: stscBcdOverflow; Str: stscBcdOverflowS), {BCD larger than 10**64}
656     (ID: stscBcdDivByZero; Str: stscBcdDivByZeroS), {BCD divide by zero}
657     (ID: stscBcdBadInput; Str: stscBcdBadInputS), {BCD negative input to sqrt, ln, or power}
658     (ID: stscBcdBufOverflow; Str: stscBcdBufOverflowS), {buffer overflow in FormatBcd}
659     (ID: stscNoVerInfo; Str: stscNoVerInfoS), {no version info in file}
660     (ID: stscVerInfoFail; Str: stscVerInfoFailS), {error reading version info}
661    
662     (*
663     {shell string constants}
664     (ID: stscShellVersionError; Str: stscShellVersionErrorS), {not available in this version of Shell32.dll}
665     (ID: stscShellFileOpSrcError; Str: stscShellFileOpSrcErrorS), {no source files specified}
666     (ID: stscShellFileOpDstError; Str: stscShellFileOpDstErrorS), {no destination files specified}
667     (ID: stscShellFileOpMapError; Str: stscShellFileOpMapErrorS), {mapping incomplete}
668     (ID: stscShellFormatError; Str: stscShellFormatErrorS), {format error}
669     (ID: stscShellFormatCancel; Str: stscShellFormatCancelS), {format cancelled}
670     (ID: stscShellFormatNoFormat; Str: stscShellFormatNoFormatS), {drive cannot be formatted}
671     (ID: stscShellFormatBadDrive; Str: stscShellFormatBadDriveS), {not removable drive}
672     (ID: stscTrayIconInvalidOS; Str: stscTrayIconInvalidOSS), {bad OS (NT 3.51)}
673     (ID: stscTrayIconCantAdd; Str: stscTrayIconCantAddS), {can't add icon to the tray}
674     (ID: stscTrayIconCantDelete; Str: stscTrayIconCantDeleteS), {can't delete icon from the tray}
675     (ID: stscTrayIconError; Str: stscTrayIconErrorS), {general tray icon error}
676     (ID: stscBadDropTarget; Str: stscBadDropTargetS), {drop target is not TWinControl}
677     (ID: stscCOMInitFailed; Str: stscCOMInitFailedS), {COInitialize failed}
678     (ID: stscNoPathSpecified; Str: stscNoPathSpecifiedS), {No destination path for shortcut}
679     (ID: stscIShellLinkError; Str: stscIShellLinkErrorS), {Error creating IShellLink}
680     (ID: stscNotShortcut; Str: stscNotShortcutS), {File is not a shortcut}
681     (ID: stscTrayIconClose; Str: stscTrayIconCloseS), {Close}
682     (ID: stscTrayIconRestore; Str: stscTrayIconRestoreS), {Restore}
683     (ID: stscInvalidTargetFile; Str: stscInvalidTargetFileS), {Shortcut target file not found}
684     (ID: stscShellFileOpDelete; Str: stscShellFileOpDeleteS), {Can't use file mappings with delete op}
685     (ID: stscShellFileNotFound; Str: stscShellFileNotFoundS), {One or more source files is missing}
686     (ID: stscTrayIconDuplicate; Str: stscTrayIconDuplicateS), {Cant' have more than one tray icon}
687     (ID: stscBadVerInfoKey; Str: stscBadVerInfoKeyS), {User-defined key not found in ver info}
688     (ID: stscImageListInvalid; Str: stscImageListInvalidS), {No image list assigned.}
689     *)
690     (ID: stscBadVerInfoKey; Str: stscBadVerInfoKeyS), {User-defined key not found in ver info}
691    
692     {barcode errors}
693     (ID: stscInvalidUPCACodeLen; Str: stscInvalidUPCACodeLenS),
694     (ID: stscInvalidCharacter; Str: stscInvalidCharacterS),
695     (ID: stscInvalidCheckCharacter; Str: stscInvalidCheckCharacterS),
696     (ID: stscInvalidUPCECodeLen; Str: stscInvalidUPCECodeLenS),
697     (ID: stscInvalidEAN8CodeLen; Str: stscInvalidEAN8CodeLenS),
698     (ID: stscInvalidEAN13CodeLen; Str: stscInvalidEAN13CodeLenS),
699     (ID: stscInvalidSupCodeLen; Str: stscInvalidSupCodeLenS),
700    
701     {stexpr errors}
702     (ID: stscExprEmpty; Str: stscExprEmptyS), {empty expression}
703     (ID: stscExprBadNum; Str: stscExprBadNumS), {error in floating point number}
704     (ID: stscExprBadChar; Str: stscExprBadCharS), {unknown character}
705     (ID: stscExprOpndExp; Str: stscExprOpndExpS), {expected function, number, sign, or (}
706     (ID: stscExprNumeric; Str: stscExprNumericS), {numeric error}
707     (ID: stscExprBadExp; Str: stscExprBadExpS), {invalid expression}
708     (ID: stscExprOpndOvfl; Str: stscExprOpndOvflS), {operand stack overflow}
709     (ID: stscExprUnkFunc; Str: stscExprUnkFuncS), {unknown function identifier}
710     (ID: stscExprLParExp; Str: stscExprLParExpS), {left parenthesis expected}
711     (ID: stscExprRParExp; Str: stscExprRParExpS), {right parenthesis expected}
712     (ID: stscExprCommExp; Str: stscExprCommExpS), {list separator (comma) expected}
713     (ID: stscExprDupIdent; Str: stscExprDupIdentS), {duplicate identifier}
714    
715     {ststat errors}
716     (ID: stscStatBadCount; Str: stscStatBadCountS), {unequal or bad counts of array elements}
717     (ID: stscStatBadParam; Str: stscStatBadParamS), {invalid parameter}
718     (ID: stscStatBadData; Str: stscStatBadDataS), {invalid data point in array}
719     (ID: stscStatNoConverge; Str: stscStatNoConvergeS), {no convergence in numerical routine}
720    
721     {stfin errors}
722     (ID: stscFinBadArg; Str: stscFinBadArgS),
723     (ID: stscFinNoConverge; Str: stscFinNoConvergeS),
724    
725     {stmime errors}
726     (ID: stscBadEncodeFmt; Str: stscBadEncodeFmtS),
727     (ID: stscBadAttachment; Str: stscBadAttachmentS),
728     (ID: stscDupeString; Str: stscDupeStringS),
729     (ID: stscInStream; Str: stscInStreamS),
730    
731     {ststring errors}
732     (ID: stscOutOfBounds; Str: stscOutOfBoundsS), {Index out of string bounds}
733    
734    
735     {stBarPN errors}
736     (ID: stscInvalidLength; Str: stscInvalidLengthS),
737    
738     {StHTML errors}
739     (ID: stscNoInputFile; Str: stscNoInputFileS),
740     (ID: stscNoOutputFile; Str: stscNoOutputFileS),
741     (ID: stscInFileError; Str: stscInFileErrorS),
742     (ID: stscOutFileError; Str: stscOutFileErrorS),
743     (ID: stscWordDelimiters; Str: stscWordDelimitersS),
744     (ID: stscInvalidSLEntry; Str: stscInvalidSLEntryS),
745     (ID: stscBadStream; Str: stscBadStreamS),
746    
747     {StShlCtl constansts}
748     (ID: stscName; Str: stscNameS),
749     (ID: stscSize; Str: stscSizeS),
750     (ID: stscType; Str: stscTypeS),
751     (ID: stscModified; Str: stscModifiedS),
752     (ID: stscAttributes; Str: stscAttributesS),
753     (ID: stscFileFolder; Str: stscFileFolderS),
754     (ID: stscSystemFolder; Str: stscSystemFolderS),
755     (ID: stscOriginalLoc; Str: stscOriginalLocS),
756     (ID: stscDateDeleted; Str: stscDateDeletedS),
757     (ID: stscFile; Str: stscFileS),
758     (ID: stscInvalidFolder; Str: stscInvalidFolderS),
759     (ID: stscFolderReadOnly; Str: stscFolderReadOnlyS),
760    
761     {StSpawnApplication errors}
762     (ID: stscInsufficientData; Str: stscInsufficientDataS),
763    
764     {StMemoryMappedFile errors}
765     (ID: stscCreateFileFailed; Str: stscCreateFileFailedS),
766     (ID: stscFileMappingFailed; Str: stscFileMappingFailedS),
767     (ID: stscCreateViewFailed; Str: stscCreateViewFailedS),
768     (ID: stscBadOrigin; Str: stscBadOriginS),
769     (ID: stscGetSizeFailed; Str: stscGetSizeFailedS),
770    
771     {buffered stream errors}
772     (ID: stscNilStream; Str: stscNilStreamS),
773     (ID: stscNoSeekForRead; Str: stscNoSeekForReadS),
774     (ID: stscNoSeekForWrite; Str: stscNoSeekForWriteS),
775     (ID: stscCannotWrite; Str: stscCannotWriteS),
776     (ID: stscBadTerminator; Str: stscBadTerminatorS),
777     (ID: stscBadLineLength; Str: stscBadLineLengthS),
778     (ID: stscCannotSetSize; Str: stscCannotSetSizeS),
779    
780     {RegEx errors}
781     (ID: stscUnknownError; Str: stscUnknownErrorS),
782     (ID: stscExpandingClass; Str: stscExpandingClassS),
783     (ID: stscAlternationFollowsClosure; Str: stscAlternationFollowsClosureS),
784     (ID: stscUnbalancedParens; Str: stscUnbalancedParensS),
785     (ID: stscFollowingClosure; Str: stscFollowingClosureS),
786     (ID: stscPatternError; Str: stscPatternErrorS),
787     (ID: stscUnbalancedTag; Str: stscUnbalancedTagS),
788     (ID: stscNoPatterns; Str: stscNoPatternsS),
789     (ID: stscPatternTooLarge; Str: stscPatternTooLargeS),
790     (ID: stscStreamsNil; Str: stscStreamsNilS),
791     (ID: stscInTextStreamError; Str: stscInTextStreamErrorS),
792     (ID: stscOutTextStreamError; Str: stscOutTextStreamErrorS),
793     (ID: stscClosureMaybeEmpty; Str: stscClosureMaybeEmptyS),
794     (ID: stscInFileNotFound; Str: stscInFileNotFoundS),
795     (ID: stscREInFileError; Str: stscREInFileErrorS),
796     (ID: stscOutFileDelete; Str: stscOutFileDeleteS),
797     (ID: stscOutFileCreate; Str: stscOutFileCreateS),
798    
799    
800     {StNet errors 320-339}
801     (ID: stscNetNoManualCreate; Str: stscNetNoManualCreateS),
802     (ID: stscNetUnknownError; Str: stscNetUnknownErrorS),
803     (ID: stscNetGroupNotSpecified; Str: stscNetGroupNotSpecifiedS),
804     (ID: stscNetDateSpecifiedOutOfRange; Str: stscNetDateSpecifiedOutOfRangeS),
805     (ID: stscNetInvalidParameter; Str: stscNetInvalidParameterS),
806     (ID: stscNetInvalidItemType; Str: stscNetInvalidItemTypeS),
807    
808     { StMoney errors }
809     // (ID: stscMoneyIdxOutOfRange; Str: stscMoneyIdxOutOfRangeS),
810     (ID: stscMoneyNilResult; Str: stscMoneyNilResultS),
811     (ID: stscMoneyNilParameter; Str: stscMoneyNilParameterS),
812     (ID: stscMoneyCurrenciesNotMatch; Str: stscMoneyCurrenciesNotMatchS),
813     (ID: stscMoneyNoExchangeRatesAvail; Str: stscMoneyNoExchangeRatesAvailS),
814     (ID: stscMoneyInvalidExchangeParams; Str: stscMoneyInvalidExchangeParamsS),
815     (ID: stscMoneyInvalidTriangleExchange; Str: stscMoneyInvalidTriangleExchangeS),
816     (ID: stscMoneyNoSuchExchange; Str: stscMoneyNoSuchExchangeS),
817     (ID: stscMoneyMissingIntermediateRate; Str: stscMoneyMissingIntermediateRateS),
818     (ID: stscMoneyInvalidExchRate; Str: stscMoneyInvalidExchRateS),
819     (ID: stscMoneyTriExchUsesTriExch; Str: stscMoneyTriExchUsesTriExchS),
820     (ID: stscDecMathMultOverflow; Str: stscDecMathMultOverflowS),
821     (ID: stscDecMathDivOverflow; Str: stscDecMathDivOverflowS),
822    
823     (ID: stscTxtDatNoSuchField; Str: stscTxtDatNoSuchFieldS),
824     (ID: stscTxtDatUniqueNameRequired; Str: stscTxtDatUniqueNameRequiredS),
825     (ID: stscTxtDatUnhandledVariant; Str: stscTxtDatUnhandledVariantS),
826     (ID: stscTxtDatInvalidSchema; Str: stscTxtDatInvalidSchemaS),
827     (ID: stscTxtDatRecordSetOpen; Str: stscTxtDatRecordSetOpenS)
828     );
829    
830     function SysToolsStr(Index : Integer) : string;
831    
832     implementation
833    
834     function SysToolsStr(Index : Integer) : string;
835     var
836     i : Integer;
837     begin
838     for i := Low(SysToolsStrArray) to High(SysToolsStrArray) do
839     if SysToolsStrArray[i].ID = Index then
840     Result := SysToolsStrArray[i].Str;
841     end;
842    
843    
844     initialization
845    
846     end.

  ViewVC Help
Powered by ViewVC 1.1.20