![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Sometimes you take an old file with numeric-only item ids * and add a few related ids with *alphabetic suffixes like * * * * 14 * * * 551 * * * 551A * * 2800 but still want the legacy digit-only part of ids to line up,as above A correlative to add that trailing blank for digits-only ids is f;0;' ';'1';0;0;(L0);'1';[];(MCN);(L0);'0';<;[];: |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I like having all the stuff in one item; * a basic source code, compiled item, and catalog entry bulks that up to four items. * And yes these are brutal to maintain, hence the overblown *'line' A17. If the suffixes had been of variable length, I'd have gone with Basic. This feature was almost generic enough to warrant being in the MD, instead of just one file's dict *-- sadly the id field width is file-specific. |
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
I too have always believed that F-correlatives are fastest. But in the immortal words of RR: "Trust, but verify." So, I would say simple F-correlatives are faster, but the more tricky the F-correlative, the less the advantage. And as I was originally trying to point out, that tricky F-correlative quickly becomes impossible for me to grok; so, whose time are we saving by using F- correlatives? I would argue that the programmer is the most expensive component of the system. Well either the programmer is, or that programmer's manager is... |
#8
| |||
| |||
|
|
And just how did you find the documentation borne on attribute 17 lacking, again? *It was a mini-essay about a reasonably short attrib 8. |
#9
| |||
| |||
|
|
On Aug 29, 9:42 pm, "Frank Winans"<fwin... (AT) sbcglobal (DOT) net> wrote: And just how did you find the documentation borne on attribute 17 lacking, again? It was a mini-essay about a reasonably short attrib 8. On 9/1/11 11:00 AM, Scott Ballinger wrote: The fact that a "reasonably short" F-correlative requires 10 lines of detailed comments to explain what it's doing is exactly the point. Kudos to you for providing those comments- we've all seen lots of "concise" code with no comments whatever. |
#10
| |||
| |||
|
|
On 9/1/11 11:00 AM, Scott Ballinger wrote: The fact that a "reasonably short" F-correlative requires 10 lines of detailed comments to explain what it's doing is exactly the point. Kudos to you for providing those comments- we've all seen lots of "concise" code with no comments whatever. I was only helping myself; I'm probably worse than any of you at figuring |
|
Why not an A-correlative? Easier to write, and (closer to) self-documenting. frosty A tribute to my many happy hours using stack-based HP calculators... |
![]() |
| Thread Tools | |
| Display Modes | |
| |