To define a data object:
In the TRAN-IDE main window, select View | Data Objects or click the Variables icon to display a list of all data objects defined in the current file.
To define a new data object, click New below the Data Objects list.
To edit an existing variable, double-click its name in the Data Objects list.
To delete data objects, select the object’s
name in the Data Object list and click Delete.
The Datalink Information window appears where the Name and Type fields define the data object.
Complete these fields and options:
Field (key) |
Description |
---|---|
Name |
The name you want to assign to the data object. |
Module |
The name of the module where you want TRAN-IDE to place this data object. |
Type |
The datatype of the data object. You can choose any one of the items in the list. To view all the options, click the down-arrow at the end of this field. Options include: blob, string, integer, long integer, short integer, character, clFile, and decimal. You can also create a one dimensional array of any type. Type “ |
Public |
Sets the datalink to a “public” status. This means that different modules can use this data variable. The default is “static” (unselected), which mean that only the production objects in the current module can use the datalink. In most cases, you want to place all public datalinks in their own module. |
Display |
Shows the current value of the datalink. |
When you finish, click OK to save the data object (variable) and close the window.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |