• BAJA mod by me.

    From Hkb@VERT/TALAMASC/TIME/EXPLORER to All on Thu Nov 5 06:01:00 1998
    I made a nother BAJA mod. It is what Beta was trying to make but inproved...ãHkbãã---ã þ Synchronet þ Explorer - explorer.detour.net 7:00-8:00pmã
  • From Beta@VERT/TALAMASC/ROVER to Hkb on Fri Nov 6 11:10:00 1998
    RE: BAJA mod by me.ãBY: Hkb to All on Thu Nov 05 1998 02:01 pmãã > I made a nother BAJA mod. It is what Beta was trying to make but inproved...ããWhich one that I was trying to make?ãjBetaãã---ã þ Synchronet þ Um, no DNS lookup yet, my ICQ is 9833063ã
  • From Hkb@VERT/TALAMASC/TIME/EXPLORER to Beta on Sat Nov 7 12:27:00 1998
    RE: BAJA mod by me.ãBY: Beta to Hkb on Fri Nov 06 1998 07:10 pmãã > RE: BAJA mod by me.ã > BY: Hkb to All on Thu Nov 05 1998 02:01 pmã > ã > > I made a nother BAJA mod. It is what Beta was trying to make but inprovedã > ã > Which one that I was trying to make?ã > jBetaã > ãThe one that restricted people to doors. ããHere it is.............ã!INCLUDE SBBSDEFS.INCãcompare_ars FLAG 1 Yãif_falseãcompare_ars FLAG 1 Nãif_falseãyes_no "There are doors that might offend people do you want access to them?"ãif_trueãTOGGLE_USER_FLAG 1 Yãprint "You have access to them, you will only see this once..."ãelseãprint "You are restricted to some programs."ãTOGGLE_USER_FLAG 1 Nãã---ã þ Synchronet þ Explorer - explorer.detour.net 7:00-8:00pmã
  • From Tommyknocker@VERT/TALAMASC to Hkb on Sun Nov 8 01:42:00 1998
    RE: BAJA mod by me.ãBY: Hkb to Beta on Sat Nov 07 1998 08:27 pmãã > !INCLUDE SBBSDEFS.INCã > compare_ars FLAG 1 Yã > if_falseã > compare_ars FLAG 1 Nã > if_falseã > yes_no "There are doors that might offend people do you want access to them?ã > if_trueã > TOGGLE_USER_FLAG 1 Yãã Where are you end_if statements?ã TKããã---ã þ Synchronet þ telnet://talamasca-bbs.com http://www.talamasca-bbs.comã
  • From Hkb@VERT/TALAMASC/TIME/EXPLORER to Tommyknocker on Sun Nov 8 07:25:00 1998
    RE: BAJA mod by me.ãBY: Tommyknocker to Hkb on Sun Nov 08 1998 09:42 amãã > RE: BAJA mod by me.ã > BY: Hkb to Beta on Sat Nov 07 1998 08:27 pmã > ã > > !INCLUDE SBBSDEFS.INCã > > compare_ars FLAG 1 Yã > > if_falseã > > compare_ars FLAG 1 Nã > > if_falseã > > yes_no "There are doors that might offend people do you want access to thã > > if_trueã > > TOGGLE_USER_FLAG 1 Yã > ã > Where are you end_if statements?ã > TKã > ã > ãIf you look close I am useing ãelseãinsted of end_if.ãã---ã þ Synchronet þ Explorer - explorer.detour.net 7:00-8:00pmã
  • From Reaper Man@VERT/TALAMASC/TIME/FLAMINT to Hkb on Sun Nov 8 12:23:00 1998
    RE: BAJA mod by me.ãBY: Hkb to Tommyknocker on Sun Nov 08 1998 15:25:00ãã > If you look close I am useingã > elseã > insted of end_if.ããum, you still gotta put your end_if at the end to tell the compiler that youãare no longer doing if/then stuff.ã(I'm not BSing, its the same in qb...)ãã---ã þ Synchronet þ Flamin' Torch BBS - The Board on Fireã
  • From Beta@VERT/TALAMASC/ROVER to Hkb on Sun Nov 8 15:33:00 1998
    RE: BAJA mod by me.ãBY: Hkb to Beta on Sat Nov 07 1998 08:27 pmãã > The one that restricted people to doors.ã > ã > Here it is.............ã > !INCLUDE SBBSDEFS.INCã > compare_ars FLAG 1 Yã > if_falseã > compare_ars FLAG 1 Nã > if_falseã > yes_no "There are doors that might offend people do you want access to them?ã > if_trueã > TOGGLE_USER_FLAG 1 Yã > print "You have access to them, you will only see this once..."ã > elseã > print "You are restricted to some programs."ã > TOGGLE_USER_FLAG 1 NããCool.ãBetaãã---ã þ Synchronet þ Um, no DNS lookup yet, my ICQ is 9833063ã
  • From Tommyknocker@VERT/TALAMASC to Hkb on Mon Nov 9 13:56:00 1998
    RE: BAJA mod by me.ãBY: Hkb to Tommyknocker on Sun Nov 08 1998 03:25 pmãã > If you look close I am useing ã > elseã > insted of end_if.ãã If you look close at page 32 of the Baja Doc that comes with 2.3bãrelease you will see the following.ãããEND_IFã This function is used to terminate an IF_... or ELSE code block. EveryãIF_... function must be followed by an ELSE or END_IF instruction, and everyã ELSE function must be followed by an END_IF.ããã Todays lesson in Baja and the END_IF. I have missed this myself, andãhad a module that ended up in the wrong place at the wrong time. Hope thisãhelps your coding.ã °°±±²²ÑímmæKní€kîr²²±±°°ããããã---ã þ Synchronet þ telnet://talamasca-bbs.com http://www.talamasca-bbs.comã
  • From Hkb@VERT/TALAMASC/TIME/EXPLORER to Tommyknocker on Tue Nov 10 01:32:00 1998
    RE: BAJA mod by me.ãBY: Tommyknocker to Hkb on Mon Nov 09 1998 09:56 pmãã > Todays lesson in Baja and the END_IF. I have missed this myself, aããThank You I will correct my BAJA mod... I just made it for the fun of it... ãã---ã þ Synchronet þ Explorer - explorer.detour.net 7:00-8:00pmã
  • From Ksandre Katrius@VERT/TALAMASC/TOD to Reaper Man on Tue Nov 10 04:33:00 1998
    RE: BAJA mod by me.ãBY: Reaper Man to Hkb on Sun Nov 08 1998 20:23:00ãã > um, you still gotta put your end_if at the end to tell the compiler that youã > are no longer doing if/then stuff.ã > (I'm not BSing, its the same in qb...)ããAh. I'm glad you pointed that out since it's always been a dilemma for meãbecause Rob's BAJA Manual is very vague about that (it, in fact, _implies_ thatãan "else" ends an 'if/then' thing without an "end_if" - sort of - you have toã_know_ Rob to figure out what he means in his DOCs - that's where having thisãDOVEnet really _was_ useful - Rob's Manuals assumed such great priorãknowledge). ããUh, sorry for the run-ons!ãã---ã þ Synchronet þ BajaHaus at MEKHET's IFHU TOWER_OF_DESTINY_BBS 603-293-0580ã
  • From Ksandre Katrius@VERT/TALAMASC/TOD to Tommyknocker on Tue Nov 10 04:36:00 1998
    RE: BAJA mod by me.ãBY: Tommyknocker to Hkb on Mon Nov 09 1998 21:56:00ãã > END_IFã > This function is used to terminate an IF_... or ELSE code block. Everyã > IF_... function must be followed by an ELSE or END_IF instruction, and everyã > ELSE function must be followed by an END_IF.ããã<sigh>ãOh, well....I guess it's good that my BAJAs are redundant as Gertrude Stein!ãSee what I mean though? It does kinda imply that the "ELSE" can be used toãterminate an 'if/then.'ãã---ã þ Synchronet þ BajaHaus at MEKHET's IFHU TOWER_OF_DESTINY_BBS 603-293-0580ã
  • From Ksandre Katrius@VERT/TALAMASC/TOD to Hkb on Tue Nov 10 04:40:00 1998
    RE: BAJA mod by me.ãBY: Hkb to Tommyknocker on Sun Nov 08 1998 15:25:00ãã > > RE: BAJA mod by me.ã > > BY: Hkb to Beta on Sat Nov 07 1998 08:27 pmã > >ã > > > !INCLUDE SBBSDEFS.INCã > > > compare_ars FLAG 1 Yã > > > if_falseã > > > compare_ars FLAG 1 Nã > > > if_falseã > > > yes_no "There are doors that might offend people do you want access toã > > > if_trueã > > > TOGGLE_USER_FLAG 1 Yã > >ã > > Where are you end_if statements?ã > > TKã > >ã > >ã > If you look close I am useingã > elseã > insted of end_if.ãããWhat about:ããcompare_ars NOT $F1Y AND NOT $F1Nã if_trueã yes_no....ãã???ãã---ã þ Synchronet þ BajaHaus at MEKHET's IFHU TOWER_OF_DESTINY_BBS 603-293-0580ã
  • From Tommyknocker@VERT/TALAMASC to Ksandre Katrius on Sat Nov 14 05:55:00 1998
    RE: BAJA mod by me.ãBY: Ksandre Katrius to Reaper Man on Tue Nov 10 1998 12:33 pmãã > because Rob's BAJA Manual is very vague about that (it, in fact, _implies_ tã > an "else" ends an 'if/then' thing without an "end_if" - sort of - you have tãã The manual very plainly states that an ELSE can end an if/then statements,ãbut the else statetment still requires an end_if.ã °°±±²²ÑímmæKní€kîr²²±±°°ããã---ã þ Synchronet þ telnet://talamasca-bbs.com http://www.talamasca-bbs.comã
  • From Tommyknocker@VERT/TALAMASC to Ksandre Katrius on Sat Nov 14 05:56:00 1998
    RE: BAJA mod by me.ãBY: Ksandre Katrius to Tommyknocker on Tue Nov 10 1998 12:36 ãpmãã > See what I mean though? It does kinda imply that the "ELSE" can be used toã > terminate an 'if/then.'ãã Yes, an ELSE can terminate an if_then, but then the ELSE need an end_if.ã °°±±²²ÑímmæKní€kîr²²±±°°ãããã---ã þ Synchronet þ telnet://talamasca-bbs.com http://www.talamasca-bbs.comã
  • From Tommyknocker@VERT/TALAMASC to Ksandre Katrius on Sat Nov 14 05:59:00 1998
    RE: BAJA mod by me.ãBY: Ksandre Katrius to Hkb on Tue Nov 10 1998 12:40 pmãã > What about:ã > compare_ars NOT $F1Y AND NOT $F1Nã > if_trueã > yes_no....ãã Well really if_true and yes_no is the same statement. The difference beingãthat the yes_no will print the Y/n lightbar code, and the if_true will followãwhatever instruction you have given. I do believe that you would not find aãneed to use both together like that. If you did, you would need 2 end_ifãstatements.ã °°±±²²ÑímmæKní€kîr²²±±°°ããã---ã þ Synchronet þ telnet://talamasca-bbs.com http://www.talamasca-bbs.comã
  • From Aragorn@VERT/TALAMASC/MARSBASE to Ksandre Katrius on Sat Nov 14 08:52:00 1998
    RE: BAJA mod by me.ãBY: Ksandre Katrius to Tommyknocker on Tue Nov 10 1998 12:36 pmãã > > END_IFã > > This function is used to terminate an IF_... or ELSE code block. Evã > > IF_... function must be followed by an ELSE or END_IF instruction, and eã > > ELSE function must be followed by an END_IF.ã > ã > <sigh>ã > Oh, well....I guess it's good that my BAJAs are redundant as Gertrude Steinã > See what I mean though? It does kinda imply that the "ELSE" can be used toã > terminate an 'if/then.'ããNo, wait - it says that every IF_ must be terminated by ELSE or END_IF, _BUT_ ãit also says that all ELSE functions must be followed by END_IF anyways. ãTherefore, it outlines two possibilities:ãã1. IF...END_IFã2. IF...ELSE...END_IFãã=)ããã---ã þ Synchronet þ þ Mars Base BBS - (360)882-0773 - Vancouver, WA ã
  • From Reaper Man@VERT/TALAMASC/TIME/FLAMINT to Ksandre Katrius on Sun Nov 15 04:57:00 1998
    RE: BAJA mod by me.ãBY: Ksandre Katrius to Reaper Man on Tue Nov 10 1998 12:33:00ãã > Ah. I'm glad you pointed that out since it's always been a dilemma for meã > because Rob's BAJA Manual is very vague about that (it, in fact, _implies_ tã > an "else" ends an 'if/then' thing without an "end_if" - sort of - you have tããWHAT?!?!?!ãyieks, perhaps everyone should take their baja docs and manually change that soãit ixplicity says to use an end_ifãHows my spelling call 1-800-6-BITE-MEãã---ã þ Synchronet þ Flamin' Torch BBS - The Board on Fireã
  • From Reaper Man@VERT/TALAMASC/TIME/FLAMINT to Ksandre Katrius on Sun Nov 15 05:00:00 1998
    RE: BAJA mod by me.ãBY: Ksandre Katrius to Tommyknocker on Tue Nov 10 1998 12:36:00ãã > > END_IFã > > This function is used to terminate an IF_... or ELSE code block. Eveã > > IF_... function must be followed by an ELSE or END_IF instruction, and evã > > ELSE function must be followed by an END_IF.ã > <sigh>ã > Oh, well....I guess it's good that my BAJAs are redundant as Gertrude Stein!ã > See what I mean though? It does kinda imply that the "ELSE" can be used toã > terminate an 'if/then.'ããhmm, the way I read this is...ããif you have a IF_...ãthen I can either put a ELSE or END_IF after itãbut if you put an ELSE after the IF_ then you HAVE to put an END_IF after theãelse.ããis this easier for you to read and make sense of?ãã---ã þ Synchronet þ Flamin' Torch BBS - The Board on Fireã
  • From Reaper Man@VERT/TALAMASC/TIME/FLAMINT to Tommyknocker on Sun Nov 15 05:05:00 1998
    RE: BAJA mod by me.ãBY: Tommyknocker to Ksandre Katrius on Sat Nov 14 1998 13:56:00ãã > > See what I mean though? It does kinda imply that the "ELSE" can be used ã > > terminate an 'if/then.'ã > Yes, an ELSE can terminate an if_then, but then the ELSE need an end_if.ããum, termninate is not the best word to use since I think that might have beenãpart of the origonal problem.ããyou can have either...ããIF_YESã go_on_mad_rampageãEND_IFããor...ããIF_YESã give_user_1000000_ducksãELSEã give_user_mud_pieãEND_IFããthis is the structure that I was taught in class.ãã---ã þ Synchronet þ Flamin' Torch BBS - The Board on Fireã
  • From Ksandre Katrius@VERT/TALAMASC/TOD to Tommyknocker on Mon Nov 16 03:22:00 1998
    RE: BAJA mod by me.ãBY: Tommyknocker to Ksandre Katrius on Sat Nov 14 1998 13:55:00ãã > > because Rob's BAJA Manual is very vague about that (it, in fact, _impliesã > > an "else" ends an 'if/then' thing without an "end_if" - sort of - you havã > ã > The manual very plainly states that an ELSE can end an if/then statementã > but the else statetment still requires an end_if.ããIt depends on the context from which viewed how one might interpret theãphrasing. My experience of Rob's Manual language is it's vagueness, omittedãdetail, and assumption of prior knowledge. It's easy to say, after one's totalãimmersion and Synchronet experience that it's "plainly state[d]," but whenãread from a total rookie's perspective it is otherwise in most cases.ãããã---ã þ Synchronet þ BajaHaus at MEKHET's IFHU TOWER_OF_DESTINY_BBS 603-293-0580ã
  • From Ksandre Katrius@VERT/TALAMASC/TOD to Tommyknocker on Mon Nov 16 03:24:00 1998
    RE: BAJA mod by me.ãBY: Tommyknocker to Ksandre Katrius on Sat Nov 14 1998 13:56:00ãã > Yes, an ELSE can terminate an if_then, but then the ELSE need an end_if.ããI think, even risking redunancy, that instruction should have been made clearerãin the manual.ãã---ã þ Synchronet þ BajaHaus at MEKHET's IFHU TOWER_OF_DESTINY_BBS 603-293-0580ã
  • From Ksandre Katrius@VERT/TALAMASC/TOD to Tommyknocker on Mon Nov 16 03:26:00 1998
    RE: BAJA mod by me.ãBY: Tommyknocker to Ksandre Katrius on Sat Nov 14 1998 13:59:ã00ãã > Well really if_true and yes_no is the same statement. The difference beinããI was just quoting Hkb's original BAJA code where that question was firstãintroduced by him - I wasn't thinking through a BAJA module per se.ã(He was asking for a way to make a module check to see if some ARS was NOTãpresent.)ãã---ã þ Synchronet þ BajaHaus at MEKHET's IFHU TOWER_OF_DESTINY_BBS 603-293-0580ã
  • From Tommyknocker@VERT/TALAMASC to Ksandre Katrius on Mon Nov 16 23:10:00 1998
    RE: BAJA mod by me.ãBY: Ksandre Katrius to Tommyknocker on Mon Nov 16 1998 11:22 amãã > It depends on the context from which viewed how one might interpret theã > phrasing. My experience of Rob's Manual language is it's vagueness, omittedã > detail, and assumption of prior knowledge. It's easy to say, after one's toãã Well all of us old timers know that Rob was rather terse with his writing,ãbut for the record I am a total rookie, and I have gotten thru my Baja projectsãto date without to much trouble.ã °°±±²²ÑímmæKní€kîr²²±±°°ããã---ã þ Synchronet þ telnet://talamasca-bbs.com http://www.talamasca-bbs.comã
  • From Tommyknocker@VERT/TALAMASC to Ksandre Katrius on Mon Nov 16 23:15:00 1998
    RE: BAJA mod by me.ãBY: Ksandre Katrius to Tommyknocker on Mon Nov 16 1998 11:24 amãã > I think, even risking redunancy, that instruction should have been made cleaã > in the manual.ãã ãELSEã----ãThis function marks the end of an IF_... block of code an begins an alternateãblock of code to be executed if the condition is not met for the IF_...ãfunction. The block of code is terminated with an END_IF function.ããã I do not see how this can be much plainer, and that is exactally what is inãthe manual.ã °°±±²²ÑímmæKní€kîr²²±±°°ããã---ã þ Synchronet þ telnet://talamasca-bbs.com http://www.talamasca-bbs.comã
  • From Aragorn@VERT/TALAMASC/MARSBASE to Reaper Man on Mon Nov 16 14:20:00 1998
    RE: BAJA mod by me.ãBY: Reaper Man to Tommyknocker on Sun Nov 15 1998 01:05 pmãã > IF_YESã > give_user_1000000_ducksã > ELSEã > give_user_mud_pieã > END_IFã > ã > this is the structure that I was taught in class.ããYou took a class in BAJA? They don't have END_IF's in QBasic last I checked... ã(I'm rusty though...)ããã---ã þ Synchronet þ þ Mars Base BBS - (360)882-0773 - Vancouver, WA ã
  • From Beta@VERT/TALAMASC/ROVER to Aragorn on Tue Nov 17 23:36:00 1998
    RE: BAJA mod by me.ãBY: Aragorn to Reaper Man on Mon Nov 16 1998 10:20 pmãã > > this is the structure that I was taught in class.ã > ã > You took a class in BAJA? They don't have END_IF's in QBasic last I checked.ã > (I'm rusty though...)ããThey do, very much so. LOOP, and many other commands won't work unless a END IFãis after a IF/ELSEIF/ELSE. Also QB 4.5 and better gets mad at you... :)ãBetaãã---ã þ Synchronet þ Um, no DNS lookup yet, my ICQ is 9833063ã
  • From Aragorn@VERT/TALAMASC/MARSBASE to Beta on Fri Nov 20 05:49:00 1998
    RE: BAJA mod by me.ãBY: Beta to Aragorn on Wed Nov 18 1998 07:36 amãã > > > this is the structure that I was taught in class.ã > > ã > > You took a class in BAJA? They don't have END_IF's in QBasic last I checã > > (I'm rusty though...)ã > ã > They do, very much so. LOOP, and many other commands won't work unless a ENã > is after a IF/ELSEIF/ELSE. Also QB 4.5 and better gets mad at you... :)ããAh, been a while since I took a class in that (of course, I already new BASIC, ãand the class was 80% flowcharting)...ããIn C, <duck> END_IF's aren't needed in normal code because everything is done ãin blocks of code which are started and ended by { and } "curly-braces". For ãexample:ããif(something)ã{ã do_something;ã keep_going;ã}ãelseã{ã do_something_else;ã and_stuff;ã}ããThe only time something like END_IF is used in C <duck again> to my knowledge ãis in preprocessor definitions (things that the compiler looks at while ãcompiling the program rather than when the compiled program is run), which ãwork likeãã#if somethingãdo_somethingã#elseãdo_something_elseã#endifãã(as you can see it's very similar to the BAJA structure) It's very useful for ãusing flags to cause the program to compile differently (e.g. for different ãcompilers or OSes)ããã---ã þ Synchronet þ þ Mars Base BBS - (360)882-0773 - Vancouver, WA ã
  • From Reaper Man@VERT/TALAMASC/TIME/FLAMINT to Aragorn on Sat Nov 21 17:34:00 1998
    RE: BAJA mod by me.ãBY: Aragorn to Beta on Fri Nov 20 1998 13:49:00ãã > In C, <duck> END_IF's aren't needed in normal code because everything is donã > in blocks of code which are started and ended by { and } "curly-braces". Forããthats nice, <slash> but we live in the baja world here <klang> so we know howãto handle your curly brackets <chink>ãbut this isn't about C is it? <splat>ãã---ã þ Synchronet þ Flamin' Torch BBS - The Board on Fireã