Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / Bug/Problem with CATCH

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Bug/Problem with CATCH
#13361
Posted by: DougA 2010-08-26 22:40:31
When I run this sample program, I get
1
2
3
FINALLY

What am I doing wrong that the CATCH ERROR routine isn't running ?
Or is there a bug here ?


Do I = 1 to 5
  Say I
  If I = 3 then RAISE ERROR 99 DESCRIPTION "ERROR ON 3"

  CATCH ERROR
    Say "Error raised" condition("E") condition("D")

  FINALLY
    Say "Finally"
end
Doug
Message2.
#13371
Posted by: DougA 2010-10-06 00:37:17
Would someone try this ?

If the FINALLY clause is removed, then the CATCH ERROR works.
Doug
Message3. I get the same results as you
#13372
Posted by: Michael S 2010-10-07 18:11:59
I think I appended something similar some time ago (don't remember when now)
Message4. Bump
#13427
Posted by: DougA 2010-11-24 00:23:52
Bump
Doug
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2017-9-22  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0