Using Script Functions & Classes in the Cielo Explorer

General discussions related to APLNext's VisualAPL.

Moderators: Tech Support, phpbb_admin

Using Script Functions & Classes in the Cielo Explorer

Postby joe_blaze » May 27th, 2009, 5:26 am

The attached "Using a class defined in a Cielo script in the Cielo Explorer.pdf" document illustrates the basic process to create a Cielo script containing a public class which contains as public method and then illustrates how to use create and instance of that class in the Cielo Explorer and then use the public method contained in that class in the Cielo Explorer.

The attached "Local Variable Information From A Cielo Script Function.pdf" document illustrates how to obtain local variable values when an exception occurs in a function (method) contained in a Cielo script. This technique can be very useful when identifying programming errors in a Cielo Script, because Visual Studio debugging capabilities are limited within a Cielo Explorer script.

The attached "The attached "Control State Using Script Classes.pdf" document illustrates how classes may be created in a Cielo Explorer script so that user-defined variables and functions and the system "state" can be precisely controled in the Cielo Explorer session.

The principles illustrated here also apply to VisualAPL class libraries (compiled .Net assemblies).
Attachments
Local Variable Information From A Cielo Script Function.pdf
(433.33 KiB) Downloaded 359 times
Using a class defined in a Cielo script in the Cielo Explorer.pdf
(802.03 KiB) Downloaded 366 times
Control State Using Script Classes.pdf
(517.56 KiB) Downloaded 356 times
joe_blaze
 
Posts: 384
Joined: February 11th, 2007, 3:09 am
Location: Box 361 Brielle, NJ 08730-0361

Return to VisualAPL

Who is online

Users browsing this forum: No registered users and 22 guests