Greetings to all. You are no doubt holding your breath in expectation of the new developments on the 41_MCODE world... yes?
So the good news is the new release of the 41Z Module, with POLAR-mode capability: displaying and data input directly using POLAR notation.
Two new functions (aptly named POLAR and RECT) switch the 41Z mode back and forth. Complex number data entry (using the natural notation function, "^IM/AG") and displaying is done automagically according to the setting, but always stored in rectangular form.
This ensures compatibility with all FOCAL programs and speeds up the calculations - there's no need to convert the stored data upon mode switching, but only to display it appropriately when recalled.
The complex mode setting uses an internal "flag" in the complex buffer header register. It is permanent (until changed by the user), so it survives OFF-ON power cycles. The header has two more data registers to store the POLAR values of the currently-shown number - typically in XY, but can also be in a "complex storage register" if using the functions ZRCL or ZVIEW.
Should be posted at TOS in a few days, as always let me know if you have "urgent needs" :-)
Cheers,
ÁM