SET STRICT

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Determines whether variables must be pre-declared


Syntax

SET STRICT ON | OFF | (<expL>)


See Also

DECLARE, DIMENSION, DO, DISPLAY MEMORY, LOCAL, NAMESPACE, NAMESPACE(), PARAMETERS, PRIVATE, PUBLIC, SET CLIPPER, SET STRCONVERT, STORE, STR(), VARINFO()


Description

With SET STRICT ON, all variables must be pre-declared.

By default, STRICT is OFF.


Example

set strict off
m_var = date()
 
set strict on
private m_var
m_var = date()


Products

Recital, Recital Server