Re: [Clip] INI file handling (was:Re: Array)
- Alec Burgess wrote:
> Have you looked at ^!ProgIniLoad and ^!ProgIniSave?I had been thinking about direct menu commands, but thanks for the
hint. I'll go and look into it.
- Well, with NoteTab there is always more than one way to skin a cat.
Back in the days BEFORE NT had arrays, we used to create FAKE arrays.
^!Set %array01%=January; %array02%=February; ... %array12%=December
End result, it works just like an array, but you can use STRINGS to
access the individual elements:
;extract the month's 2-digit number
;use it as array index
You'd have to translate the names to your appliction. But you will not
need the intransparent code to strip leading zeros from a string.
--- In firstname.lastname@example.org, Axel Berger <Axel-Berger@...> wrote:
> ebbtidalflats wrote:
> > You could use a single 'M' for month in your date function.
> I could, but I don't use a date function. The YYMMDD string, e.g.
> 090209, is part of a file naming and anchor naming scheme.