xref: /aoo42x/main/basic/source/classes/sb.src (revision 63e57358)
116e24d1aSAndrew Rist/**************************************************************
2*63e57358Smseidel *
316e24d1aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
416e24d1aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
516e24d1aSAndrew Rist * distributed with this work for additional information
616e24d1aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
716e24d1aSAndrew Rist * to you under the Apache License, Version 2.0 (the
816e24d1aSAndrew Rist * "License"); you may not use this file except in compliance
916e24d1aSAndrew Rist * with the License.  You may obtain a copy of the License at
10*63e57358Smseidel *
1116e24d1aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*63e57358Smseidel *
1316e24d1aSAndrew Rist * Unless required by applicable law or agreed to in writing,
1416e24d1aSAndrew Rist * software distributed under the License is distributed on an
1516e24d1aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1616e24d1aSAndrew Rist * KIND, either express or implied.  See the License for the
1716e24d1aSAndrew Rist * specific language governing permissions and limitations
1816e24d1aSAndrew Rist * under the License.
19*63e57358Smseidel *
2016e24d1aSAndrew Rist *************************************************************/
2116e24d1aSAndrew Rist
2216e24d1aSAndrew Rist
23*63e57358Smseidel
24cdf0e10cSrcweir#define __RSC
25cdf0e10cSrcweir#ifndef _ERRCODE_HXX //autogen
26cdf0e10cSrcweir#include <tools/errcode.hxx>
27cdf0e10cSrcweir#endif
28cdf0e10cSrcweir#include "sb.hrc"
29cdf0e10cSrcweir#include <basic/sberrors.hxx>
30cdf0e10cSrcweir
31cdf0e10cSrcweirResource RID_BASIC_START
32cdf0e10cSrcweir{
33cdf0e10cSrcweir	String SbERR_SYNTAX & ERRCODE_RES_MASK
34cdf0e10cSrcweir	{
35cdf0e10cSrcweir		Text [ en-US ] = "Syntax error." ;
36cdf0e10cSrcweir	};
37cdf0e10cSrcweir	String SbERR_NO_GOSUB & ERRCODE_RES_MASK
38cdf0e10cSrcweir	{
39cdf0e10cSrcweir		Text [ en-US ] = "Return without Gosub." ;
40cdf0e10cSrcweir	};
41cdf0e10cSrcweir	String SbERR_REDO_FROM_START & ERRCODE_RES_MASK
42cdf0e10cSrcweir	{
43cdf0e10cSrcweir		Text [ en-US ] = "Incorrect entry; please retry." ;
44cdf0e10cSrcweir	};
45cdf0e10cSrcweir	String SbERR_BAD_ARGUMENT & ERRCODE_RES_MASK
46cdf0e10cSrcweir	{
47cdf0e10cSrcweir		Text [ en-US ] = "Invalid procedure call." ;
48cdf0e10cSrcweir	};
49cdf0e10cSrcweir	String SbERR_MATH_OVERFLOW & ERRCODE_RES_MASK
50cdf0e10cSrcweir	{
51cdf0e10cSrcweir		Text [ en-US ] = "Overflow." ;
52cdf0e10cSrcweir	};
53cdf0e10cSrcweir	String SbERR_NO_MEMORY & ERRCODE_RES_MASK
54cdf0e10cSrcweir	{
55cdf0e10cSrcweir		Text [ en-US ] = "Not enough memory." ;
56cdf0e10cSrcweir	};
57cdf0e10cSrcweir	String SbERR_ALREADY_DIM & ERRCODE_RES_MASK
58cdf0e10cSrcweir	{
59cdf0e10cSrcweir		Text [ en-US ] = "Array already dimensioned." ;
60cdf0e10cSrcweir	};
61cdf0e10cSrcweir	String SbERR_OUT_OF_RANGE & ERRCODE_RES_MASK
62cdf0e10cSrcweir	{
63cdf0e10cSrcweir		Text [ en-US ] = "Index out of defined range." ;
64cdf0e10cSrcweir	};
65cdf0e10cSrcweir	String SbERR_DUPLICATE_DEF & ERRCODE_RES_MASK
66cdf0e10cSrcweir	{
67cdf0e10cSrcweir		Text [ en-US ] = "Duplicate definition." ;
68cdf0e10cSrcweir	};
69cdf0e10cSrcweir	String SbERR_ZERODIV & ERRCODE_RES_MASK
70cdf0e10cSrcweir	{
71cdf0e10cSrcweir		Text [ en-US ] = "Division by zero." ;
72cdf0e10cSrcweir	};
73cdf0e10cSrcweir	String SbERR_VAR_UNDEFINED & ERRCODE_RES_MASK
74cdf0e10cSrcweir	{
75cdf0e10cSrcweir		Text [ en-US ] = "Variable not defined." ;
76cdf0e10cSrcweir	};
77cdf0e10cSrcweir	String SbERR_CONVERSION & ERRCODE_RES_MASK
78cdf0e10cSrcweir	{
79cdf0e10cSrcweir		Text [ en-US ] = "Data type mismatch." ;
80cdf0e10cSrcweir	};
81cdf0e10cSrcweir	String SbERR_BAD_PARAMETER & ERRCODE_RES_MASK
82cdf0e10cSrcweir	{
83cdf0e10cSrcweir		Text [ en-US ] = "Invalid parameter." ;
84cdf0e10cSrcweir	};
85cdf0e10cSrcweir	String SbERR_USER_ABORT & ERRCODE_RES_MASK
86cdf0e10cSrcweir	{
87cdf0e10cSrcweir		Text [ en-US ] = "Process interrupted by user." ;
88cdf0e10cSrcweir	};
89cdf0e10cSrcweir	String SbERR_BAD_RESUME & ERRCODE_RES_MASK
90cdf0e10cSrcweir	{
91cdf0e10cSrcweir		Text [ en-US ] = "Resume without error." ;
92cdf0e10cSrcweir	};
93cdf0e10cSrcweir	String SbERR_STACK_OVERFLOW & ERRCODE_RES_MASK
94cdf0e10cSrcweir	{
95cdf0e10cSrcweir		Text [ en-US ] = "Not enough stack memory." ;
96cdf0e10cSrcweir	};
97cdf0e10cSrcweir	String SbERR_PROC_UNDEFINED & ERRCODE_RES_MASK
98cdf0e10cSrcweir	{
99cdf0e10cSrcweir		Text [ en-US ] = "Sub-procedure or function procedure not defined." ;
100cdf0e10cSrcweir	};
101cdf0e10cSrcweir	String SbERR_BAD_DLL_LOAD & ERRCODE_RES_MASK
102cdf0e10cSrcweir	{
103cdf0e10cSrcweir		Text [ en-US ] = "Error loading DLL file." ;
104cdf0e10cSrcweir	};
105cdf0e10cSrcweir	String SbERR_BAD_DLL_CALL & ERRCODE_RES_MASK
106cdf0e10cSrcweir	{
107cdf0e10cSrcweir		Text [ en-US ] = "Wrong DLL call convention." ;
108cdf0e10cSrcweir	};
109cdf0e10cSrcweir	String SbERR_INTERNAL_ERROR & ERRCODE_RES_MASK
110cdf0e10cSrcweir	{
111cdf0e10cSrcweir		Text [ en-US ] = "Internal error $(ARG1)." ;
112cdf0e10cSrcweir	};
113cdf0e10cSrcweir	String SbERR_BAD_CHANNEL & ERRCODE_RES_MASK
114cdf0e10cSrcweir	{
115cdf0e10cSrcweir		Text [ en-US ] = "Invalid file name or file number." ;
116cdf0e10cSrcweir	};
117cdf0e10cSrcweir	String SbERR_FILE_NOT_FOUND & ERRCODE_RES_MASK
118cdf0e10cSrcweir	{
119cdf0e10cSrcweir		Text [ en-US ] = "File not found." ;
120cdf0e10cSrcweir	};
121cdf0e10cSrcweir	String SbERR_BAD_FILE_MODE & ERRCODE_RES_MASK
122cdf0e10cSrcweir	{
123cdf0e10cSrcweir		Text [ en-US ] = "Incorrect file mode." ;
124cdf0e10cSrcweir	};
125cdf0e10cSrcweir	String SbERR_FILE_ALREADY_OPEN & ERRCODE_RES_MASK
126cdf0e10cSrcweir	{
127cdf0e10cSrcweir		Text [ en-US ] = "File already open." ;
128cdf0e10cSrcweir	};
129cdf0e10cSrcweir	String SbERR_IO_ERROR & ERRCODE_RES_MASK
130cdf0e10cSrcweir	{
131cdf0e10cSrcweir		Text [ en-US ] = "Device I/O error." ;
132cdf0e10cSrcweir	};
133cdf0e10cSrcweir	String SbERR_FILE_EXISTS & ERRCODE_RES_MASK
134cdf0e10cSrcweir	{
135cdf0e10cSrcweir		Text [ en-US ] = "File already exists." ;
136cdf0e10cSrcweir	};
137cdf0e10cSrcweir	String SbERR_BAD_RECORD_LENGTH & ERRCODE_RES_MASK
138cdf0e10cSrcweir	{
139cdf0e10cSrcweir		Text [ en-US ] = "Incorrect record length." ;
140cdf0e10cSrcweir	};
141cdf0e10cSrcweir	String SbERR_DISK_FULL & ERRCODE_RES_MASK
142cdf0e10cSrcweir	{
143cdf0e10cSrcweir		Text [ en-US ] = "Disk or hard drive full." ;
144cdf0e10cSrcweir	};
145cdf0e10cSrcweir	String SbERR_READ_PAST_EOF & ERRCODE_RES_MASK
146cdf0e10cSrcweir	{
147cdf0e10cSrcweir		Text [ en-US ] = "Reading exceeds EOF." ;
148cdf0e10cSrcweir	};
149cdf0e10cSrcweir	String SbERR_BAD_RECORD_NUMBER & ERRCODE_RES_MASK
150cdf0e10cSrcweir	{
151cdf0e10cSrcweir		Text [ en-US ] = "Incorrect record number." ;
152cdf0e10cSrcweir	};
153cdf0e10cSrcweir	String SbERR_TOO_MANY_FILES & ERRCODE_RES_MASK
154cdf0e10cSrcweir	{
155cdf0e10cSrcweir		Text [ en-US ] = "Too many files." ;
156cdf0e10cSrcweir	};
157cdf0e10cSrcweir	String SbERR_NO_DEVICE & ERRCODE_RES_MASK
158cdf0e10cSrcweir	{
159cdf0e10cSrcweir		Text [ en-US ] = "Device not available." ;
160cdf0e10cSrcweir	};
161cdf0e10cSrcweir	String SbERR_ACCESS_DENIED & ERRCODE_RES_MASK
162cdf0e10cSrcweir	{
163cdf0e10cSrcweir		Text [ en-US ] = "Access denied." ;
164cdf0e10cSrcweir	};
165cdf0e10cSrcweir	String SbERR_NOT_READY & ERRCODE_RES_MASK
166cdf0e10cSrcweir	{
167cdf0e10cSrcweir		Text [ en-US ] = "Disk not ready." ;
168cdf0e10cSrcweir	};
169cdf0e10cSrcweir	String SbERR_NOT_IMPLEMENTED & ERRCODE_RES_MASK
170cdf0e10cSrcweir	{
171cdf0e10cSrcweir		Text [ en-US ] = "Not implemented." ;
172cdf0e10cSrcweir	};
173cdf0e10cSrcweir	String SbERR_DIFFERENT_DRIVE & ERRCODE_RES_MASK
174cdf0e10cSrcweir	{
175cdf0e10cSrcweir		Text [ en-US ] = "Renaming on different drives impossible." ;
176cdf0e10cSrcweir	};
177cdf0e10cSrcweir	String SbERR_ACCESS_ERROR & ERRCODE_RES_MASK
178cdf0e10cSrcweir	{
179cdf0e10cSrcweir		Text [ en-US ] = "Path/File access error." ;
180cdf0e10cSrcweir	};
181cdf0e10cSrcweir	String SbERR_PATH_NOT_FOUND & ERRCODE_RES_MASK
182cdf0e10cSrcweir	{
183cdf0e10cSrcweir		Text [ en-US ] = "Path not found." ;
184cdf0e10cSrcweir	};
185cdf0e10cSrcweir	String SbERR_NO_OBJECT & ERRCODE_RES_MASK
186cdf0e10cSrcweir	{
187cdf0e10cSrcweir		Text [ en-US ] = "Object variable not set." ;
188cdf0e10cSrcweir	};
189cdf0e10cSrcweir	String SbERR_BAD_PATTERN & ERRCODE_RES_MASK
190cdf0e10cSrcweir	{
191cdf0e10cSrcweir		Text [ en-US ] = "Invalid string pattern." ;
192cdf0e10cSrcweir	};
193cdf0e10cSrcweir	String SBERR_IS_NULL & ERRCODE_RES_MASK
194cdf0e10cSrcweir	{
195cdf0e10cSrcweir		Text [ en-US ] = "Use of zero not permitted." ;
196cdf0e10cSrcweir	};
197cdf0e10cSrcweir	String SbERR_DDE_ERROR & ERRCODE_RES_MASK
198cdf0e10cSrcweir	{
199cdf0e10cSrcweir		Text [ en-US ] = "DDE Error." ;
200cdf0e10cSrcweir	};
201cdf0e10cSrcweir	String SbERR_DDE_WAITINGACK & ERRCODE_RES_MASK
202cdf0e10cSrcweir	{
203cdf0e10cSrcweir		Text [ en-US ] = "Awaiting response to DDE connection." ;
204cdf0e10cSrcweir	};
205cdf0e10cSrcweir	String SbERR_DDE_OUTOFCHANNELS & ERRCODE_RES_MASK
206cdf0e10cSrcweir	{
207cdf0e10cSrcweir		Text [ en-US ] = "No DDE channels available." ;
208cdf0e10cSrcweir	};
209cdf0e10cSrcweir	String SbERR_DDE_NO_RESPONSE & ERRCODE_RES_MASK
210cdf0e10cSrcweir	{
211cdf0e10cSrcweir		Text [ en-US ] = "No application responded to DDE connect initiation." ;
212cdf0e10cSrcweir	};
213cdf0e10cSrcweir	String SbERR_DDE_MULT_RESPONSES & ERRCODE_RES_MASK
214cdf0e10cSrcweir	{
215cdf0e10cSrcweir		Text [ en-US ] = "Too many applications responded to DDE connect initiation." ;
216cdf0e10cSrcweir	};
217cdf0e10cSrcweir	String SbERR_DDE_CHANNEL_LOCKED & ERRCODE_RES_MASK
218cdf0e10cSrcweir	{
219cdf0e10cSrcweir		Text [ en-US ] = "DDE channel locked." ;
220cdf0e10cSrcweir	};
221cdf0e10cSrcweir	String SbERR_DDE_NOTPROCESSED & ERRCODE_RES_MASK
222cdf0e10cSrcweir	{
223cdf0e10cSrcweir		Text [ en-US ] = "External application cannot execute DDE operation." ;
224cdf0e10cSrcweir	};
225cdf0e10cSrcweir	String SbERR_DDE_TIMEOUT & ERRCODE_RES_MASK
226cdf0e10cSrcweir	{
227cdf0e10cSrcweir		Text [ en-US ] = "Timeout while waiting for DDE response." ;
228cdf0e10cSrcweir	};
229cdf0e10cSrcweir	String SbERR_DDE_USER_INTERRUPT & ERRCODE_RES_MASK
230cdf0e10cSrcweir	{
231cdf0e10cSrcweir		Text [ en-US ] = "User pressed ESCAPE during DDE operation." ;
232cdf0e10cSrcweir	};
233cdf0e10cSrcweir	String SbERR_DDE_BUSY & ERRCODE_RES_MASK
234cdf0e10cSrcweir	{
235cdf0e10cSrcweir		Text [ en-US ] = "External application busy." ;
236cdf0e10cSrcweir	};
237cdf0e10cSrcweir	String SbERR_DDE_NO_DATA & ERRCODE_RES_MASK
238cdf0e10cSrcweir	{
239cdf0e10cSrcweir		Text [ en-US ] = "DDE operation without data." ;
240cdf0e10cSrcweir	};
241cdf0e10cSrcweir	String SbERR_DDE_WRONG_DATA_FORMAT & ERRCODE_RES_MASK
242cdf0e10cSrcweir	{
243cdf0e10cSrcweir		Text [ en-US ] = "Data are in wrong format." ;
244cdf0e10cSrcweir	};
245cdf0e10cSrcweir	String SbERR_DDE_PARTNER_QUIT & ERRCODE_RES_MASK
246cdf0e10cSrcweir	{
247cdf0e10cSrcweir		Text [ en-US ] = "External application has been terminated." ;
248cdf0e10cSrcweir	};
249cdf0e10cSrcweir	String SbERR_DDE_CONV_CLOSED & ERRCODE_RES_MASK
250cdf0e10cSrcweir	{
251cdf0e10cSrcweir		Text [ en-US ] = "DDE connection interrupted or modified." ;
252cdf0e10cSrcweir	};
253cdf0e10cSrcweir	String SbERR_DDE_NO_CHANNEL & ERRCODE_RES_MASK
254cdf0e10cSrcweir	{
255cdf0e10cSrcweir		Text [ en-US ] = "DDE method invoked with no channel open." ;
256cdf0e10cSrcweir	};
257cdf0e10cSrcweir	String SbERR_DDE_INVALID_LINK & ERRCODE_RES_MASK
258cdf0e10cSrcweir	{
259cdf0e10cSrcweir		Text [ en-US ] = "Invalid DDE link format." ;
260cdf0e10cSrcweir	};
261cdf0e10cSrcweir	String SbERR_DDE_QUEUE_OVERFLOW & ERRCODE_RES_MASK
262cdf0e10cSrcweir	{
263cdf0e10cSrcweir		Text [ en-US ] = "DDE message has been lost." ;
264cdf0e10cSrcweir	};
265cdf0e10cSrcweir	String SbERR_DDE_LINK_ALREADY_EST & ERRCODE_RES_MASK
266cdf0e10cSrcweir	{
267cdf0e10cSrcweir		Text [ en-US ] = "Paste link already performed." ;
268cdf0e10cSrcweir	};
269cdf0e10cSrcweir	String SbERR_DDE_LINK_INV_TOPIC & ERRCODE_RES_MASK
270cdf0e10cSrcweir	{
271cdf0e10cSrcweir		Text [ en-US ] = "Link mode cannot be set due to invalid link topic." ;
272cdf0e10cSrcweir	};
273cdf0e10cSrcweir	String SbERR_DDE_DLL_NOT_FOUND & ERRCODE_RES_MASK
274cdf0e10cSrcweir	{
275cdf0e10cSrcweir		Text [ en-US ] = "DDE requires the DDEML.DLL file." ;
276cdf0e10cSrcweir	};
277cdf0e10cSrcweir	String SbERR_CANNOT_LOAD & ERRCODE_RES_MASK
278cdf0e10cSrcweir	{
279cdf0e10cSrcweir		Text [ en-US ] = "Module cannot be loaded; invalid format." ;
280cdf0e10cSrcweir	};
281cdf0e10cSrcweir	String SbERR_BAD_INDEX & ERRCODE_RES_MASK
282cdf0e10cSrcweir	{
283cdf0e10cSrcweir		Text [ en-US ] = "Invalid object index." ;
284cdf0e10cSrcweir	};
285cdf0e10cSrcweir	String SbERR_NO_ACTIVE_OBJECT & ERRCODE_RES_MASK
286cdf0e10cSrcweir	{
287cdf0e10cSrcweir		Text [ en-US ] = "Object is not available." ;
288cdf0e10cSrcweir	};
289cdf0e10cSrcweir	String SbERR_BAD_PROP_VALUE & ERRCODE_RES_MASK
290cdf0e10cSrcweir	{
291cdf0e10cSrcweir		Text [ en-US ] = "Incorrect property value." ;
292cdf0e10cSrcweir	};
293cdf0e10cSrcweir	String SbERR_PROP_READONLY & ERRCODE_RES_MASK
294cdf0e10cSrcweir	{
295cdf0e10cSrcweir		Text [ en-US ] = "This property is read-only." ;
296cdf0e10cSrcweir	};
297cdf0e10cSrcweir	String SbERR_PROP_WRITEONLY & ERRCODE_RES_MASK
298cdf0e10cSrcweir	{
299cdf0e10cSrcweir		Text [ en-US ] = "This property is write only." ;
300cdf0e10cSrcweir	};
301cdf0e10cSrcweir	String SbERR_INVALID_OBJECT & ERRCODE_RES_MASK
302cdf0e10cSrcweir	{
303cdf0e10cSrcweir		Text [ en-US ] = "Invalid object reference." ;
304cdf0e10cSrcweir	};
305cdf0e10cSrcweir	String SbERR_NO_METHOD & ERRCODE_RES_MASK
306cdf0e10cSrcweir	{
307cdf0e10cSrcweir		Text [ en-US ] = "Property or method not found: $(ARG1)." ;
308cdf0e10cSrcweir	};
309cdf0e10cSrcweir	String SbERR_NEEDS_OBJECT & ERRCODE_RES_MASK
310cdf0e10cSrcweir	{
311cdf0e10cSrcweir		Text [ en-US ] = "Object required." ;
312cdf0e10cSrcweir	};
313cdf0e10cSrcweir	String SbERR_INVALID_USAGE_OBJECT & ERRCODE_RES_MASK
314cdf0e10cSrcweir	{
315cdf0e10cSrcweir		Text [ en-US ] = "Invalid use of an object." ;
316cdf0e10cSrcweir	};
317cdf0e10cSrcweir	String SbERR_NO_OLE & ERRCODE_RES_MASK
318cdf0e10cSrcweir	{
319cdf0e10cSrcweir		Text [ en-US ] = "OLE Automation is not supported by this object." ;
320cdf0e10cSrcweir	};
321cdf0e10cSrcweir	String SbERR_BAD_METHOD & ERRCODE_RES_MASK
322cdf0e10cSrcweir	{
323cdf0e10cSrcweir		Text [ en-US ] = "This property or method is not supported by the object." ;
324cdf0e10cSrcweir	};
325cdf0e10cSrcweir	String SbERR_OLE_ERROR & ERRCODE_RES_MASK
326cdf0e10cSrcweir	{
327cdf0e10cSrcweir		Text [ en-US ] = "OLE Automation Error." ;
328cdf0e10cSrcweir	};
329cdf0e10cSrcweir	String SbERR_BAD_ACTION & ERRCODE_RES_MASK
330cdf0e10cSrcweir	{
331cdf0e10cSrcweir		Text [ en-US ] = "This action is not supported by given object." ;
332cdf0e10cSrcweir	};
333cdf0e10cSrcweir	String SbERR_NO_NAMED_ARGS & ERRCODE_RES_MASK
334cdf0e10cSrcweir	{
335cdf0e10cSrcweir		Text [ en-US ] = "Named arguments are not supported by given object." ;
336cdf0e10cSrcweir	};
337cdf0e10cSrcweir	String SbERR_BAD_LOCALE & ERRCODE_RES_MASK
338cdf0e10cSrcweir	{
339cdf0e10cSrcweir		Text [ en-US ] = "The current locale setting is not supported by the given object." ;
340cdf0e10cSrcweir	};
341cdf0e10cSrcweir	String SbERR_NAMED_NOT_FOUND & ERRCODE_RES_MASK
342cdf0e10cSrcweir	{
343cdf0e10cSrcweir		Text [ en-US ] = "Named argument not found." ;
344cdf0e10cSrcweir	};
345cdf0e10cSrcweir	String SbERR_NOT_OPTIONAL & ERRCODE_RES_MASK
346cdf0e10cSrcweir	{
347cdf0e10cSrcweir		Text [ en-US ] = "Argument is not optional." ;
348cdf0e10cSrcweir	};
349cdf0e10cSrcweir	String SbERR_WRONG_ARGS & ERRCODE_RES_MASK
350cdf0e10cSrcweir	{
351cdf0e10cSrcweir		Text [ en-US ] = "Invalid number of arguments." ;
352cdf0e10cSrcweir	};
353cdf0e10cSrcweir	String SbERR_NOT_A_COLL & ERRCODE_RES_MASK
354cdf0e10cSrcweir	{
355cdf0e10cSrcweir		Text [ en-US ] = "Object is not a list." ;
356cdf0e10cSrcweir	};
357cdf0e10cSrcweir	String SbERR_BAD_ORDINAL & ERRCODE_RES_MASK
358cdf0e10cSrcweir	{
359cdf0e10cSrcweir		Text [ en-US ] = "Invalid ordinal number." ;
360cdf0e10cSrcweir	};
361cdf0e10cSrcweir	String SbERR_DLLPROC_NOT_FOUND & ERRCODE_RES_MASK
362cdf0e10cSrcweir	{
363cdf0e10cSrcweir		Text [ en-US ] = "Specified DLL function not found." ;
364cdf0e10cSrcweir	};
365cdf0e10cSrcweir	String SbERR_BAD_CLIPBD_FORMAT & ERRCODE_RES_MASK
366cdf0e10cSrcweir	{
367cdf0e10cSrcweir		Text [ en-US ] = "Invalid clipboard format." ;
368cdf0e10cSrcweir	};
369cdf0e10cSrcweir	String SbERR_PROPERTY_NOT_FOUND & ERRCODE_RES_MASK
370cdf0e10cSrcweir	{
371cdf0e10cSrcweir		Text [ en-US ] = "Object does not have this property." ;
372cdf0e10cSrcweir	};
373cdf0e10cSrcweir	String SbERR_METHOD_NOT_FOUND & ERRCODE_RES_MASK
374cdf0e10cSrcweir	{
375cdf0e10cSrcweir		Text [ en-US ] = "Object does not have this method." ;
376cdf0e10cSrcweir	};
377cdf0e10cSrcweir	String SbERR_ARG_MISSING & ERRCODE_RES_MASK
378cdf0e10cSrcweir	{
379cdf0e10cSrcweir		Text [ en-US ] = "Required argument lacking." ;
380cdf0e10cSrcweir	};
381cdf0e10cSrcweir	String SbERR_BAD_NUMBER_OF_ARGS & ERRCODE_RES_MASK
382cdf0e10cSrcweir	{
383cdf0e10cSrcweir		Text [ en-US ] = "Invalid number of arguments." ;
384cdf0e10cSrcweir	};
385cdf0e10cSrcweir	String SbERR_METHOD_FAILED & ERRCODE_RES_MASK
386cdf0e10cSrcweir	{
387cdf0e10cSrcweir		Text [ en-US ] = "Error executing a method." ;
388cdf0e10cSrcweir	};
389cdf0e10cSrcweir	String SbERR_SETPROP_FAILED & ERRCODE_RES_MASK
390cdf0e10cSrcweir	{
391cdf0e10cSrcweir		Text [ en-US ] = "Unable to set property." ;
392cdf0e10cSrcweir	};
393cdf0e10cSrcweir	String SbERR_GETPROP_FAILED & ERRCODE_RES_MASK
394cdf0e10cSrcweir	{
395cdf0e10cSrcweir		Text [ en-US ] = "Unable to determine property." ;
396cdf0e10cSrcweir	};
397*63e57358Smseidel	// Compiler errors. These are not runtime errors.
398cdf0e10cSrcweir	String SbERR_UNEXPECTED & ERRCODE_RES_MASK
399cdf0e10cSrcweir	{
400cdf0e10cSrcweir		Text [ en-US ] = "Unexpected symbol: $(ARG1)." ;
401cdf0e10cSrcweir	};
402cdf0e10cSrcweir	String SbERR_EXPECTED & ERRCODE_RES_MASK
403cdf0e10cSrcweir	{
404cdf0e10cSrcweir		Text [ en-US ] = "Expected: $(ARG1)." ;
405cdf0e10cSrcweir	};
406cdf0e10cSrcweir	String SbERR_SYMBOL_EXPECTED & ERRCODE_RES_MASK
407cdf0e10cSrcweir	{
408cdf0e10cSrcweir		Text [ en-US ] = "Symbol expected." ;
409cdf0e10cSrcweir	};
410cdf0e10cSrcweir	String SbERR_VAR_EXPECTED & ERRCODE_RES_MASK
411cdf0e10cSrcweir	{
412cdf0e10cSrcweir		Text [ en-US ] = "Variable expected." ;
413cdf0e10cSrcweir	};
414cdf0e10cSrcweir	String SbERR_LABEL_EXPECTED & ERRCODE_RES_MASK
415cdf0e10cSrcweir	{
416cdf0e10cSrcweir		Text [ en-US ] = "Label expected." ;
417cdf0e10cSrcweir	};
418cdf0e10cSrcweir	String SbERR_LVALUE_EXPECTED & ERRCODE_RES_MASK
419cdf0e10cSrcweir	{
420cdf0e10cSrcweir		Text [ en-US ] = "Value cannot be applied." ;
421cdf0e10cSrcweir	};
422cdf0e10cSrcweir	String SbERR_VAR_DEFINED & ERRCODE_RES_MASK
423cdf0e10cSrcweir	{
424cdf0e10cSrcweir		Text [ en-US ] = "Variable $(ARG1) already defined." ;
425cdf0e10cSrcweir	};
426cdf0e10cSrcweir	String SbERR_PROC_DEFINED & ERRCODE_RES_MASK
427cdf0e10cSrcweir	{
428cdf0e10cSrcweir		Text [ en-US ] = "Sub procedure or function procedure $(ARG1) already defined." ;
429cdf0e10cSrcweir	};
430cdf0e10cSrcweir	String SbERR_LABEL_DEFINED & ERRCODE_RES_MASK
431cdf0e10cSrcweir	{
432cdf0e10cSrcweir		Text [ en-US ] = "Label $(ARG1) already defined." ;
433cdf0e10cSrcweir	};
434cdf0e10cSrcweir	String SbERR_UNDEF_VAR & ERRCODE_RES_MASK
435cdf0e10cSrcweir	{
436cdf0e10cSrcweir		Text [ en-US ] = "Variable $(ARG1) not found." ;
437cdf0e10cSrcweir	};
438cdf0e10cSrcweir	String SbERR_UNDEF_ARRAY & ERRCODE_RES_MASK
439cdf0e10cSrcweir	{
440cdf0e10cSrcweir		Text [ en-US ] = "Array or procedure $(ARG1) not found." ;
441cdf0e10cSrcweir	};
442cdf0e10cSrcweir	String SbERR_UNDEF_PROC & ERRCODE_RES_MASK
443cdf0e10cSrcweir	{
444cdf0e10cSrcweir		Text [ en-US ] = "Procedure $(ARG1) not found." ;
445cdf0e10cSrcweir	};
446cdf0e10cSrcweir	String SbERR_UNDEF_LABEL & ERRCODE_RES_MASK
447cdf0e10cSrcweir	{
448cdf0e10cSrcweir		Text [ en-US ] = "Label $(ARG1) undefined." ;
449cdf0e10cSrcweir	};
450cdf0e10cSrcweir	String SbERR_UNDEF_TYPE & ERRCODE_RES_MASK
451cdf0e10cSrcweir	{
452cdf0e10cSrcweir		Text [ en-US ] = "Unknown data type $(ARG1)." ;
453cdf0e10cSrcweir	};
454cdf0e10cSrcweir	String SbERR_BAD_EXIT & ERRCODE_RES_MASK
455cdf0e10cSrcweir	{
456cdf0e10cSrcweir		Text [ en-US ] = "Exit $(ARG1) expected." ;
457cdf0e10cSrcweir	};
458cdf0e10cSrcweir	String SbERR_BAD_BLOCK & ERRCODE_RES_MASK
459cdf0e10cSrcweir	{
460cdf0e10cSrcweir		Text [ en-US ] = "Statement block still open: $(ARG1) missing." ;
461cdf0e10cSrcweir	};
462cdf0e10cSrcweir	String SbERR_BAD_BRACKETS & ERRCODE_RES_MASK
463cdf0e10cSrcweir	{
464cdf0e10cSrcweir		Text [ en-US ] = "Parentheses do not match." ;
465cdf0e10cSrcweir	};
466cdf0e10cSrcweir	String SbERR_BAD_DECLARATION & ERRCODE_RES_MASK
467cdf0e10cSrcweir	{
468cdf0e10cSrcweir		Text [ en-US ] = "Symbol $(ARG1) already defined differently." ;
469cdf0e10cSrcweir	};
470cdf0e10cSrcweir	String SbERR_BAD_PARAMETERS & ERRCODE_RES_MASK
471cdf0e10cSrcweir	{
472cdf0e10cSrcweir		Text [ en-US ] = "Parameters do not correspond to procedure." ;
473cdf0e10cSrcweir	};
474cdf0e10cSrcweir	String SbERR_BAD_CHAR_IN_NUMBER & ERRCODE_RES_MASK
475cdf0e10cSrcweir	{
476cdf0e10cSrcweir		Text [ en-US ] = "Invalid character in number." ;
477cdf0e10cSrcweir	};
478cdf0e10cSrcweir	String SbERR_MUST_HAVE_DIMS & ERRCODE_RES_MASK
479cdf0e10cSrcweir	{
480cdf0e10cSrcweir		Text [ en-US ] = "Array must be dimensioned." ;
481cdf0e10cSrcweir	};
482cdf0e10cSrcweir	String SbERR_NO_IF & ERRCODE_RES_MASK
483cdf0e10cSrcweir	{
484cdf0e10cSrcweir		Text [ en-US ] = "Else/Endif without If." ;
485cdf0e10cSrcweir	};
486cdf0e10cSrcweir	String SbERR_NOT_IN_SUBR & ERRCODE_RES_MASK
487cdf0e10cSrcweir	{
488cdf0e10cSrcweir		Text [ en-US ] = "$(ARG1) not allowed within a procedure." ;
489cdf0e10cSrcweir	};
490cdf0e10cSrcweir	String SbERR_NOT_IN_MAIN & ERRCODE_RES_MASK
491cdf0e10cSrcweir	{
492cdf0e10cSrcweir		Text [ en-US ] = "$(ARG1) not allowed outside a procedure." ;
493cdf0e10cSrcweir	};
494cdf0e10cSrcweir	String SbERR_WRONG_DIMS & ERRCODE_RES_MASK
495cdf0e10cSrcweir	{
496cdf0e10cSrcweir		Text [ en-US ] = "Dimension specifications do not match." ;
497cdf0e10cSrcweir	};
498cdf0e10cSrcweir	String SbERR_BAD_OPTION & ERRCODE_RES_MASK
499cdf0e10cSrcweir	{
500cdf0e10cSrcweir		Text [ en-US ] = "Unknown option: $(ARG1)." ;
501cdf0e10cSrcweir	};
502cdf0e10cSrcweir	String SbERR_CONSTANT_REDECLARED & ERRCODE_RES_MASK
503cdf0e10cSrcweir	{
504cdf0e10cSrcweir		Text [ en-US ] = "Constant $(ARG1) redefined." ;
505cdf0e10cSrcweir	};
506cdf0e10cSrcweir	String SbERR_PROG_TOO_LARGE & ERRCODE_RES_MASK
507cdf0e10cSrcweir	{
508cdf0e10cSrcweir		Text [ en-US ] = "Program too large." ;
509cdf0e10cSrcweir	};
510cdf0e10cSrcweir	String SbERR_NO_STRINGS_ARRAYS & ERRCODE_RES_MASK
511cdf0e10cSrcweir	{
512cdf0e10cSrcweir		Text [ en-US ] = "Strings or arrays not permitted." ;
513cdf0e10cSrcweir	};
514cdf0e10cSrcweir	String ERRCODE_BASIC_EXCEPTION & ERRCODE_RES_MASK
515cdf0e10cSrcweir	{
516cdf0e10cSrcweir		Text [ en-US ] = "An exception occurred $(ARG1)." ;
517cdf0e10cSrcweir	};
518cdf0e10cSrcweir	String ERRCODE_BASIC_ARRAY_FIX & ERRCODE_RES_MASK
519cdf0e10cSrcweir	{
520cdf0e10cSrcweir		Text [ en-US ] = "This array is fixed or temporarily locked." ;
521cdf0e10cSrcweir	};
522cdf0e10cSrcweir	String ERRCODE_BASIC_STRING_OVERFLOW & ERRCODE_RES_MASK
523cdf0e10cSrcweir	{
524cdf0e10cSrcweir		Text [ en-US ] = "Out of string space." ;
525cdf0e10cSrcweir	};
526cdf0e10cSrcweir	String ERRCODE_BASIC_EXPR_TOO_COMPLEX & ERRCODE_RES_MASK
527cdf0e10cSrcweir	{
528cdf0e10cSrcweir		Text [ en-US ] = "Expression Too Complex." ;
529cdf0e10cSrcweir	};
530cdf0e10cSrcweir	String ERRCODE_BASIC_OPER_NOT_PERFORM & ERRCODE_RES_MASK
531cdf0e10cSrcweir	{
532cdf0e10cSrcweir		Text [ en-US ] = "Can't perform requested operation." ;
533cdf0e10cSrcweir	};
534cdf0e10cSrcweir	String ERRCODE_BASIC_TOO_MANY_DLL & ERRCODE_RES_MASK
535cdf0e10cSrcweir	{
536cdf0e10cSrcweir		Text [ en-US ] = "Too many DLL application clients." ;
537cdf0e10cSrcweir	};
538cdf0e10cSrcweir	String ERRCODE_BASIC_LOOP_NOT_INIT & ERRCODE_RES_MASK
539cdf0e10cSrcweir	{
540cdf0e10cSrcweir		Text [ en-US ] = "For loop not initialized." ;
541cdf0e10cSrcweir	};
542cdf0e10cSrcweir	String ERRCODE_BASIC_COMPAT & ERRCODE_RES_MASK
543cdf0e10cSrcweir	{
544cdf0e10cSrcweir		Text [ en-US ] = "$(ARG1)" ;
545cdf0e10cSrcweir	};
546cdf0e10cSrcweir};
547*63e57358Smseidel// Note: IDS_SBERR_TERMINATED = IDS_SBERR_START+2000.
548cdf0e10cSrcweirString IDS_SBERR_TERMINATED
549cdf0e10cSrcweir{
550cdf0e10cSrcweir	Text [ en-US ] = "The macro running has been interrupted" ;
551cdf0e10cSrcweir};
552cdf0e10cSrcweirString IDS_SBERR_STOREREF
553cdf0e10cSrcweir{
554*63e57358Smseidel	Text [ en-US ] = "Reference will not be saved: " ;
555cdf0e10cSrcweir};
556cdf0e10cSrcweirString ERRCODE_BASMGR_LIBLOAD & ERRCODE_RES_MASK
557cdf0e10cSrcweir{
558cdf0e10cSrcweir	Text [ en-US ] = "Error loading library '$(ARG1)'." ;
559cdf0e10cSrcweir};
560cdf0e10cSrcweirString ERRCODE_BASMGR_LIBSAVE & ERRCODE_RES_MASK
561cdf0e10cSrcweir{
562cdf0e10cSrcweir	Text [ en-US ] = "Error saving library: '$(ARG1)'." ;
563cdf0e10cSrcweir};
564cdf0e10cSrcweirString ERRCODE_BASMGR_MGROPEN & ERRCODE_RES_MASK
565cdf0e10cSrcweir{
566cdf0e10cSrcweir	Text [ en-US ] = "The BASIC from the file '$(ARG1)' could not be initialized." ;
567cdf0e10cSrcweir};
568cdf0e10cSrcweirString ERRCODE_BASMGR_MGRSAVE & ERRCODE_RES_MASK
569cdf0e10cSrcweir{
570cdf0e10cSrcweir	Text [ en-US ] = "Error saving BASIC: '$(ARG1)'." ;
571cdf0e10cSrcweir};
572cdf0e10cSrcweirString ERRCODE_BASMGR_REMOVELIB & ERRCODE_RES_MASK
573cdf0e10cSrcweir{
574cdf0e10cSrcweir	Text [ en-US ] = "Error removing library." ;
575cdf0e10cSrcweir};
576cdf0e10cSrcweirString ERRCODE_BASMGR_UNLOADLIB & ERRCODE_RES_MASK
577cdf0e10cSrcweir{
578cdf0e10cSrcweir	Text [ en-US ] = "The library could not be removed from memory." ;
579cdf0e10cSrcweir};
580cdf0e10cSrcweir
581*63e57358Smseidel// ********************************************************************** EOF
582