Path: utzoo!mnetor!uunet!husc6!mit-eddie!bbn!rochester!ur-tut!aisl From: aisl@ur-tut (Larry Landry) Newsgroups: comp.sys.mac.hypercard Subject: Re: Printing Fields XCMD Message-ID: <1517@ur-tut.UUCP> Date: 25 Mar 88 16:24:29 GMT References: <220100010@uxe.cso.uiuc.edu> Reply-To: aisl@tut.cc.rochester.edu.UUCP (Larry Landry) Organization: Univ. of Rochester Computing Center Lines: 17 In article <220100010@uxe.cso.uiuc.edu> leonardr@uxe.cso.uiuc.edu writes: > > ... discovered that the GetField... calls all return handles to STRINGs >and not to text therefore limiting the fields to 255 chars. So out the window >went all my previous code and it was back to the drawing board. > My current solution (though not entirely working yet) is to use the >Open File and Write File commands in HyperTalk to write th file out to disk and >then call my XCMD with the name of the file. The XCMD then reads the text file, > Does anyone have a better solution than this? ... Even though GetField will not do what you want, you can evaluate a HyperCard expression with the EvalExpr command. This returns a handle to a zero terminated string. Just evaluate "card field 3" or whatever the field specification is. Larry Landry University of Rochester