//----- read access datalayer --------------------

bRes = DL.test.variables.bool
int32 = DL.test.variables.int32
dVal = DL.test.variables.double
str = DL.test.variables.string

//----- write access datalayer --------------------
//----- access datalayer: bool --------------------
bVal = FALSE
DL.test.variables.bool = bVal
IF DL.test.variables.bool != bVal THEN
  ERROR("Dl bool type read write failed")
ENDIF

//----- access datalayer: int32 --------------------
iVal = -123456
DL.test.variables.int32 = iVal
IF DL.test.variables.int32 != iVal THEN
  ERROR("Dl int type read write failed")
ENDIF

//----- access datalayer: double --------------------
dVal = -123456
DL.test.variables.double = dVal
IF DL.test.variables.double != dVal THEN
  ERROR("Dl double type read write failed")
ENDIF

//----- access datalayer: string --------------------
strVal = "Hello"
DL.test.variables.string =  strVal
IF DL.test.variables.string != strVal THEN
  ERROR("Dl string type read write failed")
ENDIF
