You can use this: function expandError pErr -- expands LC runtime error numbers, with explanatory text -- probably based on a handler from someone on the use-LC list, not sure who -- revised by Peter M. Brigham, pmb...@gmail.com — freeware -- requires sr() repeat for each line e in pErr put item 1 of e into errNbr put item 2 of e into tLineNbr put item 3 of e into tCharNbr put item 4 to -1 of e into tHint put "• line" && tLineNbr & "," && "char" && tCharNbr & ": " into tErrMsg put "error #" & errNbr & ", " after tErrMsg put sr(line errNbr of the cErrorsList of card 1 of stack "revErrorDisplay") \ after tErrMsg if tHint <> empty then put " — hint:" && tHint after tErrMsg end if put tErrMsg & cr after errorlist end repeat return sr(errorlist) end expandError
function sr str -- sr = "strip returns" -- actually, strips all white space fore and aft -- place this handler in a library stack, -- where it will be available everywhere return word 1 to -1 of str end sr -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Apr 14, 2015, at 9:59 PM, J. Landman Gay wrote: > On 4/14/2015 8:17 PM, Dr. Hawkins wrote: >> However, where can I find the list of those codes, and what that error box >> means in general? > > User Sample Stacks (in the toolbar) -> LC Error Lookup > > or here: > > <http://livecodeshare.runrev.com/stack/712/LiveCode-Error-Lookup> > > Or make your own, the location of the error codes is listed in the > ErrorDialog entry in the dictionary. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode