I am trying to use GO TO statement to change the program flow of the main program which controls my winform screen execution.
But VS 2013 throws below error even though i have declared the procedure name.
Error 73 COBCH0301 : Unrecognized verb
Error 74 COBCH0348 : Procedure name ASFFSAFGHAHSDHG undeclared, line 50 (first usage)
EX:
procedure division.
invoke type System.Windows.Forms.Application::EnableVisualStyles()
set FormSTKR to new WI100.STICKERSCR()
invoke type System.Windows.Forms.Application::Run(FormSTKR)
set mainForm to new WI100.WI10000SCR(FormSTKR)
invoke type System.Windows.Forms.Application::Run(mainForm)
set Form10010 to new WI100.WI10010SCR(mainForm)
invoke type System.Windows.Forms.Application::Run(Form10010)
if Form10010::ScrXmit = "X"
go to mainmenu-screen ------> error 74
end-if
mainmenu-screen. -------> error 73
if true
display "test"
end-if
goback.
end method.




