General HydroStatics
Ship Stability Software
Command of the Week
(New or interesting aspects of GHS that you may not know about)


Without loops and sub-programs there would be no computer software. A new program would have to be written for every problem. Yes, it is possible to implement sub-programs with branches, but like any living tree with a lot of branches it is almost impossible to rid them of bugs.

The power of sub-programs that can be executed with varying parameters cannot be overemphasized. It seems magical when you see how much can be done with so little code.

The GHS command language provides a construct called a MACRO with which you can easily make your own sub-programs and enjoy the power of creation.

The following object demonstrates the power of the MACRO. It consists of 1,692 shapes using a series of commands that is far fewer than that!

To see the complete run file click here.

Before using PMX, please consult the PMX Features bulletin.

Questions, comments, or requests?
Contact Creative Systems, Inc.

USA phone: 360-385-6212 Fax: 360-385-6213
Office hours: 7:00 am - 4:00 pm Pacific Time, Monday - Friday

Mailing address:
PO Box 1910
Port Townsend, WA 98368 USA

Click here for an index to this and previous COWs