Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / Bug in RAISE ?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Bug in RAISE ?
#13094
Posted by: Michael S 2009-08-03 16:56:54
Try the following variations. First one that is considered okay when running (in RPC) Debug/Check script for errors

  temp = "COPYGLOBAL failed with return code "rc
  RAISE SYNTAX 2 DESCRIPTION temp

and now the "same" variation that fails the script checking

  RAISE SYNTAX 2 DESCRIPTION "COPYGLOBAL failed with return code "rc
or did I miss womething in the online help ?
Message2.
#13104
Posted by: DougA 2009-08-27 04:11:21
I also ran into the same issue the other day. When DESCRIPTION is followed by more than one value, it produces all sorts of errors.

resorting to creating the text, as in the first example works, but it's messy and defeats a lot of the "neat" reasons for using RAISE as extoled in the doc.
Doug
Message3. Update
#13106
Posted by: Doug Arndt 2009-09-09 04:25:01
Discovered today that using a variable following DESCRIPTION does not work at all, the variable name is made uppercase, and that becomes the description.

Using more than one word in the description causes errors, have to wrap them in quotes.  

Don't know if this is the way it's supposed to work, but having a rexx variable for the DESCRIPTION value would be very nice. (example two)

So in Michael's original post, BOTH variations won't work, but at least the first one doens't cause RPC errors.
Doug
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥477.00 ·
 
 
¥918.00 ·
 
 
¥370.00 ·
 
 
¥271.00 ·
 
 
¥995.00 ·
 
 
¥1,580.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0