A4GL Objects Returnvalues

Maximilian Seidel <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hi everyone,

atm i develop a 4gl wrapper for a ui class(ui.progress).
Is it possible to return objects in functions? When i try it i get only 
assertation failed errors on the runtime.
I had tried it with copyoff/copyback but this wont work too...


Regards Max

Assertion failed: Object not found (File:object.c Line:115)

Err:Program ./main stopped at 'main.4gl', line number 17.

Error status number -30289.

Assertion failed.




main.4gl:

MAIN

DEFINE progress ui.progress

CALL test()
    RETURNING progress

END MAIN

FUNCTION test()

DEFINE pg ui.progress

CALL ui.progress.create()
    RETURNING pg

RETURN pg

END FUNCTION


-- 
Mit freundlichen Grüßen

Maximilian Seidel

VENTAS AG
Mexikoring 29
22297 Hamburg
Germany

Fon +49-40-32 33 34-0
Fax +49-40-32 33 34-38

[email protected]
www.ventas.de

VENTAS AG
Firmensitz: Mexikoring 29, 22297 Hamburg, Deutschland
Registergericht: Hamburg, HRB 80297
Ust.IdNr.: DE118686712
Vorstandsvorsitzender: Dipl.Ing. Alain Siverly
Aufsichtsratsvorsitzender: Dipl.Ing. Lothar Witt

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.