HP 33s hp 33s_user's manual_English_E_HDPM20PIE56.pdf - Page 110
Syntax Errors, Verifying Equations - programming manual
UPC - 082916001456
View all HP 33s manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 110 highlights
Syntax Errors The calculator doesn't check the syntax of an equation until you evaluate the equation and respond to all the prompts - only when a value is actually being calculated. If an error is detected is displayed. You have to edit the equation to correct the error. (See "Editing and Clearing Equations" earlier in this chapter.) By not checking equation syntax until evaluation, the HP 33s lets you create "equations" that might actually be messages. This is especially useful in programs, as described in chapter 12. Verifying Equations When you're viewing an equation - not while you're typing an equation - you can press | to show you two things about the equation: the equation's checksum and its length. Hold the key to keep the values in the display. The checksum is a four-digit hexadecimal value that uniquely identifies this equation. No other equation will have this value. If you enter the equation incorrectly, it will not have this checksum. The length is the number of bytes of calculator memory used by the equation. The checksum and length allow you to verify that equations you type are correct. The checksum and length of the equation you type in an example should match the values shown in this manual. Example: Checksum and Length of an Equation. Find the checksum and length for the pipe-volume equation at the beginning of this chapter. Keys: Display: Description: |H ( as required) | (hold) (release) Displays the desired equation. Display equation's checksum and length. Redisplays the equation. Leaves Equation mode. 6-18 Entering and Evaluating Equations