DataBasic Reference > Related TCL Commands > NC.RESET

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

NC.RESET command (DataBasic) (m618704+ncreset.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

NC.RESET

Resets one or more named common sections.

Syntax

NC.RESET {[name {...} || * ]}

Syntax Elements

nameThe name of a named common section.

Note: Do not include the slashes that are used to specify the common section when declaring variables (see COMMON statement).

* Specifies all named common sections.

If used with no parameters, NC.RESET uses the active select list, if any.

Restrictions

 

Operation

NC.RESET clears the specified named common sections, removing any variables they contain. When next used, the variables concerned will be unassigned.

Examples

:NC.RESET NC2
Named common 'NC2' has been reset.

Resets named common section NC2.

:NC.RESET *
Named common 'NC1' has been reset.
Named common 'NC2' has been reset.
Named common 'NC3' has been reset.

Resets all named common sections.

:NC.RESET NC1 NC4
Named common 'NC1' has been reset.
Named common 'NC4' is not in use.

Attempts to reset the named common sections NC1 and NC4. The latter does not exist and cannot be reset.

See Also

COMMON Variables, COMMON statement, NC.LIST command, UNASSIGNED function.

RealityV15.1 (MoTW) Revision 7Comment on this topic