Comments in DM32 program listings
|
06-05-2023, 09:24 PM
Post: #1
|
|||
|
|||
Comments in DM32 program listings
The DM32 documentation doesn't mention it yet, but comments can be included within program listings in a way very similar to HP's RPL program comments. The comments can only exist in the "source code", created on a computer as a plain text file.
In brief, everything in a program line after (and including) a "#" character is considered to be a comment, and is automatically deleted when the program is loaded into RAM. EXAMPLE: Suppose that the following is the program section of a state file: Code: # PROGRAM When loaded into RAM from flash memory, this becomes the following program: Code: A01 LBL A Note: Unlike in RPL, there is no way to turn off comment mode within a program line. For example, EQN 1 + 2 # + 3 # + 4 is loaded into program memory as the equation 1+2, not 1+2+4. Everything between the first "#" and the end of the line is discarded. <0|ΙΈ|0> -Joe- |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Comments in DM32 program listings - Joe Horn - 06-05-2023 09:24 PM
RE: Comments in DM32 program listings - Rolief_Rechner - 06-11-2023, 05:27 AM
RE: Comments in DM32 program listings - Joe Horn - 06-11-2023, 12:32 PM
RE: Comments in DM32 program listings - rprosperi - 06-11-2023, 12:40 PM
|
User(s) browsing this thread: 1 Guest(s)