RUN command RETURNING n

Luis Carlos Díaz Otero <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hi all.
 
What type of data is returned by a program when i run it in the form RUN command RETURNING n ?
 
I am trying to use it and always, in all the cases, the program returns a value equal to 256
...
...
RUN myprogram.4ae RETURNING myvalue
DISPLAY myvalue
...
...
 
(myvalue is defined as integer)
---------------------------------------
Inside the called program, i have:
...
...
...
RETURN datavalue
END MAIN
 
(datavalue is defined as integer),
 
And the data being displayed is always 256

Cordial saludo: 

Luis Carlos Díaz Otero



________________________________

Hay 10 clases de personas en el mundo: las que saben de números binarios y las que no


________________________________

Asesoramos y acompañamos su presentación de tareas y trabajos de matemáticas:
http://www.facebook.com/pages/Asesorias-Matematicas/142808622433724?created

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure

_______________________________________________
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.