AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to VBBS/VADV Script Discussion  <--  <--- Return to Home Page
   Networked Database  VBBS/VADV Script Discussion   [45 / 233] RSS
 From   To   Subject   Date/Time 
Message   The Minstrel    All   GOSUB problem?   June 23, 2002
 11:07 PM  

I've made some cosmetic changes to the BBS and wanted also to announce a new
game server I've set up in a news bulletin that shows up at the first login a
user makes after I've implemented the script mods to start.v.  I ended up
with some duplication of effort due to a problem with GOSUB not working, or
I'm just missing a concept somewhere.  Here's how it's *supposed* to look:

CLS
if !68 <> "06242002" gosub readnews
sysinfo
lastcaller 10
clear
exit "kwikstrt"

readnews:
ef "C:\vadv\txt\news.mnu"
pause
pause "This message will not appear again once you press [Enter]"
let !68 = "06242002"
return

----
It won't work like this.  I have to use GOTO instead and put the stuff
following the if statement into the readnews block as well.  Does gosub not
work?  Or is there something I'm missing here?
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to VBBS/VADV Script Discussion  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0145 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108