prop_supportstype.htm
Navigation: Language Reference > App C - PROP: Runtime Properties > Runtime VIEW and FILE Properties >====== PROP:SupportsType ====== | |
Property of a FILE that returns whether the specified data type is supported by the file driver. Returns 1 if the data type is supported and 0 if it is not. Valid data types supported by this property are the DataType:xxxx found in EQUATES.CLW. (READ ONLY)
Example:
Customer FILE,DRIVER('Clarion')
Record RECORD
Id LONG
. .
Supported BYTE
CODE
Supported = Customer{PROP:SupportsType,DriverOp:CREATE} ! Returns 1
Supported = Customer{PROP:SupportsType,DriverOp:NULL} ! Returns 0
Supported = Customer{PROP:SupportsType,DataType:LONG} ! Returns 1
Supported = Customer{PROP:SupportsType,DataType:DATE} ! Returns 0
prop_supportstype.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1