Project

General

Profile

Bug #548

Stop Compile Warnings for Arrays being used without being declared

Added by Phil Bell over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/14/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

The following example program causes the editor to report a "WARNING: variable "MYARR_array" Used without being declared at line xx...."

This warning should not be reported. The main issue is that the editor is re-positioned on the line of the warning and loses the position where the user was originally editing, leaving the user to having to scroll through the code to find the position they were last working, especially annoying with large programs.

Dim MYARR(20, 10)
Global MYARR()

Procedure MyTest[x]
MYARR(10, 10) = 0
End Proc

Do
MyTest[MYARR(10, 10)]
Wait Vbl
Loop

Also available in: Atom PDF