Prolint


Lint this c.u. again not compiling again

Prolint.p only compiles the c.u. when it needs Listing and/or Xref.
There is a construction which will or will not enter the compile-loop:
Line 751:

IF NeedListing OR NeedXref THEN compiler-loop: DO compilerLoopNum = 1 TO 2:

but there is also a construction which passes ? (unknown) to the compiler-statement when Listing or Xref is not required.
Line 756:

LISTING VALUE(IF NeedListing THEN listingfile ELSE ?)
XREF VALUE(IF NeedXref THEN xreffile ELSE ?)


Results screen is missing the lower half

I have two sessions and one shows the lower half (Compilation Unit, Lint this c.u. again, Help on this rule, etc.). Is there some setting for this? I cannot find anything.


Rule Help: Check for SVN header

When creating a new program, we need to ensure the SVN header was added before checking the code in. What rule could I look at or copy with slight modifications for this? I noticed a couple of different approaches and I want the one that' most efficient.

Basically, I'm thinking all I need to do is see if SVN is somewhere in a comment at the top of the program.


How To: Varusage and variables only used in &if-statement

I'm trying out the ProParse/ProLint utilities and can't find a solution on how to deal with the following situation:
- use of Varusage to check on defined variables that are never used
- If there are variables that are only used in &if-blocks (and at the moment of the check this &if-statement gives a false result) I will get the message that this variable is defined but never used.
Now in this cases the next step I should do is to delete these unused variables but it is possible that the variable is used if the &if-statement give a positive result (so the variable has to be defined).


Prolint 101c

I am scheduled to do some Prolint consulting, starting mid-October. We will be setting up Prolint on a server, where it will monitor file changes and generate reports as a batch-style process.

My hope is that I'll be able to start them off right away using the new proparse.jar rather than the old proparse.dll. This means I'll have to move fast on a new version of Prolint.


Exclude.p error in first run.

Greetings.

v9.1A :(
I installed first time Prolint, and followed tutorial, but first file linted issues a (247) error (sorry, don't know english message, but is something like: Impossible to understand following to-- NOT LOGICAL (247)
c:\archivos de programa\progress\prolint\filters\exclude.p
and is the following line:
IF NOT LOGICAL(DYNAMIC-FUNCTION("ProlintProperty", "filters.excludelist")) THEN
RETURN.

That means I can't run on 9.1A?

Any help will be appreciated very much.
Godspeed.


emptyblock rule

Hi,

Prolint returns an error with blocks such as enable_UI and disable_UI eg...

PROCEDURE enable_UI :
/*------------------------------------------------------------------------------
Purpose: ENABLE the User Interface
Parameters:
Notes: Here we display/view/enable the widgets in the
user-interface. In addition, OPEN all queries
associated with each FRAME and BROWSE.
These statements here are based on the "Other
Settings" section of the widget Property Sheets.


How to get started?

I'm just getting started with ProLint and have a pretty basic question. Hope this is the correct place to post. If not, please let me know where I can find some help.

Is there a list of nodetypes somewhere? (in _template.p - the last parameter to run searchnode is a list of nodetypes to search) I looked through the Proparse documentation and I'm not finding it there either.

Thanks,
Barbara


how to sync editor in OpenEdge Architect??

I am trying to integrate Prolint in OpenEdge Architect (=Eclipse). I have made a new results view (programmed in ABL, not in Java) and it docks nicely in Eclipse as a tab next to the existing Console, Tasks and Problems views.
This new view has a browse widget that shows the warnings that Prolint has found.
For each line in the browse widget we know the sourcefile and line-number.


nopprsininclude rule

The nopprsininclude is reporting things in my code.

Help on this Rule gets me a blank page.

Could we have an explanation of this one please. Always keen to learn new things!


Syndicate content