Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Help with MathPiperIDE

47 views
Skip to first unread message

Daniel Lovejoy

unread,
Apr 3, 2023, 5:04:33 PM4/3/23
to mathpiper-user
Hello, 

I am brand new to the MathPiperIDE (or any type of programming).  The guide I am using indicates that # can be used as a way to use the most recent result in a new calculation.  Do you all know if there is something with the current version causing an error around this or if I am perhaps misunderstanding something?  Here is a copy of the example and then the reply I am getting in the console. 

Working Example: 
In> 5*8
Result: 40

In> #
Result: 40

In> # * 2 (Note: there needs to be a space between the # and * characters.)
Result: 80


My Results: 
In> 5*8
Result: 40

In> #
Result: Exception
Exception: Error: The name <#> is an operator that cannot be evaluated without operands. Starting at index 0.


Thank you all for any help on this.  Also, let me know if this is not a correct use of this group. 

Thanks again, 
Daniel 

Ted Kosan

unread,
Apr 3, 2023, 5:15:35 PM4/3/23
to mathpip...@googlegroups.com
Hi Daniel,

What version of MathPiper are you using? If you evaluate "Version()" in the MathPiperConsole that is at the bottom of the MathPiperIDE main window, the version that it is using will be displayed:

In> Version()
Result: "342"

Also, what is the URL of where you obtained the guide you are using?

Ted





--
You received this message because you are subscribed to the Google Groups "mathpiper-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathpiper-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathpiper-user/fa183359-1007-45d2-8964-bd7f830310aen%40googlegroups.com.

Daniel Lovejoy

unread,
Apr 3, 2023, 8:35:08 PM4/3/23
to mathpiper-user
Hello Ted! 

Thank you for the reply.  The console indicated Result: "343".  I downloaded it recently (early March of this year from the mathpiper.org website).  

The guide is evidently your book!  It is the "Introduction To Programming With MathPiper And MathPiperIDE".  I just googled the name of the book and the PDF was the first search result in Google: 

introduction_to_programming_with_mathpiper_v.158.pdf (patternmatics.org)

The book is "v.158 - 07/12/17".  I was trying to replicate the information from section 6.2.2 Accessing Previous Input and Results.   

Thanks again!
Daniel 

Daniel Lovejoy

unread,
Apr 3, 2023, 8:35:12 PM4/3/23
to mathpiper-user
Hello Ted! 

First, apologies if I sent two replies.  This is my first-time using Groups and it does not appear as if my earlier reply posted.  

I just downloaded MathPiperIDE last month and the version is showing as: Result "343" 

For the guide, I am using a copy of your text book!  It's the "Introduction To Programming With MathPiper And MathPiperIDE" (v.158 - 07/12/17).  I found a copy online.  

Let me know if you would like a screenshot.  Also, I managed to save a copy of the MathPiperConsole as text document if that would help.  

Thanks again, Daniel 


On Monday, April 3, 2023 at 5:15:35 PM UTC-4 Ted Kosan wrote:

Ted Kosan

unread,
Apr 3, 2023, 8:48:46 PM4/3/23
to mathpip...@googlegroups.com
Daniel,

The initial posts from new members to a Google Group are moderated by default and require a group owner to approve them before they are sent to the group. I just configured your membership so that messages you send to this group in the future will go directly to the group :-)

The '#' symbol being used as the "most recent result" variable is deprecated in the current version of MathPiperIDE.

I teach an introduction to computer programming course using MathPiper at Shawnee State University in Ohio USA (where I am a faculty member). I can help you work through the latest version of the materials I use in this class if you would like. If you are interested, send an email to ted.kosan at gmail.com and I will help you get started.

Ted

Reply all
Reply to author
Forward
0 new messages