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?
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".
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
i having a small problem... i tried to compile the searchlight command shell and i got error as:
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?
Sysop: | Tandy |
---|---|
Location: | New York, USA |
Users: | 15 |
Nodes: | 13 (0 / 13) |
Uptime: | 64:50:56 |
Calls: | 335 |
Messages: | 113,197 |