Stefano,
    What you are really doing is converting an integer value (0) to a string
(sorg[n]).  If it is posible, you can use external references, something
like

STRING :CMPND:BLK:PARAM'IO0001' := 0.0;

I don't have a system alive to test that,  I used a similar structure but I
can't remember the exact sintax.

Jorge Monsalvo
IVControl S.R.L.
Argentina

----- Original Message -----
From: "Stefano Persico" <[EMAIL PROTECTED]>
To: "Foxboro DCS Mail List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 7:09 PM
Subject: HLBL question


> Hi list
>
> i built an HLBL source where are defined some user labels for Real
> Output with a name like OUT1 OUT2 and so on.
> I've also an array (in a subroutine) with a S12 internal flag used to
> build the same name of the ones used for RO.
> I made this because i need to reset to zero a certain real output when a
> given integer and boolean are passed to the sequence.
>
> So the structure af the array is
> sorg[1] := "OUT1" ; sorg[2] := "OUT2" ; .........(sorg --> S12)
>
> I call the subroutine at first step of the sequence and some steps after
> i've the IF clause wich test the status of a given boolean and use the
> array with a given integer .
> I supposed to do
>         sorg[integer_input] := 0;
> but nothing run.
> It's probably because my array build a STRING which can't have a real
> value ???
> If so how can i build the name of a given real output user label and
> then put it to a given real value ???
>
> (OK probably is the worst way to have this function but when i started i
> didn't know where i'll arrive.......)
>
> Thank's lot
>
>
> -----------------------------------------------------------------------
> This list is neither sponsored nor endorsed by the Foxboro Company. All
> postings from this list are the work of list subscribers and no warranty
> is made or implied as to the accuracy of any information disseminated
> through this medium. By subscribing to this list you agree to hold the
> list sponsor(s) blameless for any and all mishaps which might occur due to
> your application of information received from this mailing list.
>
> To be removed from this list, send mail to
> [EMAIL PROTECTED]
> with "unsubscribe foxboro" in the Subject. Or, send any mail to
> [EMAIL PROTECTED]
>
>


-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]

Reply via email to