How To Use the sql_yoga.rev Stack File In the IDE

This lesson will discuss how to use the SQL Yoga stack file (sql_yoga.rev) with Revolution.

The sql_yoga.rev Stack File

The sql_yoga.rev Stack File

When you download the SQL Yoga distribution from the website you will have a folder resembling this one. sql_yoga.rev is the file that you use for development. This stack file contains all of the SQL Yoga library code that you will use in your projects.

Open sql_yoga.rev

Open sql_yoga.rev

Choose the File > Open Stack... menu item.

Select sql_yoga.rev.

The libSQLYoga Stack

The libSQLYoga Stack

The sql_yoga.rev stack file has one mainstack named libSQLYoga (1). The script of this stack contains all of the SQL Yoga library handlers.

libSQLYoga is intended to be used as a library stack. To use libSQLYoga as a library and put the stack script into the message path, issue the start using command (2) in the Message Box.

Verify Result

Verify Result

To verify that libSQLYoga is now a library stack and is available to all scripts, execute the command put the stacksInUse in the Message Box (1). libSQLYoga should appear among the lines of the results that are displayed (2).

You are now ready to start calling the SQL Yoga library handlers. You can close the libSQLYoga stack window if you would like. The window does not need to be open while working with SQL Yoga.

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.