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   [64 / 233] RSS
 From   To   Subject   Date/Time 
Message   bigjoe11a    Steve Winn   Thanks But   February 7, 2006
 8:30 PM  

Re: Oneliners Script

> Re: Oneliners Script
> > In a script, can you open 2 files at the same time
> >
> > open "filename.cfg", "O"
> > open "filename.tmp", "I"
> Yes and no.
> Using the OPEN command, you can only open one file at a time. This really suc
> when you want to read from one file and write to another. The way you work
> around this is to use the buffer. VADV's buffer is a file in your main VADV
> directory called Bx.TMP (where x is a node number). So you can read and write
> to two files like so:
> ' Set variable to the buffer.
> LET B0 = "B" % !12 % ".TMP"
> ' Open file 1 to read from.
> OPEN "FILE1.TXT", "I"

How do I write it to a file, and add new info so that it saves all to one
file. I get the idea. But I'm still a little lost, I'm writing a oneliners
script. I made one up and I hated it, Just want to make a better one.

Bigjoe

--
[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.0175 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