Section One BBS

Welcome, Guest.


Subject: Syntax Date: Mon Mar 07 2022 08:41 am
From: DesotoFireflite To: All

I want to be able to add to the top of a file, but I can only find out how to ad
d to the bottom of a file. Currently I am using:

fopen file 0_CREAT|0_WRONLY|O_APPEND "C:\SBBS\XTRN\INFO\INFO.LST"

and that appends to the bottom of the list, but I want to show the newest to
oldest, not oldest to newest.

I'm assuming I just leave off the O_APPEND, but is there a correct way.

Thanks

SysOp: C.G. Learn, AKA: DesotoFireflite
Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
Valhalla II! - (GAP) - bbs.valhallabbs.com:24
Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
Valhalla Home Services Web! - http://bbs.valhallabbs.com
A Gamers Paradise - Over 150 Registered Online Game Doors!
Home Of Odin's Maze Game Server!

--- Don't You Know, Can't You See, Don't You Understand!
 ■ SynchronetValhalla Home Services USA http://valhalla.synchro.net

Previous Message       Next Message
Replies: Syntax (MRO)Syntax (Digital Man)