home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
TIKTP12A.LZH
/
FIDONET.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-05-13
|
640b
|
32 lines
(*#module(turbo_comp=>off)*)
IMPLEMENTATION Unit FidoNet ;
IMPORT
utility *
{ TURBOSYS}
;
Procedure Fido_Address { (Line: MAXSTRING; VAR Zone,Net,Node,Point: Word) ; };
Begin
Zone := 0 ;
If Pos(':',Line) <> 0 Then Begin
Zone := Str_To_Word(Field(Line,':',1)) ;
Line := Field(Line,':',2) ;
End ;
Net := Str_To_Word(Field(Line,'/',1)) ;
Line := Field(Line,'/',2) ;
If Pos('.',Line) = 0 Then Begin
Node := Str_To_Word(Line) ;
Point := 0 ;
End Else Begin
Node := Str_To_Word(Field(Line,'.',1)) ;
Point := Str_To_Word(Field(Line,'.',2)) ;
End ;
End ;
Begin
End .