Items tagged with maplet maplet Tagged Items Feed


I need a command for adding screentip to maple textbox.When user select textbox field, a comment appear and guide him to write correct format of algebric expression, e.g. when user writes 2sin(x) the format scanner can't specify 2 from 2sin, and user must write 2*sin(x) instead of 2sin(x).

I want explain these hints with screentip.


Why does MapletViewer launch the Maplet Splash Screen and then pop up a box saying it has an error launching the Maplet spash screen? As my previous question stated, it also will not run the maplet, popping up another error box as "explanation".

My maplet runs perfectly correctly and as expected when I run it directly from the worksheet.

However, when I export the worksheet to a .maplet file, it will not run and only gives the error:
At line 135, syntax error: reserved words `quit`, `done`, or `stop` unexpected.

According to wordpad, line 135 of the .maplet file is the last line of both the .maplet file and of the worksheet. It contains the statement:

Maplet[Display](<maplet name>);

There are no `quit`, `done`, or `stop` words anywhere visibly in the worksheet.

What is happening and how do I get the maplet to run?


I am programing the RSA-Algorithm. Somewhere in the program the user gets the choice to get a rough summary of the algorithm and the various steps used.

To do that I wrote a 1 1/2 page summary in Word. To see how the text is displayed withing the Window I took the first paragraph of my summary and put it in the following code:


mapletExplainRSA := Maplet(Window('title' = "Erfahre mehr über RSA",

["Das verschlüsseln und entschlüsseln einer Nachricht dient der sicheren Kommunikation. Es existieren bereits Methoden der sicheren Kommunikation. Eine davon nennt man &ldquor;one way ciphers&ldquo; oder &ldquor;trap door ciphers&ldquo;.  &ldquor;One way&ldquo; da obwohl alle eine Nachricht verschlüsseln können, nur einer sie entschlüsseln kann. Für jedes Verschlüsselungsverfahren gibt es einen Schlüssel für das verschlüsseln und einen anderen Schlüsseln für das entschlüsseln.",

[Button("Nachricht verschlüsseln", Shutdown("True")), Button("Abbrechen", Shutdown())]]));



The problem is that when I run this code the whole paragraph is written on the same line and hence does not even fit in the Maplet Window. Is there a way so that my rather long text will be formatet nicely within the Maplet window. Just like it would be displayed using Word. That is a text in paragraph style where sentences are wrapped automatically.



What is the difference between the "old" Maplet format and the "new" Möbius Project App format? Is the Möbius Project just a new name for writing Maplets? Is the programming different; are the mechanics of putting the file in a form to be used by students different; does the file containing the program that can be directly run by students have a different format and extension; are the kinds of things students see different? Is the Maplets function on the way to being discontinued in favor of the Möbius Apps?

I cannot find anything in the documentation for either format that relates it to the other format, although the general description of the output seems entirely the same.

I have made a maplet. The aim is to take two numbers in textboxes and find their Jacobi symbol. The result should appear in a third textbox. Now I have done all the steps and called a procedure on buttonclick. Following is the procedure I have made

jacob := proc (x, y)

local A, B;

A := x;

B := y;


jacobi(A, B)

end proc:


Problem: The problem is that when I make any small modification to the code it runs and shows the result in the 3rd textbox but as soon as I save it, restart maple and recompile the program, the textbox 3 will show jacobi(value of textbox1, value of textbox2) instead of the result. What should I do, actually I am new to maple. Please guide me.

i am trying to built a maplet which can encode and decode.  for example i have Ceasar encryption codes and i want to built a maplet that can do it. 

you can see below one of my try: encode is working but decode didnt work :/ what should i do?


alphabet := convert([97, 98, 99, 231, 100, 101, 102, 103, 240, 104, 253, 105, 106, 107, 108, 109, 110, 111, 246, 112, 114, 115, 254, 116, 117, 252, 118, 121, 122],bytes): 

code:= letter -> SearchText(letter,alphabet)-1:
char := i -> alphabet[i+1]:
modulus := Length(alphabet): 
shift := proc(key);
i -> (i+key) mod modulus;

CaesarEnc :=()-> Action(Evaluate('cpmessage'= 'Implode(map(char,map(shift('ky'),map(code,Explode('text')))))')):

CaesarDec := () -> Action(Evaluate('cpmessage' = 'CaesarEnc(-'ky','text')')):

Caesar := Maplet(Window('title'= "Caesar Encoding And Decoding", BoxLayout['BL1']( BoxColumn('halign'=left,
BoxRow(Label['l1']("Write message: ",'width'=100,'halign'=left), TextBox['text']('background'=white,'foreground'= brown,'height'=6,'editable'=true,'width'=50)),BoxRow(Label['l2']("Key: ",'width'=100,'halign'=left), TextBox['ky']('background'=white,'foreground'= black,'height'=3,'editable'=true,'width'=50)),Button("Encode",'onclick'=CaesarEnc()), Button("Decode",'onclick'=CaesarDec()),BoxRow(Label['l3']("Text: ",'width'=100,'halign'=left), TextBox['cpmessage']("",'background'=white,'foreground'= blue,'height'=6,'editable'=false,'width'=50) ))))):

i need to do it for my thesis. waiting for your answers, thank you :)

I have exported Maple code as a Maplet file.  When I click on the file Maplet Launcher opens but nothing "runs".  It looks like it's trying because the icon flashes, but no window opens.  The Maple worksheet from which the Maplet was generated runs fine.

Any suggestions as to how to get Maplet Launcher to run my Maplets?




Is there a way to play animations in maplets?

I can send an animation to a plotter, but don't know how to play it.  

Thanks, Rollie

I am using Maple 16, and trying to display several 3d plots simultaneously in a maplet (e.g. a line and a plane, etc.).  Whenever I use the "display" command the Plotter gives me 2-d axes.  

How can I get the display command to work in Maplets?

For example:

returns the axes in a plane, whereas

returns two surfaces (here the text fields are functions of x and y).

Thanks for any help you can give,



is there any way that i run my maplet output in  systems that havnt any maple install on them?

(i wanna run maple program without maple)



Hey Guys

I`m looking for a maplet that shuts down the entire program. A maplet that interrups the following steps and goes back to the beginning of the program.

Thanks for answers



I'm trying to display a list value in a maplet. But I can only manage to get textboxes, checkboxes and textfields. I know that in textfields I can display the evaluation of a function, but I tried many different ways and I still don't get the desired result. 

I designed a maplet with a button and 6 rows with a checkbox at the end of each row. When clicking the button I would like that the values of a list ("lstx", 6 values) are displayed in the 6 rows. Can you help me? thanx!!

I created a Maplet that calculates ODE (Ordinary Differential Equations) however I would like to create a button that can allow printing on paper

How can i use previous inputs in new maplet window.For example i have two maplet windows; maplet1 and maplet2 I use some inputs as a functions in maplet1 and i open new window by using botton from maple1.I also want to use same inputs for calculating function in maplet2
1 2 3 4 Page 1 of 4