• src/sbbs3/atcodes.cpp js_bbs.cpp js_console.cpp prntfile.cpp putmsg.cpp sbbs.h

    From rswindell@VERT to CVS commit on Wed Apr 29 20:34:49 2020
    src/sbbs3 atcodes.cpp 1.133 1.134 js_bbs.cpp 1.194 1.195 js_console.cpp 1.145 1.146 prntfile.cpp 1.41 1.42 putmsg.cpp 1.59 1.60 sbbs.h 1.562 1.563
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv1379

    Modified Files:
    atcodes.cpp js_bbs.cpp js_console.cpp prntfile.cpp putmsg.cpp
    sbbs.h
    Log Message:
    Support JavaScript property name expansion using JS:<name> @-code where name is the name of a scalar property in either the current scope (by default) or the scope of the object passed to:
    - bbs.menu()
    - console.putmsg()
    - console.printfile()
    - console.printtail()

    The 'name' cannot be an array element (e.g. myprop[0]) or a nested object reference (e.g. myobj.myprop): just a single property name that can be converted to a string.

    Also, bbs.menu() now accepts an optional print-mode argument (default: P_NONE).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net