You can stop holding your breath :) The module is ready and good to go to the daylight. I bet you thought it'll never be finished (I for one did!) but sure enough it's reached the "good enough" stage.
A quick recap of its highlights:
- a 4-level complex stack, complete for all the functions and routines.
- simplified/optimized complex displaying. It now uses the "RE+jIM" notation, more legible with real-life numbers (with EEX part)
- The displaying is nor rounded, but Integer numbers will display without trailing zeros in the decimal part. So you quickly tell if it's integer or not (and saves real state in the display).
- common factor is extracted when Re(z)=Im(z), and not zero - somehow I found slightly misleading the line "0(1+j)"
- 8k module, holding more than 120 complex math and complex stack functions, plus about 20 more buffer-related functions, 98% of them in MCODE
- programmable promptimg memory functions - with IND addressing support in run time
Already submitted to TOS, should hopefully be ready for download in a few days time.
Thanks to those who provided suggestions and actual coding, real MCODE programmers out there. Peter, Eric, Egan, Howard... In particular Doug Wilder for his implementation of the programable prompting routine, and Håkan Thörngren for his coaching on the buffer implementation. It would have taken them just a fraction of the time it took me to put it together had they wanted to!
Best,
AM
Edited: 20 Sept 2009, 4:05 a.m.