LogiView

Command 'default_set'

     

This command defines the value of the specified default. If a default by the same name has already been defined, the specified type is ignored and the previous type is kept unchanged.

Defaults are not saved! They are defined in the main memory. Therefore, they are only valid for the current runtime session.
 

Syntax:

  default_set ({STR_EXPR}, {STR_EXPR}, {EXPR})
 

I/O parameters:

{STR_EXPR} Name of default setting (in capital letters)
{STR_EXPR} Type of default
{EXPR} Default definition value
-  
 

Return value:

 
-  
 

Example:

  Declaration of Variables
 
10 default_set("MY_DEFAULT","S","1536")
  Result:
  The value "1536" is assigned to the "MY_DEFAULT" default of type "string".

Functions and commands: Miscellaneous