Re: [foxboro] HLBL: request the BLOCK_NAME within sequencecode

> I am not sure I understand you, but try
> =20
> MYSTRING :=3D ::BLOCK.NAME;
> =20
> where "BLOCK" is the name of the block you are trying to reference.
> =20

Hi Ashley,

the trick is that I use general include files in my code.

And I want split the "unknown" block into separat pieces. One piece of
the block name is used to generate other blocknames where I would like
to gather data from.

example:

MYNAME :=3D STRING BLOCK_NAME;
MYNAME :=3D MYNAME(5..8);

VALUEfromAnotherBlock :=3D ::IND'MYNAME'.II0001;

Andreas
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: