Subj : Re: This is not working
To   : Angus McLeod
From : Phil
Date : Sat Aug 25 2007 10:53 pm

This is not even working. When I tyepe in AGREE its not catching it.

!INCLUDE ERRNO.INC
!INCLUDE FILE_IO.INC
!INCLUDE USERDEFS.INC
!INCLUDE SBBSDEFS.INC
!INCLUDE NODEDEFS.INC
!global info
CLS
printfile "c:\sbbs\text\validate.txt"
PRINT "\r\n"
PRINT "\r\n"
print "\r\nI agree to abide by the follow terms and conditions (AGREE Or Type
NO ): "
STR INFO
GETSTR INFO 5 K_UPPER
COMPARE_STR "AGREE"
IF_TRUE
print "\r\nThe Word Agree was typed in"
print "\r\n"Press Enter"
STR INFO
end_if



>   Re: This is not working
>   By: Phil to All on Sat Aug 25 2007 20:45:00

>  > For some reason this is not working when I run this applicaton and I type
>  > th word AGREE and press enter.
>
> You have an awful lot of END_CMDs and no END_IFs at all!

> Also, may I draw your atention to section 3.1 of the BAJA docs?

> ---
> Playing: "S.Y.M.M" by "Manic Street Preachers"
        from the "This is my truth, tell me yours" album.
� Synchronet � Where we BAJA Rob into writing our modules.  The ANJO BBS

---
� Synchronet � bbs.cyberchatnet.com - Vienna, VA