Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Script Problem: Declare variable as integer and assign it GUID
Fri, Nov 21 2014 10:59 AMPermanent Link

Barry

The following statement will prevent a script from running with no indication as to what line caused the problem:

 declare NEWROW_Rcd_Id     Integer default '{07D1F16F-E36A-4933-AED1-FC2EB8863182}';


There is no syntax error. Instead in the status bar I see "The execution of the script did not complete and was stopped in 0 seconds". This was the first statement in the script.

I think it should flag it as a syntax error or at runtime with a conversion error. At least then the user would know what line in the script has the problem.

Barry
v2.13B2
Mon, Feb 23 2015 10:50 AMPermanent Link

Barry

A similar problem occurs with a date declaration that has an invalid default value like:

Declare _CurDate        Date    Default '2013-0-01';

I'd like this line of the script to be flagged as a syntax error so I know which line is causing the problem.

Thanks

Barry
v2.13B2
Image