0317

From BR Wiki
Revision as of 15:14, 3 March 2025 by GomezL (talk | contribs)
Jump to navigation Jump to search

Summary:

attempt to redimension an array that is already on the RPN stack

Cause:

attempt to redimension an array that is already on the RPN stack This error was added in BR! version 4.2.

The following program demonstrates the error. Remember that X & Y are the same array in this example, and you cannot assign the results of FN_Y to the same array.

00010 dim x(10)
00020 let x(1)=fn_y(mat x)
00030 end 
00040 def fn_y(mat y)
00060   mat y(1) 
00070   let y(1)=123
00080   let fn_y=y(1)
00090 fnend 


Remedy:

.