Reply To: Error changing value in schedule

Home Forums Problems and solutions in GDL Lists and schedules Error changing value in schedule Reply To: Error changing value in schedule

#18059
Péter Baksa
Keymaster

Why are you using a two-dimensional array with the first dimension size only 1? Is that only for the example?

Possible workaround: the parameters are dynamic arrays too. You can append items to it beyond its current size.

si = vardim2(a2)
if n > si then
	for i = si + 1 to n
		a2[1][i] = -1
	next i
	parameters a2 = a2
endif

Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE