Thank you for the quick reply. Sorry for not having provided more details in the original post. My background is as a programmer and my use-case for Maple is prototyping new algorithms. I am following a particular pattern in my use of Maple.
1. Load my test data and explore it using one-off Maple commands in Document mode.
2. Evolve the one-off approach into a repeatable series.
3. Create a Maple procedure to hold the series.
4. Scale-up by reimplementing in another language or calling from another system using a programmatic interface to Maple.
I have found Maple to be very comfortable for steps 1 and 2. I am strugging with step 3 and have not yet reached step 4. I tried the "Maple Input" (1D) style in "Worksheet Mode." Other than the mode errors I keep making in forgetting to use SHIFT+ENTER in place of ENTER this seems to be a nicer way to write up a procedure or long loop. I notice that the body of the code is all red text. Is there a facility for syntax highlighting and auto-indenting analogous to what I mind find in Emacs or NetBeans?
For your second suggesiton you mention preparing the code in a text file. Is there an Emacs Maple-mode that I could use for something like this? Is this a typical thing to do or are there reasons to remain in the Maple interface?