Privacy and Security Notice

Archived Messages for CLAS_OFFLINE_1997@cebaf.gov: Re: c_bos_io library

Re: c_bos_io library

Dennis P. Weygand (weygand@b1.phy.bnl.gov)
Wed, 11 Jun 1997 13:32:39 -0400 (EDT)

Joe Manak wrote:
>During the past few months Maurik Holtrop and I
>have been
developing (off and on) a library of C routines designed to --
>provide a easy way of working with BOS banks in C.

Excellent job, Joe and Maurik. This is just what was
nedded, and I agree with you 100%- those of
us 'structured' programmers really should be using a common set of tools to
access the BOS data banks, and I urge all other C programmers to adopt this
package. One question: >That's it! A few comments: &bcs_ is a pointer to
the BOS common Do I need to declare the bcs_ common (and its storage)
somewhere? Or is done for me? If I have to do it- how big should it be?
Will it become a function of where I am in the processing scheme? Sorry, this
part of the BOS system I do find a bit silly, ie, using a *static* common to
mimic dynamic storage and data structures when there are already computer
languages that contain these advanced conepts, however, perhaps that can
become
the subject of a future debate. For the time being you did the right
thing.

----

D. P. Weygand
Physics Dept.
BNL (Soon to be JLab)
weygand@cebaf.gov