SET STRICT

From Recital Documentation Wiki
Revision as of 09:22, 3 April 2012 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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