Project

General

Profile

Actions

Bug #548

open

Stop Compile Warnings for Arrays being used without being declared

Added by Phil Bell about 4 years ago. Updated about 4 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

Actions

Also available in: Atom PDF