Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!uniwa!vax7!nlewispn From: Lewis_P@cc.curtin.edu.au (Peter Lewis) Newsgroups: comp.sys.mac.programmer Subject: Re: Think Pascal Wishes...? Message-ID: <3798.270868e2@cc.curtin.edu.au> Date: 2 Oct 90 02:16:02 GMT References: <4251@husc6.harvard.edu> <900043@yoyodyne> Organization: Curtin University of Technology Lines: 64 Hi All, Here is my 5c (Australia no longer produces 2c coins!) on THINK Pascal bugs and wishes - BUGS: If (from the finder) you select project fred.proj and its file fred.p, and then double-click them, TP may open fred.p twice (if re-open windows is selected, and fred.p was open the last time you used fred.proj), allowing both files to be edited and independantly saved leading to lost changes. If a const string s is defined, then s[i] is undefined if range checking is on, ie - {$R+} const s='Hello' begin for i:=1 to 5 do writeln(s[i]) { this will not in general print an H e l l o } end. WISHES: Command-Option-W & S should work (should Close All and Save All resp) (and they should work irrespective of the CAPS lock key unlike the finders treatment of command-option-W!) Option-double-click on internal (local) procedures should bring up there definition, and Option-double-click on a unit name in a uses list should open (or bring to the front) the unit The project file should be automatically overwritten when the Build Application menu item is chosen (this could be an option like Auto Save). That is, it should not even ask you for the name. The output application name (and folder) could be set in the Set Project Type dialog box. Have Build (or a seperate command) optionally generate a window of possible errors, including but not limitted to - Functions that do not assign return values, Variables, constants, types that are not used within their context (Note: both of these can be done by having a boolean in the symbol table, at little cost in compile speed) Stops Out should cause the editor to actually use the left centimetre of the window REITERATION: THINK Pascal is a wonderful environment. If it could read Net News, send & receive Email, and edit resources, I could live there! You can add my vote for at least half of the other suggestions! See ya, Peter. Disclaimer:Curtin & I have an agreement:Neither of us listen to either of us. *-------+---------+---------+---------+---------+---------+---------+-------* Internet: Lewis_P@cc.curtin.edu.au I Peter Lewis ACSnet: Lewis_P@cc.cut.oz.au I NCRPDA, Curtin University Bitnet: Lewis_P%cc.curtin.edu.au@cunyvm.bitnet I GPO Box U1987 UUCP: uunet!munnari.oz!cc.curtin.edu.au!Lewis_P I Perth, WA, 6001, AUSTRALIA