Home | About SQeeL | Document | DownLoad | Mail Japanese
Home > Document > SQeeL Reference

System variable

  • Built-in variable
  • APPEND
    Description
    Open a file in append mode
    Read / Write
    r
    Type
    number
    initial value
    1
    See Also
    Topへ
    ARG
    Description
    Arguments
    Read / Write
    r
    Type
    array
    initial value
    undefined
    Topへ
    ARGCOUNT
    Description
    Number of arguments
    Read / Write
    r
    Type
    number
    initial value
    undefined
    Topへ
    CUR_SRC_DIR
    Description
    Directory on which the file that is currently executed is stored
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Topへ
    DATE
    Description
    Current Date (MM/DD)
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Topへ
    DBERR
    Description
    Database error code
    Read / Write
    r
    Type
    number
    initial value
    undefined
    Requirements
    dboralib.slb
    Topへ
    DBERRMSG
    Description
    Database error message
    Read / Write
    r
    Type
    string
    initial value
    NULL
    Requirements
    dboralib.slb
    Topへ
    DBUSER
    Description
    Database username
    Read / Write
    r
    Type
    string
    initial value
    NULL
    Requirements
    dboralib.slb
    Topへ
    ERROR
    Description
    When there is an error in calling system functions and statements, an error code is returned
    Read / Write
    r
    Type
    number
    initial value
    0
    Topへ
    HOST
    Description
    Host name
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Topへ
    HTTP_HEADER
    Description
    Character string output in HTTP header
    Multiple strings can be specified
    Each line must end with newline (\n)
    Read / Write
    rw
    Type
    string
    initial value
    Content-type:text/html\n
    See Also
    Topへ
    JOB
    Description
    Name of the file that is currently executed (except extention)
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Topへ
    LINE
    Description
    The current line of the file executed
    Read / Write
    r
    Type
    number
    initial value
    undefined
    Topへ
    NEW
    Description
    Open a file in create new mode
    Read / Write
    r
    Type
    number
    initial value
    0
    See Also
    Topへ
    OSUSER
    Description
    OS user name
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Topへ
    PAR
    Description
    Arguments used at command prompt
    Arguments are entered in an array in order of arguments passing to the command prompt.
    Read / Write
    r
    Type
    array
    initial value
    undefined
    Topへ
    PAR_CNT
    Description
    Number of arguments used at command prompt
    Read / Write
    r
    Type
    number
    initial value
    undefined
    Topへ
    PID
    Description
    Process ID
    Read / Write
    r
    Type
    number
    initial value
    undefined
    Topへ
    READ
    Description
    Open a file in read mode
    Read / Write
    r
    Type
    number
    initial value
    2
    See Also
    Topへ
    SOURCE
    Description
    Name of the file that is currently executed (including extention)
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Topへ
    STDERR
    Description
    Virtual file number in standard error output
    Read / Write
    r
    Type
    number
    initial value
    2
    See Also
    Topへ
    STDLOG
    Description
    Read / Write
    r
    Type
    number
    initial value
    3
    See Also
    Topへ
    STDOUT
    Description
    Virtual file number in standard output
    Read / Write
    r
    Type
    number
    initial value
    1
    See Also
    Topへ
    TIME
    Description
    Current Time (HH:MM:SS)
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Topへ
    TRACE
    Description
    Specify a trace level to control information output to a log at execution.
    Specify any number from 0 to 6. Larger number outputs more detailed information.
    If you want to use this function within eval (including ${}), you need to be aware of the following:
    Trace level automatically decreases by 1 in eval. If TRACE is referred to, return value will be a value minus 1.
    Even though the trace level is changed in eval, the original level is still effective unless it goes out of eval.
    Read / Write
    rw
    Type
    number
    initial value
    1
    See Also
    Requirements
    dboralib.slb
    Topへ
    TRACEOUT
    Description
    Destination log file
    Read / Write
    rw
    Type
    string
    initial value
    eellog.txt
    See Also
    Requirements
    dboralib.slb
    Topへ
    YEAR
    Description
    Current Year
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Topへ
    FALSE
    Description
    Boolean value (FALSE)
    Read / Write
    r
    Type
    number
    initial value
    0
    Topへ
    TRUE
    Description
    Boolean value (TRUE)
    Read / Write
    r
    Type
    number
    initial value
    1
    Topへ
    XML_LOCAL_ENCODING
    Description
    Character encoding of program
    When an XML file is loaded, this does not need to be specified because the XML file includes character encoding in the file.
    If the program is output to a file, the program is written in the character code read by default.
    This character encoding is used as argument to the function
    For example, if the program is written in SJIS,
    XML_LOCAL_ENCODING = 'Shift_JIS'
    If the program is written in EUC,
    XML_LOCAL_ENCODING = 'EUC-JP'
    Read / Write
    rw
    Type
    string
    Requirements
    xmllib.slb
    Topへ
    XML_KEEP_BLANKS_DEFAULT
    Description
    To specify whether or not blank space is stored in the XML document (Boolean value)
    Read / Write
    rw
    Type
    number
    initial value
    TRUE
    Requirements
    xmllib.slb
    Topへ
    XML_LOAD_EXT_DTD_DEFAULT
    Description
    To specify whether or not external DTD is loaded (Boolean value)
    Read / Write
    rw
    Type
    number
    initial value
    FALSE
    Requirements
    xmllib.slb
    Topへ

    © Insight Technology, Inc. 1996-2003 All Rights Reserved.