# # This file is encoded in (so called) SHIFT-JIS, # line delimitor is CR. # Transcript File Goodies for Squeak 1.31 Broken English description This goodies is a modification for Squeak from Mr. AOKI''s Transcript File Goodies for VisualWorks 2.5/2.5J and VisualWave 1.0 Copyright (c) 1995-1998 AOKI Atsushi 1998/01/05 http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/TscriptF.st Summary: This goodies writes "printing on Transcript" to a log file. If you do it "Transcript show:''Hello World!!''" it is appended to a log. So you can get complete output when Transcript was cleared. Installing: FileIn this goodies and makes a class "TranscriptFile" in a category "Goodies-Misc". AND modifies TextCollector>>endEntry When you want to restore your image, please remove this class "TranscriptFile" from your system. Additions of TextCollector class are automatically remevoed and restored. OR turn on: do it "TranscriptFile install." turn off: do it "TranscriptFile uninstall." how to use: You have not to mind to writing out to file, use Transcript usually. Output file name style is "YYYYMMDD.log". note: testing at code below Time millisecondsToRun: [1 to: 500 do: [:i | Transcript cr; show: i asString]] results are TranscriptFile not installed is 23467 (1.0) TranscriptFile installed is 39684 (1.7) ########################################################## 青木さんの http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/TscriptF.st を Squeak 用にいじったものです。 ドキュメントは http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/TscriptF.txt を参照してください。 ---------------------------------------------------------- 西原聡士 (NISHIHARA Satoshi) e-mail: mailto:nishis@zephyr.dti.ne.jp URL: http://www.zephyr.dti.ne.jp/~nishis/ ----------------------------------------------------------