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: Atom Selection Up: Evaluate Statement Previous: Syntax

Example

The statement
EVALuate ($1=1.0)
sets the symbol $1 to 1.0, whereas
EVALuate ($1=$1+2.2)
increases it by 2.2,
EVALuate ($1=$1*COS(2.*$PI$1))
sets it to 3.00498, and
EVALuate ($2="a"+"b"+encode($1))
sets the symbol $2 to the string “ab3.00498".



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