• error in slight.src

    From Internetking@VERT/THRWHITE to All on Sun Apr 24 07:12:00 2011
    i having a small problem... i tried to compile the searchlight command shell and i got error as:

    C:\sbbs\exec>baja slight

    BAJA v2.34-Win32 (rev 1.42) - Synchronet Shell/Module Compiler

    Compiling slight.src...
    !SYNTAX ERROR (expecting integer constant):
    slight.src 9: expert

    C:\sbbs\exec>

    here is part of the sorce where the error is:

    # Display TEXT\MENU\SLIGHT\SMAIN.* if not in expert mode
    compare_user_misc expert
    if_false
    menu smain
    end_if

    how to fix this?

    ---
    ■ Synchronet ■ The Whitehouse BBS - whitehouse.hulds.com - The home of the internetking
  • From Digital Man@VERT to Internetking on Tue Apr 26 21:05:34 2011
    Re: error in slight.src
    By: Internetking to All on Sun Apr 24 2011 03:12 am

    i having a small problem... i tried to compile the searchlight command
    shell and i got error as:

    C:\sbbs\exec>baja slight

    BAJA v2.34-Win32 (rev 1.42) - Synchronet Shell/Module Compiler

    Compiling slight.src...
    !SYNTAX ERROR (expecting integer constant):
    slight.src 9: expert

    C:\sbbs\exec>

    here is part of the sorce where the error is:

    # Display TEXT\MENU\SLIGHT\SMAIN.* if not in expert mode
    compare_user_misc expert
    if_false
    menu smain
    end_if

    how to fix this?

    Change "expert" to "UM_expert".

    digital man

    Synchronet "Real Fact" #20:
    The first commericial sale of Synchronet was to Las Vegas Playground BBS (1992).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From Internetking@VERT/THRWHITE to Digital Man on Wed Apr 27 06:30:00 2011
    Re: error in slight.src
    By: Digital Man to Internetking on Tue Apr 26 2011 05:05 pm

    i having a small problem... i tried to compile the searchlight command shell and i got error as:

    C:\sbbs\exec>baja slight

    BAJA v2.34-Win32 (rev 1.42) - Synchronet Shell/Module Compiler

    Compiling slight.src...
    !SYNTAX ERROR (expecting integer constant):
    slight.src 9: expert

    C:\sbbs\exec>

    here is part of the sorce where the error is:

    # Display TEXT\MENU\SLIGHT\SMAIN.* if not in expert mode compare_user_misc expert
    if_false
    menu smain
    end_if

    how to fix this?

    Change "expert" to "UM_expert".

    i did change as you suggested... has to be in " " ?

    internetking@whitehouse /cygdrive/c/sbbs/exec
    $ ./baja slight.src

    BAJA v2.34-Win32 (rev 1.42) - Synchronet Shell/Module Compiler

    Compiling slight.src...
    !SYNTAX ERROR (expecting integer constant):
    slight.src 9: UM_expert

    internetking@whitehouse /cygdrive/c/sbbs/exec
    $
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    ▓ Internetking / Sysop / The Whitehouse BBS ▓
    ▓ BBS: telnet://bbs.hulds.com▓
    ▓ WWW: http://bbs.hulds.com:8080
    ▓Gopher: gopher://bbs.hulds.com▓
    ▓ Ftp: ftp://bbs.hulds.com▓
    ▓▓
    ▓Websites I own:▓
    ▓▓
    http://www.hulds.com (main)▓
    http://www.wofa.bw (my guild website)▓
    http://www.wow-usa.us (wow related forums) ▓
    ▓▓
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

    ---
    ■ Synchronet ■ The Whitehouse BBS - whitehouse.hulds.com - The home of the internetking
  • From Digital Man@VERT to Internetking on Fri Apr 29 01:29:24 2011
    Re: error in slight.src
    By: Internetking to Digital Man on Wed Apr 27 2011 02:30 am

    Re: error in slight.src
    By: Digital Man to Internetking on Tue Apr 26 2011 05:05 pm

    i having a small problem... i tried to compile the searchlight
    command shell and i got error as:

    C:\sbbs\exec>baja slight

    BAJA v2.34-Win32 (rev 1.42) - Synchronet Shell/Module Compiler

    Compiling slight.src...
    !SYNTAX ERROR (expecting integer constant):
    slight.src 9: expert

    C:\sbbs\exec>

    here is part of the sorce where the error is:

    # Display TEXT\MENU\SLIGHT\SMAIN.* if not in expert mode compare_user_misc expert
    if_false
    menu smain
    end_if

    how to fix this?

    Change "expert" to "UM_expert".

    i did change as you suggested... has to be in " " ?


    No, do not include the quotes.

    internetking@whitehouse /cygdrive/c/sbbs/exec
    $ ./baja slight.src

    BAJA v2.34-Win32 (rev 1.42) - Synchronet Shell/Module Compiler

    Compiling slight.src...
    !SYNTAX ERROR (expecting integer constant):
    slight.src 9: UM_expert

    At the top of slight.src, add the line (if it's not already there):
    !include sbbsdefs.inc

    If that line is already there, then perhaps you have an old sbbsdefs.inc file.

    digital man

    Synchronet "Real Fact" #13:
    SBBSecho was originally written by Allen Christiansen (King Drafus) in 1994.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From Internetking@VERT/THRWHITE to Digital Man on Sun May 1 06:58:00 2011
    Re: error in slight.src
    By: Digital Man to Internetking on Thu Apr 28 2011 09:29 pm

    i having a small problem... i tried to compile the searchlight command shell and i got error as:


    I fixed as you suggested, digial man and now next problem....

    okay it passed but it stoped at this part...

    cmdkey F
    chkfile ..\text\menu\slight\tmessage.*
    if_true
    menu tmessage
    end_if
    call file_transfers
    end_cmd

    with this error:

    C:\sbbs\exec>
    C:\sbbs\exec>baja slight.src

    BAJA v2.34-Win32 (rev 1.42) - Synchronet Shell/Module Compiler

    Compiling slight.src...
    !SYNTAX ERROR (expecting variable name):
    slight.src 91: ..\text\menu\slight\tmessage.*

    C:\sbbs\exec>

    What fixes can be done here?
    ---

    ====================================================================
    ! Internetking / Sysop / The Whitehouse BBS !
    ! WWW: http://bbs.hulds.com:8080 BBS: telnet://bbs.hulds.com !
    ! Gopher: gopher://bbs.hulds.com FTP: ftp://bbs.hulds.com 2121 !
    ! !
    ! Websites I own: !
    ! !
    ! http://www.hulds.com (main) - http://www.wow-usa.us (wow forums) !
    ! http://www.wofa.bd (wow guild) ! ====================================================================
    ---
    ■ Synchronet ■ Internetking BBS - bbs.hulds.com - Home of Internetking
  • From Digital Man@VERT to Internetking on Mon May 2 17:58:40 2011
    Re: error in slight.src
    By: Internetking to Digital Man on Sun May 01 2011 02:58 am

    Re: error in slight.src
    By: Digital Man to Internetking on Thu Apr 28 2011 09:29 pm

    i having a small problem... i tried to compile the searchlight command shell and i got error as:


    I fixed as you suggested, digial man and now next problem....

    okay it passed but it stoped at this part...

    cmdkey F
    chkfile ..\text\menu\slight\tmessage.*
    if_true
    menu tmessage
    end_if
    call file_transfers
    end_cmd

    with this error:

    C:\sbbs\exec>
    C:\sbbs\exec>baja slight.src

    BAJA v2.34-Win32 (rev 1.42) - Synchronet Shell/Module Compiler

    Compiling slight.src...
    !SYNTAX ERROR (expecting variable name):
    slight.src 91: ..\text\menu\slight\tmessage.*

    C:\sbbs\exec>

    What fixes can be done here?

    Put the path in quotes, that is, change the line to read:

    chkfile "..\text\menu\slight\tmessage.*"

    digital man

    Synchronet "Real Fact" #39:
    Synchronet has been ported to FreeBSD, NetBSD, OpenBSD, Solaris, QNX, and MacOS.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net