RE: SDL-News: Procedure call of a value returning procedure


Subject: RE: SDL-News: Procedure call of a value returning procedure
From: laurent DOLDI (laurent.doldi#wanadoo.fr)
Date: Sat Jan 09 1999 - 10:54:15 GMT


The originator of this message is responsible for its content.
-----From laurent DOLDI <laurent.doldi#wanadoo.fr> to sdlnews -----

At 10:08 09/01/99 +0530, you wrote:
>The originator of this message is responsible for its content.
>-----From Ramana Bhamidipati <venkatrb#future.futsoft.com> to sdlnews -----
>
>... But when a return parameter is expected the same
>procedure call has to be placed in the task box and the syntax for
>calling the procedure looks somewhat like this
>ReturnVal := CALL XYZ(a,b,c)
>

Hello,

In that case you can also write in a PROCEDURE CALL SDL symbol:

    XYZ(a,b,c,RetrunVal)

(but this is less easy to read than using a TASK).

Regards,
Laurent DOLDI
TransMeth - Formal Methods applied to Telecommunications
Web: http://perso.wanadoo.fr/doldi/sdl
18, rue des SAULES
31400 TOULOUSE FRANCE
Tel. +33 (0)5 61 25 59 54
Mobile +33 (0)6 80 26 62 31
Email: laurent.doldi#wanadoo.fr

-----End text from laurent DOLDI <laurent.doldi#wanadoo.fr> to sdlnews -----
For help, email "majordomo#sdl-forum.org" with the body of your email as:
    help
or (iff this does not answer your question) email: owner-sdlnews#sdl-forum.org



This archive was generated by hypermail 2a23 : Sun Jun 16 2013 - 10:41:40 GMT