2.3.3 LabTalk Script Precedence

Now that we know that there are several objects, like Macros, Origin C functions, X-Functions, OGS files, etc. So, we should be careful to avoid naming conflicts between these objects, which could cause confusion and lead to incorrect results. If duplicate names are unavoidable, LabTalk will run objects according to set of precedence rules. The following list of LabTalk objects are arranged top to bottom in descending precedence.

  1. Macros
  2. OGS Files
  3. X-Functions
  4. LT object methods, like run.file(FileName)
  5. LT callable Origin C functions
  6. LT commands (can be abbreviated)