TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: GEORGE BLECK
from: FRANK COX
date: 1995-03-22 09:50:00
subject: Message Base Formats

 > Does anyone have the record structures for the more popular 
 > BBS message base formats (Fido , JAM, Huson ).  I 
 > can't seem to find them anywhere...
Opus:
open "1.msg" for binary as #1
seek #1,36
get$ #1,36,recipient$
print "The recipient is " recipient$
rem message header is 190 bytes long, go to end of header
seek #1,190
rem now read the text
do until eof(1)
get$ #1,1,text$
rem now find out if there's a ctrl-A, if so, read through to end of EID
while text$ = chr$(1)
rem read characters and discard 'em until we find a cr
	do until text$ = chr$(13)
	get$ #1,1,text$
	loop
wend
print text$;
loop
close
end
--- Msgedsq 2.2e
---------------
* Origin: THE BIG ELECTRIC CAT Melville Sask *SDS* *PDN* (1:140/53)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.