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

  • Context: Maple 
  • Thread starter Thread starter Dragonfall
  • Start date Start date
  • Tags Tags
    Maple
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 6K views
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?)