From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!agate !doc.ic.ac.uk!uknet!dcl-cs!marc@ucbvax.Berkeley.EDU (Marc Goldman)
Subject: Variable length strings??
Date: 5 May 93 10:49:41 GMT [thread overview]
Message-ID: <1993May5.104941.14603@comp.lancs.ac.uk> (raw)
I have a problem which has been causing me some headaches recently, and
i was hoping someone on here could help....
I am reading paths from a configuration file for the system i'm writing,
these paths are not of a set length, as they will depend on where the
system is installed.
I'm reading them into a long string, but ideally i need the string to be
the exact same length as the path. And i need this string variable to be
globally readable, not just for the scope of a particular function/procedure.
Any suggestions?? i've been messing with descriminate record types, but
with no success so far.
Any help greatly appriciated,
Thanks
Marc
------------------------------------------------------------------------------
** ** * ****** *** * | On the net,
** * ** *** ** ** * * | no-one can hear you scream!
** * ** *** **** ** * * |------------------------------------
** * ** *** ** ** * * | email marc@comp.lancs.ac.uk
** * ****** * ****** ** ** | marc@computing.lancaster.ac.uk
------------------------------------------------------------------------------
next reply other threads:[~1993-05-05 10:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-05-05 10:49 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!agate [this message]
-- strict thread matches above, loose matches on Subject: below --
1993-05-05 19:35 Variable length strings?? Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox