Re: Enhancements to msg_areas and MsgBase.
By: deon to Digital Man on Sun Apr 24 2022 04:10 pm
> Hey DM,
>
> I have two requests if possible.
>
> The documentation for MsgBase.cfg indicates that the "index" (to sub_list)
> should be shown, but it doesnt appear. It shows grp_number, but not index.
The "index" property of cfg is populated in the msg_area object but not instance of MsgBase, by design.
> Is that an ommission? (If so, can it be added).
It was intentional (there's no array being generated when a MsgBase object is created).
> eg: My PVT_TEST shows just these keys for cfg.
>
> "number",
> "grp_number",
> "grp_name",
> "code",
Yes, and you can use "code" as a index into msg_area.sub[] to get to the "cfg" of interest (that includes the "index" property).
> Is it possible to include in msg_areas.sub and msg_areas.grp_list.sub_list
> the fido address if configured? That might be useful in MsgBase as well.
I'll add a issue/request to gitlab for that enhancement.
--
digital man (rob)
Rush quote #53:
He picks up scraps of conversation, radio and radiation .. Digital Man
Norco, CA WX: 73.6øF, 21.0% humidity, 6 mph SW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.15-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|