Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

ReadType( )

Action: Returns the ASCII representation of a registry entry data type (for example, REG_SZ).
 
Syntax: READTYPE ("subkey", "entry")
 
Parameters: Subkey

Identifies the subkey containing the entry.

Entry

Identifies the entry whose data type you want to discover.

Returns:
0 Function returns ASCII representation of data type for specified registry entry
Error code Function failed

The following data types can be returned:
  REG_NONE
  REG_SZ
  REG_EXPAND_SZ
  REG_BINARY
  REG_DWORD
  REG_DWORD_LITTLE_ENDIAN
  REG_DWORD_BIG_ENDIAN
  REG_LINK
  REG_MULTI_SZ
  REG_RESOURCE_LIST
  REG_FULL_RESOURCE_DESCRIPTOR
 

See Also: AddKey( ), DelKey( ), DelTree( ), ReadValue( ), WriteValue( )
 
Example:

$RowsType = ReadType( "HKEY_CURRENT_USER\Console\Configuration", "WindowRows")
If @ERROR = 0
  ? "Type of WindowRows: $RowsType"
Endif