Maple Adding Indentations in Maple for Organized Code | Step-by-Step Guide

  • Thread starter Thread starter Dragonfall
  • Start date Start date
  • Tags Tags
    Maple
AI Thread Summary
To add a "tab" or indentation in Maple, users find that pressing the tab key often skips to the next section instead of inserting a tab character. Suggestions include looking for an "Insert -> Tab" option, but this typically results in a tab for the entire section rather than for individual lines. Users recommend editing code in a text editor that supports indentation and then pasting it into Maple, as this may provide better control over formatting. Additionally, using spaces instead of tabs is mentioned as a potential workaround for achieving the desired indentation in code. There is also a note about the limitations of Maple's debugging tools, emphasizing the need for careful coding practices.
Dragonfall
Messages
1,023
Reaction score
5
"tab" in maple

How do you add a "tab" (indentation) in maple? If I press tab it skips to the next section.

I want to do something like:
Code:
if blah then
       blah
end if
 
Physics news on Phys.org


I don't have Maple on my computer that I have now, but I would think there might be a Insert -> Tab or something like that.

Note: If you can avoid to do programming in Maple, do so. The debugging tools on Maple are garbage.
 


No choice, I have to implement Kalai's random integer algorithm IN maple.

the "insert tab" thing does not insert a tab. Rather it inserts a tab for the entire section.
 


Doesn't maple accept input from a text file? There are probably even xemacs packages for prettifying maple code.

Even if it doesn't... you could still edit the code in your text editor, then paste into your maple session, couldn't you?

(BTW, have you tried using spaces?)
 

Similar threads

Replies
4
Views
2K
Replies
2
Views
6K
Replies
4
Views
4K
Replies
4
Views
4K
Replies
39
Views
8K
Replies
1
Views
5K
Replies
5
Views
2K
Back
Top