Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!jarthur!spectre.ccsf.caltech.edu!tybalt.caltech.edu!palmer From: palmer@tybalt.caltech.edu (David Palmer) Newsgroups: comp.sys.mac.programmer Subject: Dialogs under Think C 4.0 Message-ID: <1990Feb12.072156.1901@spectre.ccsf.caltech.edu> Date: 12 Feb 90 07:21:56 GMT Sender: news@spectre.ccsf.caltech.edu Organization: California Institute of Technology Lines: 21 Does anyone have any object-oriented (Think C 4.0) dialog handling code that I could skeletonize and use in my code? There don't seem to be any examples in the Distribution. I am new to object oriented programming. I have produced a new class which handles physical quantities (scalars, no vectors yet), including units. This not only allows you to convert among unit systems, it lets you multiply a speed in furlongs/fortnight by a mass in stones, then divide by a time in ticks, and get the result (a force) in poundals. It keeps track of all the dimensions. I don't want to post it yet (what if everyone posted helloworld.c to comp.sources.misc?) but if anyone needs such a class, just ask. If anyone who asks is not a rank beginner, I would be interested in a critique. Thanks in advance. -- David Palmer palmer@tybalt.caltech.edu ...rutgers!cit-vax!tybalt.caltech.edu!palmer Meanwhile, on eng.string.floss, the waxed vs. unwaxed flamewar continues.