home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!nih-csl.dcrt.nih.gov!FAXCSL!PLUGGE
- From: plugge@faxcsl.dcrt.nih.gov
- Subject: FORTRAN character strings
- Message-ID: <1992Nov18.155753.20537@alw.nih.gov>
- Sender: postman@alw.nih.gov (AMDS Postmaster)
- Reply-To: plugge@faxcsl.dcrt.nih.gov
- Organization: Computer Systems Laboratory, DCRT, NIH
- Date: Wed, 18 Nov 1992 15:57:53 GMT
- Lines: 25
-
- How gross is the following STRING structure. I'd like to
- develop some string functions are a structure. Should I
- stick with ASCIZ or a character string and length format
- instead of the following -
-
- Integer Charlength
- Parameter (CharLength=132)
-
- Structure /String_Type/
-
- Union
- Map
- Character*(CharLength) Char
- End Map
- Map
- Byte Byte(CharLength)
- End Map
- End Union
- Integer Length
-
- End Structure
-
-
- Thanks for the input,
- Don
-