Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Official government website icon

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

icon-https

Secure .gov websites use HTTPS
A lock ( Lock Locked padlock icon )or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases NIH: National Institute of Diabetes and Digestive and Kidney Diseases

  next up previous contents index  Xplor-NIH home Documentation

Next: Words Up: XPLOR Interface Manual Previous: Dimensions and Units

X-PLOR Language

X-PLOR has a powerful command parser that uses free-field input and structured control statements. It can be used both interactively and in batch or background mode. When X-PLOR is started, it expects to read the X-PLOR statements from standard input (in most cases FORTRAN unit 5).



Subsections
  • Words
    • Example

  • Numbers and Strings
  • Three-dimensional Vectors
  • 3$\times $3 Matrices
  • Symbols
    • Example

  • Wildcards
    • Example

  • Filenames
    • Example
    • Commonly used UNIX variables for directories

  • Control Statements
    • Example: A Conditional Test
    • Example: A Simple Loop
    • Example: A Double Loop with Exit Condition
    • Example: Switch Control to Another File
    • Example: Switch Control to Another File within Loops

  • Application Statements
  • Abbreviations
  • On-line HELP and Query
  • Input and Output
  • Set Statement
  • Evaluate Statement
    • Syntax
    • Example

  • Atom Selection
    • Syntax
    • Examples

  • Vector Statement
    • Syntax
    • Requirements
    • Examples


Xplor-NIH 2025-03-21
  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health