Re: Explanation of Error code

2010-09-06 Thread Mark Schonewille
Len,

http://runrev.info/error.html

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

From 15th August, we'll have time for new projects! Be the first in line and 
contact me now!

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 6 sep 2010, at 21:14, Len Morgan wrote:

  More problems here, and this is with code that used to work fine.
 
 I'm trying to find an explanation for the 3 number (i.e., error 1,2,3, in 
 ) error codes that I'm getting back.  If you could just point me to where 
 to look in the manual or in the mailing list, I think I can figure it out.  I 
 just don't know where to look.
 
 len

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Explanation of Error code

2010-09-06 Thread Mark Wieder
 Len,

 http://runrev.info/error.html

Also, since I know you've got PowerDebug, open the messagebox and type

put ExplainError(xxx)

where xxx is the first number in the line, i.e., put ExplainError(465)

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Explanation of Error code

2010-09-06 Thread Len Morgan
 Thanks, Mark.  It worked like a champ and pointed out an oversight of 
mine when changing the name of a stack.  It was so simple as to be 
invisible.


I WILL be buying PowerDebug!

len


On 9/6/2010 2:25 PM, Mark Wieder wrote:

Len,
http://runrev.info/error.html

Also, since I know you've got PowerDebug, open the messagebox and type

put ExplainError(xxx)

where xxx is the first number in the line, i.e., put ExplainError(465)



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Explanation of Error code

2010-09-06 Thread Mark Wieder
Len-

Monday, September 6, 2010, 1:00:02 PM, you wrote:

   Thanks, Mark.  It worked like a champ and pointed out an oversight of
 mine when changing the name of a stack.  It was so simple as to be 
 invisible.

 I WILL be buying PowerDebug!

Thanks, but it's a bit embarassing since I've been holding off
announcing it until 4.5 gets out the door.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Explanation of Error code

2010-09-06 Thread J. Landman Gay

On 9/6/10 2:14 PM, Len Morgan wrote:

  More problems here, and this is with code that used to work fine.

I'm trying to find an explanation for the 3 number (i.e., error 1,2,3,
in ) error codes that I'm getting back. If you could just point me
to where to look in the manual or in the mailing list, I think I can
figure it out. I just don't know where to look.


In the dictionary, look up errorDialog where there is a good 
explanation of what the numbers mean and how to use them. Briefly, the 
numbers are:


Error code ID number
Line number where the error occurs in the script
Character offset in the line of script

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Explanation of Error code

2010-09-06 Thread Mark Wieder
Jacque-

Monday, September 6, 2010, 2:26:42 PM, you wrote:

 In the dictionary, look up errorDialog where there is a good
 explanation of what the numbers mean and how to use them. Briefly, the

Unfortunately the information in the docs about the errorDialog
message are a form of wishful thinking. That is, most of the
information is true most of the time, some of it may have been true in
times past but is not longer, and some of it may just be the way Scott
Raney wanted things to be. For instance, it is emphatically not true
that the errorDialog message is only sent while Script Debug mode is
turned off.

There are also other error messages such as compile-time errors that
are not in the cErrorsList of card 1, but rather in the cScriptErrors
of said card; and warnings, although I've never come across one of
those: I assume the compiler could possibly generate those if a
compile switch were enabled, but that's just guesswork on my part.

It's also unfortunately the case that the engine will sometimes
generate errorDialog messages with an empty executionError parameter
(BZ# 7741), and the only thing to do in that case is just pretend it
didn't happen.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Explanation of Error code

2010-09-06 Thread J. Landman Gay

On 9/6/10 5:36 PM, Mark Wieder wrote:

Jacque-

Monday, September 6, 2010, 2:26:42 PM, you wrote:


In the dictionary, look up errorDialog where there is a good
explanation of what the numbers mean and how to use them. Briefly, the


Unfortunately the information in the docs about the errorDialog
message are a form of wishful thinking. That is, most of the
information is true most of the time, some of it may have been true in
times past but is not longer, and some of it may just be the way Scott
Raney wanted things to be. For instance, it is emphatically not true
that the errorDialog message is only sent while Script Debug mode is
turned off.

There are also other error messages such as compile-time errors that
are not in the cErrorsList of card 1, but rather in the cScriptErrors
of said card; and warnings, although I've never come across one of
those: I assume the compiler could possibly generate those if a
compile switch were enabled, but that's just guesswork on my part.

It's also unfortunately the case that the engine will sometimes
generate errorDialog messages with an empty executionError parameter
(BZ# 7741), and the only thing to do in that case is just pretend it
didn't happen.



Good to know, thanks. At least the numbers still mean what I thought. 
Might be worth pasting the above into a dictionary user note.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution