Goliath Tutorial

Last update:
October 10, 2000

 

Proceed with the manual installation of Goliath and all its files in a new directory called \Goliath. The new directory must be off the root, not another directory. Otherwise the links in the Tutorial will non work.

Make sure that the PRVOCAB.PFM is the one supplied with Goliath and is the Goliath tutorial vocab.

In the Goliath directory create two more directories, called tutorial and emptyvoc.

To the tutorial directory add all the Pragma 5 tutorial files, namely:

TUTORIAL.BMP
TESTBTR.BTR
PRAAPPL.CHM
PRAGMA.DES
PRAAPPL.HLP
ADDRESSE.PFM
BMP_BIN.PFM
PRVOCAB.PFM   (the tutorial vocab)
TESTPFM.PFM
SCREENS.PFM

In the empty voc. directory add the following file:

PRVOCAB.PFM (the empty vocab supplied with Pragma 5)

Be aware that the tutorial vocab for Pride will only work if you have installed everything into the Goliath directory and did not change the name of the tutorial subdirectories.

Then create a directory with Pragma 5 and the Tutorial vocab. You can name it anything you want.

Run Pragma 5 and go to Tools, Options, Goliath and make sure that the Goliath hostname (your server) and the workstation host name (the machine you are on) are correct and that the two ports are also correct. The port number of your machine and of the server must be the same.

 

Running Pragma Identities

In the Goliath directory run GOLIATH.EXE. This will start Goliath.

Go to Identities, Edit Identities. This will get you to the Identity editor, which looks remarkably like the form editor of Pragma 5. In fact, if you know how to use the Pragma 5 form editor, you also know how to use the Identity editor.

Select the FORM ID TUTORIAL as a form to edit and run it. Click on the buttons.

exclam.gif (1015 bytes) It is  possible that the various system executables called by the Pride tutorial, like Notepad.exe will not work if the name of the directory in which they are located is not the same as in Windows 2000.

Click on the exit button and go back to the identity editor. You will see that the properties of a task can be divided into two categories:

The reference manual that explains the various tasks divides the properties using this criteria.

You will have noticed that to access the Color Dialog Box a password was required. To look at the password or eliminate it look at the properties Password and Password style of the task T P5 COLOR DIALOG. To eliminate the password change the Password style to 0 (zero).

 

Running Goliath on a Workstation (Pride)

Before you start go to Tools, Options, Goliath in Pragma 5 on your Workstation and make sure that the check box "At Goliath startup open Pride for connections" is checked. Then run Goliath and minimize it, so that you only see the Goliath icon on the task bar. Goliath is ready to receive connections.

Go to Pragma 5 with the Tutorial vocab and run the form FORM PROCEDURE PRIDE. Click on the  buttons to run a task in Pride. To view the Pragma code that launches a Pride task look at the eventverbs of the  buttons. All the buttons use the verb PRIDE SEND CONTROL to communicate with Goliath.

Should you encounter any difficulties, make sure that the parameters for the parameter string are OK and appropriate for your machine.

Also make sure that you close or minimize all the other programs that you are running in Windows, otherwise it may become difficult to find a program launched with Pride.

To some task you can add 1000 to the property Style (instead of say Style = 2 you have  Style = 1002).  Before  running the task Pride will show a dialog box, listing all the properties and their values. Be aware that when using this feature the task may end up hidden under another window.           

 

Running Goliath on the Server

To run Goliath on your server you proceed in the same way as with Pride an your workstation, except that to get Goliath on the server to wait for connections you start Goliath and then go to Goliath, Goliath Server and then click on the minimize button.

On the workstation you run a task the same way you run a task with Pride, except that you use the verb GOLIATH SEND CONTROL.

Of course it does not make much sense to run a Pragma 5 task on the server.

 
2000-10-09
lip_tec3.gif
t_gotut.htm