Fwd: [sdl-forum] SDL-News: Integer paramaters fandprocess types


Subject: Fwd: [sdl-forum] SDL-News: Integer paramaters fandprocess types
From: William H. Skelton (W.Skelton#SOLINET.com)
Date: Fri Dec 12 2003 - 08:52:30 GMT


Dear Keith,

Not being familiar myself with this subject I'm afraid I don't have an
answer for you, but I would like to mention that we are considering the
issue of context parameters in the SDL subset and one thing that has been
identified already is the need for these parameters to have any type, for
both blocks and processes.

As a procedure isn't a data-type and don't seem to be essential, this
aspect of context parameters may not be included.

If anyone wants to comment they can register at: www.SDL-Task-Force.org

William

>X-Authentication-Warning: sdl-forum.org: sdlforum set sender to
>owner-sdlnews#sdl-forum.org using -f
>From: KEMoss6#aol.com
>Date: Thu, 11 Dec 2003 12:56:44 EST
>Subject: [sdl-forum] SDL-news: Integer paramaters fandprocess types
>To: sdlnews#sdl-forum.org
>X-Mailer: 7.0 for Windows sub 10502
>X-Sender: owner-sdlnews#sdl-forum.org
>X-IMAIL-SPAM-VALFROM: (23528588)
>Sender: sdl-forum-owner#weyler.com
>Reply-To: sdl-forum#weyler.com
>
>Hello all
>
>I hope that somebody is able to understand this question and also to help out.
>
>I have process type with one signal as a context parameter. I would dearly
>like to have an integer number as a second parameter but that is not
>possible with process types. However procedures are a context parameter
>that can be used. I thought that I could use a procedure to return a
>different integer when called by different instances of the process.
>Everything seem hunky dory when I declare the procedure name parameter as
>'win' and the instances of the procedure have winA and winB as the actual
>procedure parameter.
>
>But I cannot seem to get IN/OUT bit right. I have an error message 'Error:
>I/OUT Parameter missing for procedure when it represents winA ( / win B)
>
> A:Node The declaration in the process box
> <PromptA,winA>
>
> Proceedure WinA
> FPAR Proceedure heading etc
> IN/OUT n Integer
>
>The body of the procedure just assigns an integer n=30.
>
>The procedure call is just win.
>
>Any suggests welcomed,.
>
>Keith Moss
>

------------------------------------------------------------------------
William H. Skelton, Engineering Dept.
SOLINET GmbH Solutions for Innovative Networks
Mittlerer Pfad 26, 70499 Stuttgart, Germany
Tel +49 711 1398 1377, Fax +49 711 866 1240
Mobile +49 171 247 6688
W.Skelton#SOLINET.com, www.SOLINET.com

Dear Keith,

Not being familiar myself with this subject I'm afraid I don't have an answer for you, but I would like to mention that we are considering the issue of context parameters in the SDL subset and one thing that has been identified already is the need for these parameters to have any type, for both blocks and processes.

As a procedure isn't a data-type and don't seem to be essential, this aspect of context parameters may not be included.

If anyone wants to comment they can register at: www.SDL-Task-Force.org
 
William

X-Authentication-Warning: sdl-forum.org: sdlforum set sender to owner-sdlnews#sdl-forum.org using -f
From: KEMoss6#aol.com
Date: Thu, 11 Dec 2003 12:56:44 EST
Subject: [sdl-forum] SDL-News: Integer paramaters fandprocess types
To: sdlnews#sdl-forum.org
X-Mailer: 7.0 for Windows sub 10502
X-Sender: owner-sdlnews#sdl-forum.org
X-IMAIL-SPAM-VALFROM: (23528588)
Sender: sdl-forum-owner#weyler.com
Reply-To: sdl-forum#weyler.com

Hello all

I hope that somebody is able to understand this question and also to help out.

I have process type with one signal as a context parameter. I would dearly like to have an integer number as a second parameter but that is not possible with process types. However procedures are a context parameter that can be used. I thought that I could use a procedure to return a different integer when called by different instances of the process. Everything seem hunky dory when I declare the procedure name parameter as 'win' and the instances of the procedure have winA and winB as the actual procedure parameter.

But I cannot seem to get IN/OUT bit right. I have an error message 'Error: I/OUT Parameter missing for procedure when it represents winA ( / win B)

                  A:Node               The declaration in the process box
            <PromptA,winA>

         Proceedure  WinA
           FPAR                                 Proceedure heading etc
           IN/OUT n Integer

The body of the procedure just assigns an integer n=30.

The procedure call is just win.

Any suggests welcomed,.

Keith Moss


------------------------------------------------------------------------
William H. Skelton, Engineering Dept.
SOLINET GmbH Solutions for Innovative Networks
Mittlerer Pfad 26, 70499 Stuttgart, Germany
Tel +49 711 1398 1377, Fax +49 711 866 1240
Mobile +49 171 247 6688
W.Skelton#SOLINET.com, www.SOLINET.com
--End text from "William H. Skelton" to sdlnews --- For extra SDL Forum Society benefits join at



This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:50 GMT