The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
How the heck do I Iterate and Emulate?
10-04-2015, 07:18 AM (This post was last modified: 10-04-2015 07:42 AM by brickviking.)
Post: #1
How the heck do I Iterate and Emulate?
I've got a HP-50G, but people have been humming about the Prime for a little while now. I installed the emulator, and I have upgraded to the 8151 version. I tried a really simple program in the HP emulator:

Code:

EXPORT ITTST()
BEGIN
LOCAL X;
PRINT("X is "+X);
ITERATE(X^2,X,2,3);
PRINT("X is now "+X);
END;

All I get as output is "X is 0" (understandable) and "X is now 0" (which is not). Clearly I'm doing something completely wrong, as I typed the ITERATE example in from the manual, yet I'm not getting the same results as the manual. I also tried it in the Home screen, ITERATE worked fine there. So, where am I going wrong?

(Post 35)

Regards, BrickViking
HP-50g |Casio fx-9750G+ |Casio fx-9750GII (SH4a)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How the heck do I Iterate and Emulate? - brickviking - 10-04-2015 07:18 AM



User(s) browsing this thread: 1 Guest(s)