Previous Topic: CommentsNext Topic: Declare Variables


Error Codes (Desktop Management Scripting Language)

The DMS language error codes are as follows:

Error Code

Description

1

Syntax error

2

Invalid variable index type

3

Unknown variable type

4

Memory shortage

5

Duplicate variable name

6

Variable name expected

7

Unknown variable

8

Unknown function

9

Variable is required

10

Variable is not initialized

11

AS expected before type name

12

Unknown variable type name

13

Invalid variable name

14

Cannot open the script file

15

Duplicate label name

16

Missing THEN in IF .. THEN block

17

Ordinal expression is required

18

Missing END IF in IF .. THEN block

19

Missing END WHILE in WHILE ... END WHILE block

20

Missing UNTIL in REPEAT ... UNTIL block

21

Missing TO in FOR .. NEXT block

22

Missing NEXT in FOR .. NEXT block

23

Syntax error in function definition

24

Missing END FUNCTION in function definition

25

Unknown EXIT statement type

26

Invalid mix of data types in expression

27

Integer or String expression expected

28

Unknown expression operation

29

Data types not compatible

30

Invalid operation for this data type

31

Division by zero

32

Basic types expected

33

Expression expected

34

Variable reference expected

35

Argument mismatch in call to function

36

Invalid redirection

37

Preprocessor variable name expected

38

Syntax error in preprocessor expression

39

Preprocessor syntax error

40

#ELSE without a corresponding #IF found

41

#ELSEIF without a corresponding #IF found

42

#ENDIF without a corresponding #IF found

43

Invalid preprocessor directive

44

Unknown preprocessor directive

45

Invalid function format

46

Unable to load library file

47

Unable to locate function

48

Character or String expression expected

49

Immediate value expected

50

Unable to evaluate constant

51

Invalid variable type in argument

52

Unterminated text string constant

53

Character constant expected

54

Un-terminated character constant

55

Expression syntax error

56

User break in script debug session

57

Program terminated in script debug session

58

Invalid GOTO destination

59

Script symbol expected

60

Unable to evaluate variable

68

Cannot load exit list

69

Cannot register class

70

Failed to load DLL

73

Invalid array type

74

Invalid structure member type

75

Array index out of range

76

Missing array size field

77

Warning: Multiple declaration of function "<function name>" detected. The Repetition is ignored.

78

Script file missing

79

Locale problem detected

80

Interpreter canceled by operator

81

Warning: Masked quotes (\") detected in script. Simple quotes (") assumed.

82

Insufficient memory. DMS Interpreter abnormally terminated.

83

Internal error

84

Script consists of more than 64 K lines

85

Include File not Found