Ispirer Ispirer
 


Ispirer Home Page Ispirer SQLWays Product Page - Progress 4GL to .NET Conversion Request SQLWays

In order to find a parser error when migrating Progress 4GL to C#.NET, please, fulfill the following steps:

and just comment the statement with the parser error and check the conversion again – there should be no parser error. If there is still an error – it means that some another statement in the code causes it – find it the way you've just found one.

 Note: complete statements or blocks should be removed or comment during error searching.
  Correct examples:
  /*DEFINE VARIABLE v-line-index AS INTEGER.*/
 or
 /*	IF "aaa" = "dd" THEN DO:
    v-page-ct = v-page-ct + 3.
  END.*/
!Not correct:
/*DEFINE VARIABLE v-line-index*/ AS INTEGER.
or
IF "aaa" = "dd" THEN DO:
    /*v-page-ct = v-page-ct + 3.
  END.*/

You can also comment all the statements with parser errors in the original code, do conversion and uncomment them in generated results and manually rewrite them to C# syntaxes.


Ispirer Home Page Ispirer SQLWays Product Page - Progress 4GL to .NET Conversion Request SQLWays

sqlways/progress-4gl/how-to-find-parser-error.txt · Last modified: November 29, 2017, 03:08:10 AM by anastasiya.shpakava
 
© 1999-2018, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement