• Knowing groups & areas

    From Tegularius@VERT/BAUDHOUS to All on Sat Oct 1 19:30:00 2005
    DEFAULT.SRC provides for displaying the user's currentãmessage and file areas in the prompt with code likeã@LIB@ and @DIR@.ããHow can I access these values so that I can branchãin Baja code? I don't see any functions or systemãvariables listed in the documentation that correspondsãto these conditions.ããI want to display a menu that is specific to theãfile library a user is currently in.ããThanks for your help! I'm a beginner.ãããã---ã þ Synchronet þ Bauding Houseã
  • From Digital Man@VERT to Tegularius on Sun Oct 2 14:25:11 2005
    Re: Knowing groups & areasã By: Tegularius to All on Sat Oct 01 2005 07:30 pmãã > DEFAULT.SRC provides for displaying the user's currentã > message and file areas in the prompt with code likeã > @LIB@ and @DIR@.ã > ã > How can I access these values so that I can branchã > in Baja code? I don't see any functions or systemã > variables listed in the documentation that correspondsã > to these conditions.ã > ã > I want to display a menu that is specific to theã > file library a user is currently in.ã > ã > Thanks for your help! I'm a beginner.ããDEFAULT.SRC is a Baja module. This is the JavaScript Programming message area.ã:-)ããThat said, here's a Baja code snippet to do what you're asking:ããcompare_ars sub=generalãif_trueã print "You're in the general sub-board"ã end_ifãã digital manããSnapple "Real Fact" #179:ãThe first lighthouse to use electricity was the Statue of Liberty in 1886. ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Telugarius on Sun Oct 2 15:05:42 2005
    Re: Knowing groups & areasã By: Digital Man to Tegularius on Sun Oct 02 2005 02:25 pmãã > Re: Knowing groups & areasã > By: Tegularius to All on Sat Oct 01 2005 07:30 pmã > ã > > DEFAULT.SRC provides for displaying the user's currentã > > message and file areas in the prompt with code likeã > > @LIB@ and @DIR@.ã > >ã > > How can I access these values so that I can branchã > > in Baja code? I don't see any functions or systemã > > variables listed in the documentation that correspondsã > > to these conditions.ã > >ã > > I want to display a menu that is specific to theã > > file library a user is currently in.ã > >ã > > Thanks for your help! I'm a beginner.ã > ã > DEFAULT.SRC is a Baja module. This is the JavaScript Programming message areã > :-)ã > ã > That said, here's a Baja code snippet to do what you're asking:ã > ã > compare_ars sub=generalã > if_trueã > print "You're in the general sub-board"ã > end_ifããThere's actually a bug in the current Baja compiler which causes it to crashãwhen compiling the above code. :-(ããHere's a workaround:ããcompare_ars sub=general and user 0ãã digital manããSnapple "Real Fact" #11:ãFlamingos are pink because they eat shrimp.ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã