• Slight error in baja script (repost)

    From Internetking@VERT/INETK to all on Mon Sep 18 04:17:53 2017
    repost.ãã---------- Forwarded message ----------ãDate: Sun, 17 Sep 2017 17:58:50 -0700ãFrom: Internetking <internetking@inetk.synchro.net>ãTo: AllãNewsgroups: DOVE-Net.Synchronet_BajaãSubject: Slight error in baja scriptããããhere new error might have changed since then....ããAdministrator@internetking /cygdrive/c/sbbs/execã$ ./baja slightããBAJA v2.34-Win32 (rev 1.47) - Synchronet Shell/Module CompilerããCompiling slight.src...ã!SYNTAX ERROR (expecting integer constant):ãslight.src 17: mainããAdministrator@internetking /cygdrive/c/sbbs/execã$ãããpart of code:ããã# Display TEXT\MENU\SLIGHT\SMAIN.* if not in UM_expert modeãcompare_user_misc UM_expertãif_falseã menu smainã end_ifãã# Update node statusãnode_action mainãasyncããinc_main_cmdsããwhat fixes need to be done here?ãããThanks....ãã---ã þ Synchronet þ Internetking BBS - inetk.synchro.netã
  • From Digital Man@VERT to Internetking on Mon Sep 18 15:17:24 2017
    Re: Slight error in baja script (repost)ã By: Internetking to all on Mon Sep 18 2017 04:17 amãã > repost.ã >ã > ---------- Forwarded message ----------ã > Date: Sun, 17 Sep 2017 17:58:50 -0700ã > From: Internetking <internetking@inetk.synchro.net>ã > To: Allã > Newsgroups: DOVE-Net.Synchronet_Bajaã > Subject: Slight error in baja scriptã >ã >ã >ã > here new error might have changed since then....ã >ã > Administrator@internetking /cygdrive/c/sbbs/execã > $ ./baja slightã >ã > BAJA v2.34-Win32 (rev 1.47) - Synchronet Shell/Module Compilerã >ã > Compiling slight.src...ã > !SYNTAX ERROR (expecting integer constant):ã > slight.src 17: mainã >ã > Administrator@internetking /cygdrive/c/sbbs/execã > $ã >ã >ã > part of code:ã >ã >ã > # Display TEXT\MENU\SLIGHT\SMAIN.* if not in UM_expert modeã > compare_user_misc UM_expertã > if_falseã > menu smainã > end_ifã >ã > # Update node statusã > node_action mainã > asyncã >ã > inc_main_cmdsã >ã > what fixes need to be done here?ããThe fix is to add the following line near the beginning of the source (.src)ãfile in question:ãã!include sbbsdefs.incããI also created a FAQ on the wiki for this since it does still come up from timeãto time:ãhttp://wiki.synchro.net/faq:misc#old_bajaãã digital manããSynchronet/BBS Terminology Definition #25:ãFTS = FidoNet Technical StandardãNorco, CA WX: 79.3øF, 53.0% humidity, 10 mph N wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Internetking@VERT/INETK to Digital Man on Tue Sep 19 02:07:17 2017
    On Mon, 18 Sep 2017, Digital Man wrote:ãã>ã> Re: Slight error in baja script (repost)ã> By: Internetking to all on Mon Sep 18 2017 04:17 amã>ã> > repost.ã> >ã> > ---------- Forwarded message ----------ã> > Date: Sun, 17 Sep 2017 17:58:50 -0700ã> > From: Internetking <internetking@inetk.synchro.net>ã> > To: Allã> > Newsgroups: DOVE-Net.Synchronet_Bajaã> > Subject: Slight error in baja scriptã> >ã> >ã> >ã> > here new error might have changed since then....ã> >ã> > Administrator@internetking /cygdrive/c/sbbs/execã> > $ ./baja slightã> >ã> > BAJA v2.34-Win32 (rev 1.47) - Synchronet Shell/Module Compilerã> >ã> > Compiling slight.src...ã> > !SYNTAX ERROR (expecting integer constant):ã> > slight.src 17: mainã> >ã> > Administrator@internetking /cygdrive/c/sbbs/execã> > $ã> >ã> >ã> > part of code:ã> >ã> >ã> > # Display TEXT\MENU\SLIGHT\SMAIN.* if not in UM_expert modeã> > compare_user_misc UM_expertã> > if_falseã> > menu smainã> > end_ifã> >ã> > # Update node statusã> > node_action mainã> > asyncã> >ã> > inc_main_cmdsã> >ã> > what fixes need to be done here?ã>ã> The fix is to add the following line near the beginning of the source (.src)ã> file in question:ã>ã> !include sbbsdefs.incã>ãstill error even its included...ããã# DEFAULT.SRCã!include sbbsdefs.incãset_menu_dir slightãã# Set return point for main menu commands (via end_cmd)ãcmd_homeãã# Display TEXT\MENU\SLIGHT\SMAIN.* if not in UM_expert modeãcompare_user_misc um_expertãif_falseã menu smainã end_ifãã# Update node statusãnode_action mainãasyncããinc_main_cmdsãã---ã þ Synchronet þ Internetking BBS - inetk.synchro.netã
  • From Internetking@VERT/INETK to Internetking on Tue Sep 19 02:20:17 2017
    On Tue, 19 Sep 2017, Internetking wrote:ãã>ã> On Mon, 18 Sep 2017, Digital Man wrote:ã>ã>>ã>> Re: Slight error in baja script (repost)ã>> By: Internetking to all on Mon Sep 18 2017 04:17 amã>> ã>> > repost.ã>> >ã>> > ---------- Forwarded message ----------ã>> > Date: Sun, 17 Sep 2017 17:58:50 -0700ã>> > From: Internetking <internetking@inetk.synchro.net>ã>> > To: Allã>> > Newsgroups: DOVE-Net.Synchronet_Bajaã>> > Subject: Slight error in baja scriptã>> >ã>> >ã>> >ã>> > here new error might have changed since then....ã>> >ã>> > Administrator@internetking /cygdrive/c/sbbs/execã>> > $ ./baja slightã>> >ã>> > BAJA v2.34-Win32 (rev 1.47) - Synchronet Shell/Module ã>> Compilerã>> >ã>> > Compiling slight.src...ã>> > !SYNTAX ERROR (expecting integer constant):ã>> > slight.src 17: mainã>> >ã>> > Administrator@internetking /cygdrive/c/sbbs/execã>> > $ã>> >ã>> >ã>> > part of code:ã>> >ã>> >ã>> > # Display TEXT\MENU\SLIGHT\SMAIN.* if not in UM_expert ã>> modeã>> > compare_user_misc UM_expertã>> > if_falseã>> > menu smainã>> > end_ifã>> >ã>> > # Update node statusã>> > node_action mainã>> > asyncã>> >ã>> > inc_main_cmdsã>> >ã>> > what fixes need to be done here?ã>> ã>> The fix is to add the following line near the beginning ã>> of the source (.src)ã>> file in question:ã>> ã>> !include sbbsdefs.incã>> ã> still error even its included...ã>ã>ã> # DEFAULT.SRCã> !include sbbsdefs.incã> set_menu_dir slightã>ã> # Set return point for main menu commands (via end_cmd)ã> cmd_homeã>ã> # Display TEXT\MENU\SLIGHT\SMAIN.* if not in UM_expert modeã> compare_user_misc um_expertã> if_falseã> menu smainã> end_ifã>ã> # Update node statusã> node_action mainã> asyncã>ã> inc_main_cmdsã>ããI also tried to get it work by addingãã!include nodedefs.incããbut no luck.ãã---ã þ Synchronet þ Internetking BBS - inetk.synchro.netã
  • From Digital Man@VERT to Internetking on Wed Sep 20 23:49:52 2017
    Re: Re: Slight error in baja script (repost)ã By: Internetking to Digital Man on Tue Sep 19 2017 02:07 amãã > On Mon, 18 Sep 2017, Digital Man wrote:ã >ã >ã > > Re: Slight error in baja script (repost)ã > > By: Internetking to all on Mon Sep 18 2017 04:17 amã >ã > > > repost.ã >ã > > > ---------- Forwarded message ----------ã > > > Date: Sun, 17 Sep 2017 17:58:50 -0700ã > > > From: Internetking <internetking@inetk.synchro.net>ã > > > To: Allã > > > Newsgroups: DOVE-Net.Synchronet_Bajaã > > > Subject: Slight error in baja scriptã >ã >ã >ã > > > here new error might have changed since then....ã >ã > > > Administrator@internetking /cygdrive/c/sbbs/execã > > > $ ./baja slightã >ã > > > BAJA v2.34-Win32 (rev 1.47) - Synchronet Shell/Module Compilerã >ã > > > Compiling slight.src...ã > > > !SYNTAX ERROR (expecting integer constant):ã > > > slight.src 17: mainã >ã > > > Administrator@internetking /cygdrive/c/sbbs/execã > > > $ã >ã >ã > > > part of code:ã >ã >ã > > > # Display TEXT\MENU\SLIGHT\SMAIN.* if not in UM_expert modeã > > > compare_user_misc UM_expertã > > > if_falseã > > > menu smainã > > > end_ifã >ã > > > # Update node statusã > > > node_action mainã > > > asyncã >ã > > > inc_main_cmdsã >ã > > > what fixes need to be done here?ã >ã > > The fix is to add the following line near the beginning of the sourceã > > (.src) file in question:ã >ã > > !include sbbsdefs.incã >ã > still error even its included...ã >ã >ã > # DEFAULT.SRCã > !include sbbsdefs.incã > set_menu_dir slightã >ã > # Set return point for main menu commands (via end_cmd)ã > cmd_homeã >ã > # Display TEXT\MENU\SLIGHT\SMAIN.* if not in UM_expert modeã > compare_user_misc um_expertã > if_falseã > menu smainã > end_ifã >ã > # Update node statusã > node_action mainã > asyncã >ã > inc_main_cmdsããYou probably need to changing that "node_action main" to "node_actionãnode_main". But without knowing what error was occurring on what line, that'sãjust a guess.ãã digital manããSynchronet "Real Fact" #5:ãSynchronet version 3 for Win32 development began in 1999.ãNorco, CA WX: 63.0øF, 88.0% humidity, 2 mph ESE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã