Project

General

Profile

Bug #159

Unused variables, variable that has a comma does not get recognized

Added by Wil van Antwerpen over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
07/12/2019
Due date:
% Done:

0%


Description

I don't understand it as a bug.
Reported by Jose:
https://support.dataaccess.com/Forums/showthread.php?64610-DFRefactor-20190426-Unused-local-variables-curiosity

Let's assume following code:
~~~
Procedure MyProcedure
String sVarN1, sVarN2

Move "something" to sVarN1
Move "test" to sVarN2

End_Procedure
~~~
This piece of code is valid for the compiler.
If I make use of unused local variables sVarN1 gets deleted and program doesn't compile.

Also available in: Atom PDF