define method .createNewForm()
!this.formList[!this.myId] = object newForm(!this.myId)
!this.myId = !this.myId + 1
endmethod
--
----------------------------------------------------------------------------------------------------
define method .showAllForm()
!tempCounter = !this.myId - 1
if !tempCounter.gt(0) then
do !i to !tempCounter
!tempArray=!this.formList[!i]
show $!tempArray[!i].mynewForm$!i
enddo
endif
endmethod
(46,41)
ERROR - Invalid array index In line 302 of PML function testform.SHOWALLFORM
show $!tempArray[!i].mynewForm$!i
Called from line 1 of Command/Form Callback Command
!this.showAllForm()
!tempCounter = !this.myId - 1
if !tempCounter.gt(0) then
do !i to !tempCounter
!tempArray=!this.formList[!i]
show $!tempArray.mynewForm$!i
enddo
endif
(47,15) CP: Syntax error In line 301 of PML function testform.SHOWALLFORM
show ^^NEWFORM.mynewForm1
Called from line 1 of Command/Form Callback Command
!this.showAllForm()
!tempFormName = '!!' & !tempArray.mynewForm$!i
show $!
!formString = |!!| & !list.rtext[!entry]
!form = $!