>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Features

Author Thread: Enhancement idea for immediate execution
Paul.Ravitz
Enhancement idea for immediate execution
Posted: Thursday, May 26, 2005 2:30 PM (EST)

How many times have you entered a statement in immediate execution mode and misspelled the name of a function or variable, or have unbalanced ('s, ['s, or 's, etc., and you press Enter and get VALUE ERROR, SYNTAX ERROR, whatever?  And these days with the greatly enhanced syntax coloring where, for example, you can pick a color for "Undefined Name" (I use purple), and "Coding Error" (I use red) and you type in your statement and just out of the corner of your eye you see purple or red but you're finger is already on its way to the Enter key -- too late.
 
Since APL+Win obviously already knows there's something wrong (either there's a red flag in the left margin or something is colored with the "Undefined Name" or "Coding Error" color), wouldn't it be nice if, rather than "letting" you get the impending error splashed all over your session, that it would just beep and display a message on the status bar?  Of course, this new behavior should be selectable, and be off by default.
 
This certainly isn't critical, but it would be a programmer-friendly feature, and there some good ones these days, such as syntax coloring.
 
Thoughts?
 
     p


Comments:

Author Thread:
davin.church
Enhancement idea for immediate execution
Posted: Thursday, June 23, 2005 12:30 PM (EST)
That sounds like an interesting idea. I'll have to keep an eye out for times when this happens to me to see if it'd be a good or bad thing (or I could just try it out if they implement it). Of course, this assumes that the syntax checking code is PERFECT, and I'm not doing strange things like defining a new function ([]FX) on the same line as I call it.

     



APL2000 Official Web Site

The true "final frontier" is in the minds and the will of people.
-- Gen. Michael E. Ryan, U.S. Air Force Chief of Staff

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |