ladderliu
16th April 2004 03:06 UTC
Is there any error in my function?
here is my code:
Function loadNewEtnaXMLFail
MessageBox MB_RETRYCANCEL "Load new Etna XML data failed!" IDRETRY retry IDCANCEL stop
stop:
MessageBox MB_OK "show stop"
Quit
retry:
MessageBox MB_OK "show retry"
Call loadNewEtnaXML
FunctionEnd
when i press the retry button,i see the messagebox "show retry",then the finish page will show,the "loadNewEtnaXML"function have not been called.why?
thank you
deguix
16th April 2004 03:28 UTC
But you can debug it yourself:
1) Use MessageBox command to verify the result of variables, like:
MessageBox MB_OK $0
>
Will show the variable $0 in a message box.
OR
2) To use the code below you need the plugin "DumpState" which can be found on the Archive.
DumpState::Debug
>
It will show all the common variables ($0-9, $R0-9, $INSTDIR, $LANGUAGE, $OUTDIR, $EXEDIR, $CMDLINE) and the stack, and you can change them all by clicking over them on the dialog box. It's recommended if want accurate details.
ladderliu
16th April 2004 03:42 UTC
thank you very much,i got it:D