TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: NELGIN
from: RAGNAROK
date: 2020-12-14 16:18:00
subject: Re: iniGetObject dotted k

El 14/12/20 a las 04:49, Nelgin escribió:
> Ragnarok wrote:
>> Hi, i try to parse the binkstats.ini to generate a report
>>
>> I have two questions:
>>
>> 1) i use iniGetObjet()
>>
>> example = the_file.iniGetObject("inbound success: 4:902/25@fidonet");
>>
>> print (example.info.sys) result "info is undefined".
>>
>> how to get "dotted" keys like, info.sys, info.loc with iniGetObject()
>> function?
> 
> Did you try
> ["example.info.sys"]

example["info.sys"] dit the trick!

thanks!


>> 2) I found that failed_sent_files key has "[object]" value text instead
>> of string human readable data like received_files key.
> 
> That's not a question.
> 

It's true, s/questions/issues/  jeje!

thanks!

---
 ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.