From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 5 May 93 10:49:41 GMT 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?? Message-ID: <1993May5.104941.14603@comp.lancs.ac.uk> List-Id: 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 ------------------------------------------------------------------------------