The following warnings occurred:
Warning [2] Undefined array key 58433 - 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 58451 - 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 58454 - 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 58461 - 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 58502 - 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 58522 - 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 58529 - 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 58451 - 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 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 58522 - 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 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 58529 - 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 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





Programming Question!!!



#8

Ok this is what I have so far :
<<" enter function""" input obj->-> a
<<a partfract "y(x)"->tag->str MSGBox>>
now I'm getting what I expect to see from the above what I really want to do is Dtag y(x) into another function (Intergration function) in function to excutes the solution to y(x) by intergrating it . I know it is holding what ever the anwere is, for input (a) in stack. have any ideas?


#9

Well, yes, my idea is that it would be a lot easier to help you if you
were careful to post exactly what you're trying to do. In particular,
pay very close attention to capitalization, spelling, and spacing,
both on your calculator and when posting online. I suggest that you
use a Conn4x "Text" file transfer or "Edit as Text", then copy and
paste it into the post, and (for this forum) enclose it between [pre]
and [/pre] "BBCode" tags. Doesn't:

%%HP: T(3)A(R)F(.);
\<< " enter function" "" INPUT OBJ\-> \-> a
\<< a PARTFRAC "y(x)" \->TAG \->STR MSGBOX
\>>
\>>
seem a lot better than:
Quote:
<<" enter function""" input obj->-> a <<a partfract "y(x)"->tag->str MSGBox>>

Also, note that if you use the copy and paste method, I can just
download your code to my calculator and try it out, rather than trying
to key it in, correcting errors at the same time.

Regards,
James

#10

oka thanks for the idea: my question was is it possible to excutues partfrac and call the solution into intergration in the same program . which the syntax yet has not been written.


#11

Do you mean that you want to use the result from PARTFRAC for something else in the program? Why not just DUP it and leave that copy on the stack for later use? Like this:

%%HP: T(3)A(R)F(.);
\<< " enter function" "" INPUT OBJ\-> \-> a
\<< a PARTFRAC DUP "y(x)" \->TAG \->STR MSGBOX
\>>
\>>
Regards.
James

#12

yes but I inten to implement another built in function integrate to slove the residues from the Partfrac get it


#13

"Harrington" --

An excerpt from James Prange's reply to your first post:

Quote:
Well, yes, my idea is that it would be a lot easier to help you if you were careful to post exactly what you're trying to do. In particular, pay very close attention to capitalization, spelling, and spacing, both on your calculator and when posting online.

Your three posts, verbatim:

Quote:
Ok this is what I have so far : <<" enter function""" input obj->-> a <<a partfract "y(x)"->tag->str MSGBox>> now I'm getting what I expect to see from the above what I really want to do is Dtag y(x) into another function (Intergration function) in function to excutes the solution to y(x) by intergrating it . I know it is holding what ever the anwere is, for input (a) in stack. have any ideas?

oka thanks for the idea: my question was is it possible to excutues partfrac and call the solution into intergration in the same program . which the syntax yet has not been written.

yes but I inten to implement another built in function integrate to slove the residues from the Partfrac get it


I doubt that you're illiterate, but it doesn't seem that you value the time and effort spent by people from whom you ask assistance.

I own the 28C, 48G, and 49G, but freely admit that I don't know RPL well enough to help (nor do I desire to become more proficient). If I were James, though, I wouldn't take the time to provide further counsel. I just don't think you "get it".

-- Karl S.

#14

No, I'm not at all sure that I "get it". By "Partfrac", do you mean
that your program is named "Partfrac"? If you really mean "PARTFRAC",
then write it that way.

Please do make an effort to write standard English. Try to write not
only in a manner that can be understood, but in a manner that can't be
misunderstood.

Doesn't having the result from PARTFRAC on the stack help? You can use
that result as the argument for something else that could follow what you have so
far.

For what you're doing, it seems to me that it may be better to have
the INPUT command force the Algebraic/Program-entry mode and start an
algebraic object, and you may as well have it check the syntax of the
algebraic object too. So how about:

%%HP: T(3)A(R)F(.);
@ Results from BYTES:
@ # B716h
@ 104.5
\<<
" enter function" { "''" 2. ALG V } INPUT
OBJ\->
\-> a
\<<
a PARTFRAC
DUP
"y(x)" \->TAG \->STR MSGBOX
\>>
\>>
Also, there's no need to use a local variable structure for this
program. The above program takes an object from the stack, stores it
to a local variable, and then puts the contents of the local variable
back on the stack and uses it for the argument to PARTFRAC, and
finally removes the local variable when it's done. Why jump through so
many hoops? Maybe try:
%%HP: T(3)A(R)F(.);
@ Results from BYTES:
@ # 78EEh
@ 88.
\<<
" enter function" { "''" 2. ALG V } INPUT
OBJ\->
PARTFRAC
DUP
"y(x)" \->TAG \->STR MSGBOX
\>>
That's smaller and faster, and ends up accomplishing the same
thing.

Regards,
James


Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple? programming question [WP34S] Shawn Gibson 3 1,414 03-15-2013, 11:56 AM
Last Post: Didier Lachieze
  WP-34S Programming Question Matt Agajanian 2 1,220 08-04-2012, 02:04 PM
Last Post: Matt Agajanian
  WP 34S programming question Nigel J Dowrick 35 7,973 04-10-2012, 02:23 AM
Last Post: Walter B
  15C programming question Eric Zoob 7 2,155 03-28-2012, 03:14 PM
Last Post: C.Ret
  Question about programming the HP-71B Namir 27 5,698 11-28-2010, 01:50 PM
Last Post: Egan Ford
  question on 12c programming Don Shepherd 2 1,131 12-24-2008, 06:33 PM
Last Post: Egan Ford
  17bII programming question Dewdman42 28 6,071 10-07-2008, 11:33 PM
Last Post: Dewdman42
  U Watch programming question.. Geoff Quickfall 12 2,852 06-07-2008, 05:57 PM
Last Post: Geoff Quickfall
  33s - programming question Frank Rottgardt 4 1,462 05-15-2008, 08:27 PM
Last Post: Don Shepherd
  50G Programming question Roger King 5 1,716 12-11-2007, 06:02 PM
Last Post: James M. Prange (Michigan)

Forum Jump: