Subj : error in slight.src
To : Digital Man
From : Internetking
Date : 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 " " ?
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
$
[1;32m��������������������������������������������������[0m
[1;32m�[1C[34m Internetking / Sysop / The Whitehouse BBS [32m�[0m
[1;32m�[34m [31mBBS: telnet://bbs.hulds.com[19C[32m�[0m
[1;32m� [33mWWW:
http://bbs.hulds.com:8080 [32m�[1C[33m
[1;32m�[2C[36mGopher:
gopher://bbs.hulds.com[16C[32m�[0m
[1;32m� [35mFtp:
ftp://bbs.hulds.com[22C[32m�[0m
[1;32m�[48C�[0m
[1;32m�[2CWebsites I own:[31C�[0m
[1;32m�[48C�[0m
[1;32m�[2C[34m
http://www.hulds.com (main)[19C[32m�[0m
[1;32m�[2C[31m
http://www.wofa.bw (my guild website)[9C[32m�[0m
[1;32m�[2C[37m
http://www.wow-usa.us (wow related forums) [32m�[0m
[1;32m�[48C�[0m
[1;32m��������������������������������������������������[0m
---
� Synchronet � The Whitehouse BBS - whitehouse.hulds.com - The home of the internetking