Project

General

Profile

Actions

Bug #159

open

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

Added by Wil van Antwerpen over 6 years ago.

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

0%

Estimated time:

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.

No data to display

Actions

Also available in: Atom PDF