P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Ldc<t><n>
                                              ◄Up► ◄Contents► ◄Index► ◄Back►
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  Ldc<t><n>
 
  /* Push a constant on stack. */
 
  Possible Instructions
 
  LdcW0...LdcW10, LdcWub, LdcWm1, LdcWw, LdcLl, LdcD, LdcR, LdcT
 
  See: ◄P-Code Data Types►
       ◄P-Code Operands►
 
  Description
 
  Loads the constant <n> onto the stack. This is done any time a constant
  is assigned to a variable. For example,
 
  wT = 5
 
  generates a LdcW5.
 
  Pseudocode equivalent:
 
  Push<t>(<n>);
 
 
                                     -♦-