Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Using the Source editor – PB Docs 80 – PowerBuilder Library

Using the Source editor – PB Docs 80

Using the Source editor

You can use the Source editor to edit the source of PowerScript
objects directly instead of making changes to an object in a painter.
The Source editor makes it unnecessary to export an object in order
to edit it and then import it, as you do with the file editor.

note.gif Caution–back up your objects Although the Source editor provides a quick way to make global
changes, you should use it with caution, and you must be familiar
with the syntax and semantics of PowerScript source code before
changing it in the Source editor.

Changes you make to an object’s source code using
the Source editor take effect immediately
when
you save the object, before the code is validated.
If
an error message displays in the Output window, you must fix the
problem in the Source editor before you close the editor. If you
do not, you will not be able to open the object in a painter.
Technical Support is not able to provide support if changes
you make in the Source editor render an object unusable. For this
reason, Sybase strongly recommends that you make backup copies of
your PBLs or objects before you edit objects in the Source editor.

You can open an object in the Source editor in one of several
ways:

  • Using the Open dialog box
  • Selecting the Edit Source menu item in the System
    Tree or Library painter
  • Selecting the
    Edit Source menu item in the Output window for a line that contains
    an error

Unlike the file editor, the Source editor cannot be opened
independently. It can only be used in conjunction with an object
defined within a PowerScript target in the current workspace. You
cannot open an object in the Source editor that is already open
in a painter.

The Source editor display is identical to the display in the
file editor except that the two PBExport lines prepended to the
code in the file editor are not needed in the Source editor.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x