Geosoft GX Language
- Copy Space for Confluence
- ian macleod (Deactivated)
The Geosoft GX language can be used to create a specific task (a compiled GX) that will run and work within an Oasis montaj working environment. Â A GX task can include one or more simple dialogs that present or collect information from the user, plus any kind of process that is applied to data. Â GXs also support basic interaction with the Oasis montaj environment, including open maps and databases.Â
A GX can be run directly from Oasis montaj (GX/Run a GX...
), or it can be included as a menu item that is run when a user selects that item from a menu. Â
Much of Geosoft functionality is delivered as GX's connected to menus, and Geosoft provides all Geosoft GX source code as part of GX Developer.
Who should use the GX Language?
The GX language (GXC and GRC) in GX Developer has been designed for people with some software development experience, such as would be learned in a university or college level introductory course in computer programming. GX Developer should not be your first programming language as many of the basic concepts of variables, logic, looping, etc. are assumed.
More advanced developers can use the GX Developer API to develop advanced applications in most common programming languages such as C, C# or Python.  Applications can either be developed as extensions to Oasis montaj, or as Stand-Alone Programs programs.
Additional Information
The GX Programming Language is a subset of the C Programming Language. This document does not deal with the C language in detail and you may wish to refer to a C language programming guide, such as:
Kernighan, B.W. and Ritchie, D. M., 1988. The C Programming Language, PTR Prentice Hall, Englewood Cliffs, N.J., U.S.A.
or  http://www.tutorialspoint.com/cprogramming/c_quick_guide.htm
We recommend that you refer to the sample Source code provided with the GX Developer. It will provide you with a wealth of information about how to program GXs and use the GX Programming Language.
Page tree