• msgbase.get_msg_header

    From datavase@VERT/DATAVASE to All on Fri Mar 26 09:50:27 2010
    Hi,ããI'm writing an .js with the aim of exporting mesage areas to a PHP forumãbased. ãOn my .js I have:ããvar msg_header = msgbase.get_msg_header(6);ãconsole.print("\r\n\1n"+msg_header);ããInstead of the header of the message 6, what I get on the screen is:ã[object MsgHeader]ããPlease, could somebody point me to the right direction? What I'm doing wrong? ãThanks a lot.ããCheers,ãdatavaseãã-+-ã ß Synchronet ß datavase BBS (telnet/WWW: bbs.datavase.info) - 2:250/8ãã---ã þ Synchronet þ datavase BBS - telnet://bbs.datavase.infoã
  • From Digital Man@VERT to datavase on Fri Mar 26 10:19:41 2010
    Re: msgbase.get_msg_headerã By: datavase to All on Fri Mar 26 2010 09:50 amãã >ã > I'm writing an .js with the aim of exporting mesage areas to a PHP forumã > based.ã > On my .js I have:ã >ã > var msg_header = msgbase.get_msg_header(6);ã > console.print("\r\n\1n"+msg_header);ã >ã > Instead of the header of the message 6, what I get on the screen is:ã > [object MsgHeader]ã >ã > Please, could somebody point me to the right direction? What I'm doingã > wrong? Thanks a lot.ããmsg_header is an object. To view the properties of an object, you need toãreference them (like msg_header.from). Seeãhttp://synchro.net/docs/jsobjs.html#MsgBase_methods save_msg() method for aãcomplete list of header fields (properties). You can also enumerate through theãproperties and display them all using code such as:ããfor (p in msg_header)ã print(p +'='+ msg_header[p]);ããAnd see the examples .js files in your exec dir.ãã digital manããSnapple "Real Fact" #148:ãThe tallest man was 8 ft. 11 in. ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From datavase@VERT/DATAVASE to Digital Man on Sat Mar 27 11:01:59 2010
    Re: msgbase.get_msg_headerã > By: datavase to All on Fri Mar 26 2010 09:50 amã > ã > >ã > > I'm writing an .js with the aim of exporting mesage areas to a PHP forumã > > based.ã > > On my .js I have:ã > >ã > > var msg_header = msgbase.get_msg_header(6);ã > > console.print("\r\n\1n"+msg_header);ã > >ã > > Instead of the header of the message 6, what I get on the screen is:ã > > [object MsgHeader]ã > >ã > > Please, could somebody point me to the right direction? What I'm doingã > > wrong? Thanks a lot.ã > ã > msg_header is an object. To view the properties of an object, you need toã > reference them (like msg_header.from). Seeã > http://synchro.net/docs/jsobjs.html#MsgBase_methods save_msg() method for aã > complete list of header fields (properties). You can also enumerate throughã > the properties and display them all using code such as:ã > ã > for (p in msg_header)ã > print(p +'='+ msg_header[p]);ã > ã > And see the examples .js files in your exec dir.ã > ã > digital manã > ã > Snapple "Real Fact" #148:ã > The tallest man was 8 ft. 11 in. ã > ã > ---ã > þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.netããThanks a lot DM, ããthe information was excellent. Now I'm getting the information I wanted usingãthe properties.ããCheers,ãdatavaseãã-+-ã ß Synchronet ß datavase BBS (telnet/WWW: bbs.datavase.info) - 2:250/8ãã---ã þ Synchronet þ datavase BBS - telnet://bbs.datavase.infoã