The following warnings occurred:
Warning [2] Undefined array key 186019 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 186023 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 186030 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 186033 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 186089 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 186092 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 186033 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 186092 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





Wp34s STAT and PRG doubts



#7

Here are two more things that might be bugs or intended behavior... I didn't find informations on the manual telling me either way.

1) I have entered several data points with Sigma+. Then I chose, from the STAT catalog, x^ (the ^ goes above the x of course), and the calc showed a numerical value, and "Linear" on top. If then I press the up/down arrows, on the top line, I see the contents of the program memory, and the numerical value changes according to the step that is displayed above.
I know next to nothing about statistics, but this looks like a strange behavior...

2) If I want to write a program that as the first thing, it duplicates what is in x to y (like the DUP command of RPL), I have to put two ENTER steps. I thought just one should do. Why does the first ENTER do nothing?

Thanks,
Cristian


#8

Quote:
1) I have entered several data points with Sigma+. Then I chose, from the STAT catalog, x^ (the ^ goes above the x of course), and the calc showed a numerical value, and "Linear" on top. If then I press the up/down arrows, on the top line, I see the contents of the program memory, and the numerical value changes according to the step that is displayed above.

What did you expect the up and down arrows to do here?

They are in fact single stepping whatever program you have in memory & even if you don't have a program, they'll show step 000. The x^ operation has finished.

Quote:
2) If I want to write a program that as the first thing, it duplicates what is in x to y (like the DUP command of RPL), I have to put two ENTER steps. I thought just one should do. Why does the first ENTER do nothing?

You are probably getting caught by ENTER duplicating x into y and disabling stack lift. If you enter a number after ENTER, whatever in x is destroyed. As a fix RCL X should do what you want.

- Pauli


Edited: 13 June 2011, 3:48 a.m.


#9

Quote:

What did you expect the up and down arrows to do here?

They are in fact single stepping whatever program you have in memory & even if you don't have a program, they'll show step 000. The x^ operation has finished.


You're right. I was fooled by the fact that the top row said "linear" - other functions I usually use don't say anything on the top row - so I thought there was some choice to do, or something like that.
The fact that I posted that around 5am didn't help! :) Sorry!

Quote:
You are probably getting caught by ENTER duplicating x into y and disabling stack lift. If you enter a number after ENTER, whatever in x is destroyed. As a fix RCL X should do what you want.

I see. I don't actually enter a number after, but execute RAN# (I want to multiply X by a random number, but keeping a copy on y). I didn't think about the stack lifting being disabled.
I tried RCL X and it works. It works exactly like a DUP, right?

Thanks again,
Cristian


#10

Quote:
I see. I don't actually enter a number after, but execute RAN# (I want to multiply X by a random number, but keeping a copy on y). I didn't think about the stack lifting being disabled.
I tried RCL X and it works. It works exactly like a DUP, right?

Yes, RCL X is equivalent to DUP.


RAN# will replace the X register if stack lift is disabled. Plenty of other commands will as well.


Another sequence that should work and which is shorter is:

    RAN#
RCL* Y


- Pauli

#11

While we're on this topic: debugging 34s programs with the single-step key (down-arrow) always felt a bit ...strange for me. Now I think I know why:

While stepping through a program the 34s displays the previous step that has already been executed. So the numeric display shows the result after the step that is displayed in the upper line. In all other HPs I know of the display shows the next step that will be executed as soon as the SST-key is pressed. Makes more sense to me: on the 34s you never know what comes next. What do you think?

Dieter


#12

Hallo Dieter, that's Pauli's domain :-)


Possibly Related Threads…
Thread Author Replies Views Last Post
  [HP-PRIME prg] 1 CompSystems 1 1,006 11-03-2013, 07:03 AM
Last Post: Han
  HP50g rebind stat key Chris Smith 1 1,106 05-26-2013, 06:21 PM
Last Post: Software49g
  For sale: HP 25C and Stat Pac 2 for HP 65 Michae Altmann 1 1,087 04-21-2013, 01:24 PM
Last Post: Raymond Del Tondo
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 1,153 10-04-2012, 04:59 PM
Last Post: Paul Dale
  aOT (almost Off Topic)--HP Stat Apps Question Matt Agajanian 6 2,080 04-05-2012, 04:27 AM
Last Post: Nick_S
  [wp34s] Incomplete Gamma on the wp34s Les Wright 18 4,936 12-06-2011, 11:07 AM
Last Post: Namir
  [wp34s] Romberg Integration on the wp34s Les Wright 2 1,437 12-04-2011, 10:49 PM
Last Post: Les Wright
  Updated DATA management (STAT & DATA) Geir Isene 10 2,549 11-21-2010, 04:18 PM
Last Post: Geir Isene
  HP-35s Stat Pac Free to download!! Namir 11 2,703 02-23-2009, 10:58 AM
Last Post: Namir
  Help with an HP-67 Stat Pac I Program Namir 0 641 04-29-2008, 10:30 AM
Last Post: Namir

Forum Jump: