Status = deletevalue ( keyname, valuename ), Keylist = enumeratekeys ( keyname ), Keylist = enumeratevalues ( keyname ) – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual

Page 66: Status = flushkey ( keyname ), Type = getvaluetype ( valuename ), Data = readvalue ( valuename ), Data = readvaluevbarray ( valuename )

Advertising
background image

N

AURTECH

W

EB

B

ROWSER AND

T

ERMINAL

E

MULATION FOR

W

INDOWS

CE

AND

W

INDOWS

M

OBILE




CETerm Scripting Guide

Page 66


status = DeleteValue ( keyname, valuename )

Deletes the specified value in an existing key. Returns 0 for success or non-zero
for an error.

keylist = EnumerateKeys ( keyname )

Return a list of sub-keys of the specified key. See Appendix 4 for key names and
definitions. Each sub-key in the list is separated by the current StringSeparator
property value.

keylist = EnumerateValues ( keyname )

Return a list of values of the specified key. See Appendix 4 for key names and
definitions. Each value name in the list is separated by the current
StringSeparator property value.

status = FlushKey ( keyname )

Performs a Windows CE “RegFlushKey” on the specified key. Some older
devices use this to trigger a save of the current registry to persistent memory.
Do not use FlushKey unless directed by the device manufacturer. Returns 0 for
success, non-zero for error.

type = GetValueType ( valuename )

Gets the data type for the specified value. Use a fully qualified value name that
starts with a root key. Returns 0 for success or non-zero for an error.

data = ReadValue ( valuename )

Read the data from the specified value. Use a fully qualified value name that
starts with a root key. Binary values are returned as a list of comma separated
hexadecimal digits. MULTI_SZ strings are separated with the current
StringSeparator property value.

data = ReadValueVBArray ( valuename )

Read the data from the specified value. Return the data as a Visual Basic array.
Use a fully qualified value name that starts with a root key. It is usually best to
use the ReadValue method and split the values using JavaScript. In rare
circumstances a true array may be needed. It is not possible to return a

Advertising
This manual is related to the following products: