IntControl 77

Syntax:

IntControl(77, p1, 0, 0, 0)

 

Gets internal operating parameters.

This IntControl returns internal values which may be useful in script debugging. p1 specifies one of the following request codes:

 

Request

Meaning

0

total memory allocated for strings, in bytes 

10

number of variables assigned 

11

number of variable slots available 

12

tab-delimited list of variables assigned 

20

number of files open 

21

number of file slots available 

30

a combination of the number of binary buffers and structure handles open. ( see BinaryAlloc and DllStructAlloc )

31

a combination of the number of binary buffers and structure handles slots available. ( see BinaryAlloc and DllStructAlloc )

40

number of extenders loaded 

41

number of extender slots available 

42

tab-delimited list of extenders loaded 

50

number of extender functions loaded 

51

number of extender function slots available 

60

number of COM/OLE objects open

62

tab-delimited list of COM/OLE objects

70

current structure depth 

71

current structure slots remaining

72

line feed-delimited list of tab-delimited structure stack information.

tab-delimited structure stack information:

Structure stack position @TAB structure type @TAB line number @TAB script line @TAB filename

80

current Call level depth 

90

number of UDF's defined 

91

number of UDF slots available 

100

* tab-delimited list of WIL function table entries

101

* tab-delimited list of parent application function table entries

102

* tab-delimited list of loaded extender function table entries 

103

tab-delimited list of UDF's

110

number of DDE conversations open 

111

number of DDE conversations available 

 

* Requests 100, 101 and 102 return a tab-delimited list of table entries. Each entry consists of a list of fields delimited with an ASCII 255 character, as follows:

 

Item

Value

1

Index

2

Entry Type

Value

0

1

2

3

4

5

6

7

8

Type

BINARYOP

UNARYOP

FUNCTION

CONSTANT

COMMAND

COMPOP

FUNCTBYNAME

UNDEFINED

STRUCTOP

 

3

Parameter type mask

4

Parameter count OR constant value

5

Name length

6

Name

 

 

Returns the indicated integer or string.