cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

prime 6 limits to complexity of programs?

Participant

prime 6 limits to complexity of programs?

If you try to edit any data (for example a single numerical character) in the program sections of the attached worksheet you have to wait 2 or 3 seconds before getting a reaction. This makes very difficult to continue to add new lines of program. Is this behaviour connected to intrinsic capabilities of Prime?

Thank you

Tags (1)
6 REPLIES 6
Highlighted

Re: prime 6 limits to complexity of programs?

I see what you mean when I change something in your program calc and understand that, even if its only a short delay  (about 1 second or even less), thats quite annoying.

On the other hand its not good practice to write a program more then two and a half pages long. Its hard to read and difficult to maintain. I had not looked closer but I am pretty sure that it should be possible to split that program into several smaller ones or use some kind of subroutines to shorten it.
Obviously Prime has some difficulties when editing program regions which are that large.

 

Re: prime 6 limits to complexity of programs?

Thank you for your answer. I have difficulties in splitting my program in smaller tasks because Prime does not provide a machanism of subroutines in the sense of high level programming languages. The problem is the process of passing input and output parameters. I believe that using the limited capabilities of the subroutines in Prime may lead to an even more complicated and difficult to be read program and to loss the very force of Mathcad: the mathematical notation calculated in real time. I fear that for this task I will be obliged to revert to Visual Basic.

Re: prime 6 limits to complexity of programs?

Your program is indeed long. And Prime is slow.

Switch off automatic calculation in Prime and see if that helps to speed up the editing of your program.

 

Success!
Luc

Re: prime 6 limits to complexity of programs?


@LucMeekes wrote:

Your program is indeed long. And Prime is slow.

Switch off automatic calculation in Prime and see if that helps to speed up the editing of your program.

No, this does not help. The problem is not caused by the autocalculation (which is in effect only AFTER the editing has finished) but its the display and editing of the region itself. As you said - Prime IS slow.

Re: prime 6 limits to complexity of programs?

Hi,

PTC currently offers PRIME 6 and MATHCAD 15. The former does not compare with the latter. in fact, excluding some "defects", MATHCAD 15 can be considered a masterpiece of software.

Re: prime 6 limits to complexity of programs?

I reported this in case 13960276 way back in Prime 3.1, I think.  Never been fixed and they don't seem to think it's worthy of fixing, along with their other bugs.  The explanation I got was it was actually performing calculations - despite us editing something - and even if you turn calculations off.  

Announcements