Subj : Slight error in baja script (repost)
To   : Internetking
From : Digital Man
Date : Mon Sep 18 2017 03:17 pm

 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 <[email protected]>
> 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