4
Illustration of a Visual Basic Program Running an Ada Program
Visual Basic Procedure
ØThis procedure is invoked when the associated button is pressed ØIt was mostly comment (in green) with one function (one line of executable code):
Shell “ECHOCL.EXE “ + txtAdaCommandArgs.text, vbNormalFocus
SHELL command
Name of Ada Executable
followed by a space
Name of Text Box Object
Text attribute of the Text Box
Ada program executes
in a normal way