Migrating the CALL Command

The LDL CALL command has been superseded by the use of external classes. During the migration process each CALL statement is changed to an invocation of a method of an external class.

The translation of each command is as follows:

Command

Description

CALL; (function) EXTERNAL;

  • Creates an (External) class in the model called 'function” Sets the ComponentType (configuration) property of 'function” to 'Exe”

  • Sets the ComponentType (configuration) property of “function” to “Exe”

  • Adds Main as a method to 'function”.

  • LDL+ invocation becomes: function.Main()

CALL; (function) INTERNAL;

  • Creates an (External) class in the Model called "function_Library"

  • Sets the ComponentType (configuration) property of “Function_Library” to “Dll” and the Identifier to function.

  • Adds “function” as a method to “Function_Library”.

  • LDL+ invocation becomes: Component. function_Library.function(GLB.PARAM)

CALL; dataname

EXTERNAL;

  • Creates an (External) class in the model called “DefaultExe”

  • Sets the ComponentType (configuration) property of “DefaultExe” to 'Exe”

  • Adds 'Call” as a method to “DefaultExe”.

  • LDL+ invocation becomes: DefaultExe.Call(dataname, GLB.PARAM)

CALL; dataname INTERNAL;

  • Creates an (External) class in the model called “DefaultLibrary”

  • Sets the ComponentType (configuration) property of “DefaultLibrary” to “Dll”

  • Adds 'Call” as a method to “DefaultLibrary”.

  • LDL+ invocation becomes: DefaultLibrary.Call(dataname, GLB.PARAM)

CALL; (:;) EXTERNAL;

  • Creates an (External) class in the model called “Shell”

  • Sets the ComponentType (configuration) property of “Shell” to “Shell”

  • Adds 'Cmd” as a method to 'Shell”

  • LDL+ invocation becomes: Shell.Cmd()