Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!roundup.crhc.uiuc.edu!ux1.cso.uiuc.edu!chip!bazyar From: bazyar@chip (Jawaid Bazyar) Newsgroups: comp.sys.apple2 Subject: Re: GS/OS Strings in Orca/C? How? Message-ID: <1991Jan15.223955.28338@ux1.cso.uiuc.edu> Date: 15 Jan 91 22:39:55 GMT References: <379@generic.UUCP> Sender: news@ux1.cso.uiuc.edu (News) Reply-To: bazyar@cs.uiuc.edu Organization: Mutation Testing Facility/UIUC Lines: 17 In article <379@generic.UUCP> ericmcg@pnet91.cts.com (Eric Mcgillicuddy) writes: >Create a structure called GSstring and put the length word in the length. > >struct GSstring { > int length; > char string[255]; /* or whatever buffer size you need */ >}; I would recommend using the predefined GSString255 type in the 2/orcacdefs/gsos.h file. That way other people reading your code will know exactly what it is. -- Jawaid Bazyar | Being is Mathematics Senior/Computer Engineering | Love is Chemistry bazyar@cs.uiuc.edu | Sex is Physics Apple II Forever! | Babies are engineering