From: ckawalek@cybergate.net (chris Kawalek) Newsgroups: comp.sys.mac.hypercard Subject: Print Only Text in SC Date: Sun, 24 Sep 1995 21:32:35 -0500 How do I only print the text of a field in SC also how do I use SwapChar XCMD in SC From: sothundr@seanet.com (Fourth World Embassy (Washington)) Newsgroups: comp.sys.mac.hypercard Subject: Re: Print Only Text in SC Date: Mon, 25 Sep 1995 22:19:52 -0800 The easiest way to print the text of a field is to create a "printing" window that contains a field on it. Then, when you wish to print any other field in the project, issue: put cd fld "StuffTOPrint" into tPrint open inv wd "Print" put tPrint into cd fld 1 print card close wd "Print" As regars SwapChar, you use it to replace one character with another. A good example would be to convert a list of items (comma-delimited) to a list of lines (return-delimited). The syntax is: SwapChar(, , ) So, if you had a field called "Fred" that contained: One,Two,Three,Four,Five A call to put SwapChar(field "Fred",",",return) into field "Fred" would result in the following placed into field "Fred": One Two Three Four Five I hope this helps. -- Ken Ray Fourth World Embassy (Washington) HyperMedia Development Tools
このホームページは、いぜんとして構築中です。もし
SCUJ ホームページ
についてご質問やご意見がございましたら、以下のホームページ管理者までメールにて
ご連絡下さい。
ホームページ管理者: 大島 久雄
電子メールアドレス: oshima@kyushu-id.ac.jp