Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Commented Unassigned: Code Analyst: add rule for parameters length [35693]

$
0
0
This describes a cause of buffer overrun errors:

https://vfpx.codeplex.com/wikipage?title=Thor%20TWEeT%2023

This would be a good rule to add to Code Analyst.
Comments: ** Comment from web user: JimRNelson **

That TWEeT is a good description of the problem, but not complete enough.

It describes that the root cause is a LParameters / Parameters line that is "too long" (more than 255 characters), but knowing exactly which characters to count is still a bit fuzzy.

The problem occurs in SCXs, VCXs, and PRGs. In PRGs, curiously it only occurs if the parameters list is on the same line as the Proc definition: Procedure MyProc(Parameters) but not if the parameters list is on a new line (using LParameters).


Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>