Re: Weird calculation
Re: Weird calculation
- Subject: Re: Weird calculation
- From: Ondra Cada <email@hidden>
- Date: Fri, 25 Jan 2002 16:00:11 +0100
Donald,
>
>>>>> Donald Brown (DB) wrote at Thu, 24 Jan 2002 12:51:50 -0600:
DB> In a similar situation I use a switch, but based on the [menuitem tag].
Agreed.
DB> Even if the menu items are switched around, some removed and some added,
DB> kThatThingYouDo is constant.
If we are speaking of a good programming style though, constants should
begin by uppercases.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc