• printfile issues

    From Bill McGarrity@VERT/TEQUILAM to Digital Man on Thu Apr 26 12:56:00 2018
    Hiya DM...

    I've been running a script for quite sometime called Last10.src. I have the following section:

    TIME T
    FTIME_STR STR "%I:%M " T
    fprintf file "\r\n |15U |15%2.2s" NODENUM
    fPRINTF file "|07 %s " STR
    fprintf file "|07sl%-2.2s " SL
    fprintf file "|15%-15.15s" HANDLE
    fprintf file "|07%-23.23s" LOCATION
    fprintf file "|15%-19.19s|15U" COMMENT

    fclose file
    set top "%N..\\exec\\LCALLHD.ASC"
    set mid "%jlast10.dat"
    set bot "%n..\\exec\\lcallbot.asc"
    PRINTFILE top P_OPENCLOSE
    PRINTTAIL mid P_OPENCLOSE 10
    PRINTFILE bot P_OPENCLOSE

    I just made a minor change to the lcallbot.asc without increasing the lines.


    I saved it in block mode as an ansi and then coverted.

    The lcalltop.asc is 8 lines. Then there is a space. The last10.dat is
    exactly 10 lines then another space. The lcallbot.asc is 4 lines. Add a
    ll lines only works out to 23. Before I made the change ALL three would
    appear on the same screen with [Hit a Key} at the bottom. Now what's
    happening is the lcalltop.asc and the last10.dat is showing on the console
    then [Hit a Key]. I hit a key then the lcallbot.asc appears with another
    [Hit a Key]. As I stated, it was working. WTF did I do?

    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697
    Radio: radio.tequilamockingbirdonline.net:8010/live

    ---
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From MRO@VERT/BBSESINF to Bill McGarrity on Thu Apr 26 17:34:00 2018
    Re: printfile issues
    By: Bill McGarrity to Digital Man on Thu Apr 26 2018 04:56 pm

    Hiya DM...

    I've been running a script for quite sometime called Last10.src. I have the following section:

    TIME T
    FTIME_STR STR "%I:%M " T
    fprintf file "\r\n |15U |15%2.2s" NODENUM
    fPRINTF file "|07 %s " STR
    fprintf file "|07sl%-2.2s " SL
    fprintf file "|15%-15.15s" HANDLE
    fprintf file "|07%-23.23s" LOCATION
    fprintf file "|15%-19.19s|15U" COMMENT

    fclose file
    set top "%N..\\exec\\LCALLHD.ASC"
    set mid "%jlast10.dat"
    set bot "%n..\\exec\\lcallbot.asc"
    PRINTFILE top P_OPENCLOSE
    PRINTTAIL mid P_OPENCLOSE 10
    PRINTFILE bot P_OPENCLOSE

    I just made a minor change to the lcallbot.asc without increasing the lines.



    THAT'S WHAT YOU GET FOR USING MY SHITTY CODE!
    that's an oldie, too.
    anyways, you have too many lines. zip up what you have and send it to me and i'll fix it. they way you worded it, it made my head hurt.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::