Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #41
| From | "Anton Treuenfels" <teamtempest@yahoo.com> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| References | <e5ec3f2f-154b-4d49-999b-d064f2c8acb7@n10g2000vby.googlegroups.com> <nospam-306A99.11035712062011@news.aioe.org> |
| Subject | Re: Proposed command line argument extraction for Kyan Pascal |
| Date | 2011-06-14 16:22 -0500 |
| Message-ID | <kc-dnWNMKr-kTGrQnZ2dnUVZ_sednZ2d@earthlink.com> (permalink) |
"John B. Matthews" <nospam@nospam.invalid> wrote in message news:nospam-306A99.11035712062011@news.aioe.org... > > > const MaxString = 127; > type String127 = array [1..MaxString] of char; > StrPointer = ^StrRecord; > StrRecord = record > StrFound: String127; > NextStr: StrPointer > end; > function ParamStr(i : integer) : StrPointer; Um - if the purpose of 'MaxString' is to hide the actual numeric value it represents, doesn't it defeat the purpose to expose that value in the name 'Str127'? Would 'StrMax' be a better name, perhaps? That way if the value of 'MaxString' ever changes it wouldn't be necessary to change all the 'Str127' references to match (technically they wouldn't have to change, but they'd be fairly misleading names if left alone). - Anton Treuenfesl
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Proposed command line argument extraction for Kyan Pascal A2CPM <a2@wilserv.com> - 2011-06-12 02:40 -0700
Re: Proposed command line argument extraction for Kyan Pascal "John B. Matthews" <nospam@nospam.invalid> - 2011-06-12 11:03 -0400
Re: Proposed command line argument extraction for Kyan Pascal A2CPM <a2@wilserv.com> - 2011-06-13 08:47 -0700
Re: Proposed command line argument extraction for Kyan Pascal A2CPM <a2@wilserv.com> - 2011-06-14 04:38 -0700
Re: Proposed command line argument extraction for Kyan Pascal "Anton Treuenfels" <teamtempest@yahoo.com> - 2011-06-14 16:22 -0500
Re: Proposed command line argument extraction for Kyan Pascal "John B. Matthews" <nospam@nospam.invalid> - 2011-06-14 23:53 -0400
csiph-web