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   [143 / 233] RSS
 From   To   Subject   Date/Time 
Message   Steve Winn    Bigjoe   Using one line   March 31, 2006
 12:34 AM  

Re: Using one line

> The above code is what I use to write it, and this is what I use to redisplay
> it.
>
> let f1 = !25 % "user.dat"
> read x
> close
>
> Thats all it does is reads the first line
>
> let y = 1
> let $100 = !10
> let y = y + z
> let z = 25
> let $101 = !10
> let y = y + z
> ley z = 35
> let $102 = !10
>
> print "BBs Name : ", $100
> print "Sysops Name : ", $101
> print "Email : ", $102
>
>
> Most ofr the time it displays it all over the screen or it misses some parts
> or all the parts from the Var.

The writing portion looks ok. The reading portion I don't really understand.
Here is my version:

LET F1 = !25 % "USER.DAT"
OPEN F1, "I"
READ L0
CLOSE

MID $100, L0, 1, 30
MID $101, L0, 31, 25
MID $102, L0, 56, 35

? "BBS Name : " % $100
? "SysOp Name : " % $101
? "Email : " % $102

Steve


--
[AT2k] -- Your VBBS/VADV Support Center -- [www.at2k.org] -- [bbs.at2k.org]
  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.0247 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