Files
harbour-core/tests/flink.prg
vszakats a4a357a18b 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* /harbour/* -> /*
    * moved whole Harbour source tree one level up to
      avoid single 'harbour' top dir
2013-03-15 11:13:30 +01:00

54 lines
840 B
Plaintext

/*
* $Id$
*/
/*
* Harbour Project source code:
*
* Copyright 2010 Viktor Szakats (harbour syenar.net)
* www - http://harbour-project.org
*
*/
#include "simpleio.ch"
PROCEDURE Main()
hb_MemoWrit( "_hb_h.tmp", ">h.tmp<" )
? hb_FLink()
? FError()
? hb_FLinkRead()
? FError()
? hb_FLinkRead( "_hb_h.tmp" )
? FError()
? hb_FLink( "_hb_h.tmp", "_hb_hlnk.tmp" )
? FError()
hb_MemoWrit( "_hb_s.tmp", ">s.tmp<" )
/* Requires special rights on Windows platform,
by default Administrators are allowed. */
? hb_FLinkSym()
? FError()
? hb_FLinkSym( "_hb_s.tmp", "_hb_slnk.tmp" )
? FError()
? hb_FLinkRead( "_hb_slnk.tmp" )
? FError()
hb_DirCreate( "_hb_d" )
? hb_FLinkSym( "_hb_d", "_hb_dlnk" )
? FError()
? hb_FLinkRead( "_hb_dlnk" )
? FError()
RETURN