I'm posting the source code and build files for my latest version of Flume: 0.9.2. I still consider this beta software, especially since I have made some significant changes since the last version. If you try it, please be careful and skeptical at first. If you see obvious problems or questionable behavior, please share so we can make Flume better!
What's new in version 0.9.2 (changes since version 0.9.0):
* Flume now accommodates FLTK/X desktop settings in .Xdefaults such as window color and button style scheme (thanks to forum member tinypoodle for prodding me about this)
* Flume now offers a OPTIONAL reverse-polish notation (RPN) mode, similar to old HP calculators or the Forth programming language (thanks to forum member floppy for encouragement):
[RPN mode checked] 3 2 * 1 + = 7
* Flume now better manages number formats (real, integer, scientific notation) when the expression involves mixed types and when the result requires or is best expressed in another format (thanks to forum member Frank for encouragement):
0.5 / 0.25 = 2
10 / 3e0 = 3.33333333
* Flume now offers "as ___" post-fix functions to display a result in another format; available options are: as hex, as bin, as int (decimal integer) or as integer, as real, as sci (thanks to forum member TheNewbie for feedback, but this is for now a fairly simple implementation):
254 + 1 as hex = 0xFF ;
* Flume now offers an OPTIONAL "Track significance" mode, which rounds results according to guidelines taught in the physical sciences:
2e2 + 6e1 = 300 ; result rounded to 100s place, it would be 260 normally
321.2 * 22.0 = 7070.0 ; result rounded to three digits, it would be 7066.4 normally
* New round(num, placevalue) function: rounds the "num" number to the placevalue number.
Examples:
round(321, 100) = 300
round(351, 100) = 400
* fix in log10 function
Attached is a gzipped source tar archive. If you can't build this and would still like to participate in beta-testing, please send me a private message. Hope you enjoy this new version!
EDIT: first version I posted left out some last-minute changes. Correct tarball attached now. Plus I added a screenshot of the new version, sporting the FLTK "Plastic" theme.
EDIT2: corrected rounding behavior note in the 2e2 + 6e1 example.
--
Mike Lockmoore