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: Three-dimensional Vectors Up: X-PLOR Language Previous: Example


Numbers and Strings

The basic vocabulary of X-PLOR knows about numbers and character strings. Note that the following definitions are special cases of words.
$<$complex$>$:==( $<$real$>$ , $<$real$>$)
is a complex number.
$<$integer$>$:==
is a positive or negative integer number, including zero.
$<$logical$>$:==
is a logical variable, i.e., TRUE or FALSE. ON and OFF can be used in place of TRUE and FALSE, respectively.
$<$real$>$:==
is a floating-point number.
$<$string$>$:==
is a sequence of characters enclosed in double quotation marks. Note that in instances where the sequence of characters uniquely defines a word, the quotation marks can be left out. There are exceptions to this rule in the vector and evaluate statements; it is recommended to use quotation marks with strings in these statements.



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