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: Example Up: Evaluate Statement Previous: Evaluate Statement

Syntax

EVALuate ($<$evaluate-statement$>$)
is a control statement.
$<$evaluate-statement$>$:==
$<$symbol$>$ = $<$operation$>$
$<$operation$>$:==
$<$vflc$>$ [$<$op$>$ $<$operation$>$ ]
$<$op$>$:==
$+$
denotes addition or concatenation for strings.
$-$
denotes subtraction or unary minus or negative concatenation for strings.
$*$
denotes multiplication.
$/$
denotes division.
^
denotes exponentiation.
$**$
denotes exponentiation (same as ^ ).
$<$vflc$>$:==
$<$function$>\vert<$symbol$>\vert<$real$>\vert<$integer$>\vert<$string$>$ deals with the fact that the data types of the operations and operands have to match; otherwise an error message is issued. The available functions, such as SIN, COS, and TAN, are defined in Section 2.16.



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