Saving, Restoring, and Modifying Mode Settings

Often, programs are designed to run in a specific mode (for example, FIX 4 or RPN). You can use L:uto recall the current mode, save it, modify the settings, either by going in the menu, or using the $:ufunction and then restoring it. For example:

1.L:u$1recalls and stores the current mode settings in Memory 1.

2.:u4IOselects FIX=4.

3.Your program: L1:$:urestores the mode settings to what they were at the beginning of the program.

4.Lureturns a 12 digit number: CactdmrvAOff. See Table 13-4 for a description of each digit.

Table 13-4

Digit Description

Ais “1” for radian mode, “2” for degree mode.

ais “1” in Semi-annual mode, “2” in Annual mode.

Cis “1” in Standard TVM mode, “2” in Canadian TVM mode.

c is “1” in Actual day count mode, “2” in 360 day count mode.

d is “1” if the decimal separator is “.”, 2 for “,”

ff is “00” to “11” or “13” and indicates the FIX setting (13 is for FIX=-1).

m is “1” for “mm.ddyyyy” mode, “2” for “dd.mmyyyy” mode.

O is “1” for Chain mode, “2” for Algebraic mode, and “3” for RPN mode.

rdefines the regression line type. “1” for a*x+b, “2” for a*ln(x)+b, “3” for b*e(ax), “4” for b*xa, “5” for b*ax, “6” for a/x+b and “7” for ax2+bx+c.

tis “1” if thousands separators are not visible, “2” if they are visible.

vis “1” for 2 variable statistics, “2” for 1 variable, and “3” for 1 variable frequency.

When using :$:u, any illegal value is ignored and this setting will not change. For example:

314:$:uwill switch to RPN mode. No other setting will change.

86 Programming

Page 94
Image 94
HP 20b Consultant Financial, 30b Professional manual Saving, Restoring, and Modifying Mode Settings

30b Professional, 20b Consultant Financial specifications

The HP 30b Professional calculator is a versatile tool designed specifically for business professionals, engineers, and educators. This reliable calculator merges advanced technologies with user-friendly features, enabling users to perform complex calculations with ease. The HP 30b is appreciated for its robust design and functionality, making it a top choice among those who require a dependable calculating device for various applications.

One of the standout features of the HP 30b is its capability to handle both RPN (Reverse Polish Notation) and algebraic entry modes. This flexibility allows users to choose the input method that best suits their preferences, enhancing productivity and minimizing calculation errors. The calculator also boasts a large, high-resolution display that ensures clarity when navigating through calculations and results.

The HP 30b comes equipped with essential business functions that include financial calculations, cash flow analysis, and statistical functions, all of which are invaluable in professional settings. Users can seamlessly compute interest rates, perform amortization schedules, and evaluate loan payments, making it an indispensable asset for finance-oriented individuals.

Another key characteristic is its programmable functionality. The HP 30b allows users to create custom programs tailored to specific tasks, which can save time and reduce manual entry errors. This programmable capability is especially beneficial for repetitive calculations, providing a significant efficiency boost in ambiguous or multi-step operations.

The durable construction of the HP 30b ensures longevity while the compact design makes it portable and convenient for on-the-go calculations. Additionally, the calculator features an energy-efficient design, which includes a long-lasting battery life, reducing the need for frequent replacements.

With a straightforward key layout and intuitive interface, the HP 30b is designed with user experience in mind. Whether in a classroom, office, or fieldwork scenario, users can easily navigate functions and access the features they need quickly. The HP 30b Professional calculator is truly an impressive blend of technology and practicality, making it an essential tool for anyone needing reliable performance in their daily calculations.