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

Compile the script – PB Docs 2019 – PowerBuilder Library

Compile the script – PB Docs 2019

Compile the script

Now you compile the script you just typed. In this exercise, you
use a pop-up menu item to compile the script. PowerBuilder also compiles
a script when you close the Script view or when you select a different
object, event, or function for display in the Script view.

Handling errors in scripts

When there is an error in a script, an error window displays at
the bottom of the Script view with the line number of the error and
the error message.

To find an error

Click on an error message to move the cursor to the line that
contains that error. After you correct the error, you can try to compile
the script again.

Commenting out errors

PowerBuilder does not save scripts that have errors. If you want
to save a script that has errors, select the entire script and click the
Comment button to comment out the code. You can come back later,
uncomment the code, and fix the problem.

  1. Right-click anywhere in the Script view script area.

    Select Compile from the pop-up menu.

    The script compiles. You do not leave the Script view or the
    Window painter workspace.

  2. Select File>Save from the menu bar.

    Select File>Close from the menu bar.

    The Window painter closes.


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