(11-08-2016 03:42 PM)toml_12953 Wrote: (11-08-2016 02:48 PM)falcon56215 Wrote: Cool. I am new to the Prime, the TEVAL function is quite handy. Running 5 tests gives me
11.349 seconds
11.479 seconds
11.346 seconds
11.384 seconds
So.. some variance between runs but not much. It seems to be really fast for a BASIC language. Most BASIC languages I have seen are interpreted and compiled at run time, which makes them really slow, but it looks like the Prime pre-compiles the code when you run CHECK or exit the editor? Regardless, it seems to be a really nice piece of tech for hashing out some quick programs. I think I am going to enjoy having it around.
I think you'll enjoy it, too. I'm a big fan of PPL (Prime Programming Language). At one point I was going to develop a standard BASIC interpreter for the Prime but PPL has everything I need and I've found that porting most BASIC programs to it is very easy so there's little need for a BASIC interpreter. The Prime blows away all the other calculators I've tried in benchmarks. If it had an SD card slot and printing capability, I would rarely ever use a computer! As impressive as CAS is, I don't use it at all and wish HP would make a separate calculator for it rather than the mish-mosh we have now where even experienced uses can get hung up with variable names, function names and the way functions are evaluated. (JMTC!)
Tom L
Tom L
The one thing that PPL lacks wrt BASIC is a GOTO statement, which would really help to make sense of some old listings. Though I recall reading of a workaround, having it built-in would occasionally be useful.