meta data for this page
EXECUTE IBEBLOCK
Using the EXECUTE IBEBLOCK statement you can call other IBEBlocks from the main block.
Examples of usage
1.
EXECUTE IBEBLOCK
AS
BEGIN
...
MyFunc = 'EXECUTE IBEBLOCK (
IntVal INTEGER)
RETURNS (
Square INTEGER)
AS
BEGIN
Square = IntVal * IntVal;
END';
EXECUTE IBEBLOCK MyFunc (2) RETURNING_VALUES :Square;
...
END
2.
EXECUTE IBEBLOCK
AS
BEGIN
...
MyFunc = ibec_LoadFromFile('C:\MyBlocks\Square.ibeblock');
EXECUTE IBEBLOCK MyFunc (2) RETURNING_VALUES :Square;
...
END