III. Functional objects
98
Developer handbook DATAformXTension © 1992-2004 www.gassenhuber.de
Calling the function in the DATAform 4D interface
Example 1
Delete all boxes with a specific group number:
DX_Write (0)
`initialisation
DX_Array{5}:="103"
`*T103 = DELETE functional object
DX_Array{40}:="1"
`*M1 mode dialogue
$0:=DX_Write (1)
`activate DELETE for all following objects
DX_Array{5}:="3"
`any valid box type, e.g. *T3
DX_Array{4}:="23"
`delete group No. 23, *G23
$0:=DX_Write (1)
DX_Write (2)
`end of export
Example 2
Erase two boxes with specific object numbers:
DX_Write (0)
`initialisation
DX_Array{5}:="103"
`*T103 = DELETE functional object
DX_Array{40}:="1"
`*M1 mode dialogue
$0:=DX_Write (1)
`activate DELETE for all following objects
DX_Array{5}:="3"
`any valid box type, e.g. *T3
DX_Array{2}:=23001
`delete the box with ID 23001, *#23001
$0:=DX_Write (1)
DX_Array{5}:="3"
`any valid box type, e.g. *T3
DX_Array{2}:=23101
`delete the box with ID 23101, *#23101
$0:=DX_Write (1)
DX_Write (2)
`end of export