Library /sys$common/syshlp/DBG$HELP.HLB  —  DEBUG  DEPOSIT  Examples
    1.DBG> DEPOSIT I = 7

      This command deposits the value 7 into the integer variable I.

    2.DBG> DEPOSIT WIDTH = CURRENT_WIDTH + 24.80

      This command deposits the value of the expression CURRENT_WIDTH
      + 24.80 into the real variable WIDTH.

    3.DBG> DEPOSIT STATUS = FALSE

      This command deposits the value FALSE into the Boolean variable
      STATUS.

    4.DBG> DEPOSIT PART_NUMBER = "WG-7619.3-84"

      This command deposits the string WG-7619.3-84 into the string
      variable PART_NUMBER.

    5.DBG> DEPOSIT EMPLOYEE.ZIPCODE = 02172

      This command deposits the value 02172 into component ZIPCODE of
      record EMPLOYEE.

    6.DBG> DEPOSIT ARR(8) = 35
      DBG> DEPOSIT ^ = 14

      In this example, the first DEPOSIT command deposits the value
      35 into element 8 of array ARR. As a result, element 8 becomes
      the current entity. The second command deposits the value 14
      into the logical predecessor of element 8, namely element 7.

    7.DBG> FOR I = 1 TO 4 DO (DEPOSIT ARR(I) = 0)

      This command deposits the value 0 into elements 1 to 4 of array
      ARR.

    8.DBG> DEPOSIT COLOR = 3
      %DEBUG-E-OPTNOTALLOW, operator "DEPOSIT" not allowed on
           given data type

      The debugger alerts you when you try to deposit data of the
      wrong type into a variable (in this case, if you try to deposit
      an integer value into an enumerated type variable). The E
      (error) message severity indicates that the debugger does not
      make the assignment.

    9.DBG> DEPOSIT VOLUME = - 100
      %DEBUG-I-IVALOUTBNDS, value assigned is out of bounds
           at or near '-'

      The debugger alerts you when you try to deposit an out-of-
      bounds value into a variable (in this case a negative value).
      The I (informational) message severity indicates that the
      debugger does make the assignment.

    10DBG> DEPOSIT/OCTAWORD BIGINT = 111222333444555

      This command deposits the expression 111222333444555 into
      location BIGINT and converts it to an octaword integer.

    11DBG> DEPOSIT/FLOAT BIGFLT = 1.11949*10**35

      This command converts 1.11949*10**35 to an F_floating type
      value and deposits it into location BIGFLT.
Close Help