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: Wildcards Up: Symbols Previous: Symbols

Example

In the following example, a symbol $NEWSYMBOL is declared. Note that X-PLOR automatically determines the type of the symbol. This symbol is used in the subsequent statements. The third statement declares a symbol $GARBAGE.
  evaluate ($NEWSYMBOL=3.40+433^2)
  xrefin wa=$NEWSYMBOL end
  evaluate ($GARBAGE=sqrt($NEWSYMBOL))
In the next line, the symbol $NEWSYMBOL is redeclared as a character string.
  evaluate ($NEWSYMBOL="testing 1 2 3")
As a consequence of this statement, $EXIST_NEWSYMBOL is set to “TRUE".



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