Re: [foxboro] Printing Sequence Code Listings *with statement numbers*

Joe,

You can get pretty much the same information as displayed on the "code"
default display by typing:

strings blockname.r > blockname.txt

where blockname is the sequence block name and you're in the
/opt/fox/ciocfg/COMPOUND directory.  However, as with the default display,
you get no header information, normal comments, or user label definitions.

As part of my documentation tool set, I use a very old DOS executable
(written by Mark Shapiro, formerly in Philadelphia FAS) that very rapidly
converts a DOS text version of the HLBL source .s into a full concordance
listing with absolute line numbers, subroutine numbers, SBX numbers,
statement numbers, and a complete symbol cross reference.  This executable
runs fine in every DOS or WIN box I've tried it on (including XP), with the
following limitations:

- It doesn't understand /* */ commented out code and includes the statements
between in the line count.
- It gets very close to the same line numbers as the "code" display, but
sometimes not 100%.
- It can't handle line lengths longer than 132 characters (just break them
up with <CR> inserts).
- It DOES require a unix2dos conversion and loops indefinitely if you try it
on a Unix file.

It's also NOT a pre-compiler and doesn't substitute for #defines, nor does
it retrieve #include files (but, hey, that's what shell scripts are for).  I
don't think that Mark would mind if I distributed it to interested users.
So, contact me off-list if you're interested and I'll send you a copy.

[Also, check out the One_Click HTML documentation samples on my web site.
This documentation service takes the HLBL concordance a few steps further
and converts the source into a fully hyperlinked web page, with user label
mouseovers, navigation frames, block cross references, and numerous other
features.  The One_Click documentation service is fully automated (almost
:)) and is available for any I/A application for a modest fee].

Regards,

Doug Lloyd
DGL Controls
www.dglcontrols.com


-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]On
Behalf Of Joseph M. Riccardi
Sent: Thursday, November 20, 2003 7:43 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Printing Sequence Code Listings *with statement numbers*


Folks,

Early in the life of the IA System (BS - Before SunMicroSystems), Foxboro
supplied a custom PW-resident VENIX program that allows us to print Sequence
Code Listings *with statement numbers*; the same view you get from the
Select Detail Display.  Note the need for statement numbers; not line
numbers.  We are in the process of replacing the PWs, and wondering if this
same capability exists in any of the standard utilities now available on an
AW?

Thanks.



Joseph M. Riccardi
DCS Services - Industrial Process Controls
www.eRiccardi.com


_______________________________________________________________________
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


 
 
_______________________________________________________________________
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: