The dictionary says:

"Standard error descriptions are stored in the cErrorsList of the first card of 
stack "revErrorDisplay". The error-code refers to the line number in this 
custom property which contains the error description."

but the RevErrorDisplay is now a script only stack and I can't find any custom 
prop on Card 1 as it appears to me the card is dynamically created runtime 
(interesting example for my future edification!)

It looks to me like we have a new  storage location, because we see this on 
lines 24-27 of the revErrorDisplay stacks script:


if sLCBErrorCode is empty then

# AL-2015-07-07: Calculate LCB error code

put lineOffset(kExtensionError, the scriptExecutionErrors) into sLCBErrorCode

end if

so on hunch based on this statement, since "the scriptExecutionErrors" was not 
a property of this stack, I thought "hmmm must be an IDE global prop" and ran 
in the msg box

Yes! there was the errorsList, copy and paste to a custom prop in our loader 
stack and good to go.

Now: question: Some lines are blank… is it mission critical that those empty 
lines be retained if we want to use that list in our own stacks? I assume not 
because use of LineOffset doesn't really care… but I thought to check

Any other caveats on the use of this list. How is the IDE setting a global 
property like this?  One expects to see "the scriptExecutionError of [some 
object]"
BR

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to