Files
harbour-core/contrib/hbnf/tests/linked.prg
Przemysław Czerpak 96ca3fe470 2014-01-21 20:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* Makefile
  * config/*
  * contrib/*
  * doc/*
  * extras/*
  * include/*
  * lib/*
  * package/*
  * src/*
  * tests/*
  * utils/*
    * removed empty lines left after removed '$' + 'Id' + '$' identifiers
2014-01-21 20:41:05 +01:00

25 lines
714 B
Plaintext

#require "hbnf"
PROCEDURE Main()
LOCAL aString := { ;
"RTrim('abc ')", ;
"NotARealFunc()", ;
"ft_DispMsg()", ;
'RTrim(cVar+"abc"+Left(cString)), Found()', ;
"IsItLinked()", ;
"lRetVal := Found()", ;
"!Eof() .AND. Month(Date())=12 .AND. YeeHa()", ;
"!Eof() .AND. Month(Date())=12", ;
"!Eof() .AND. Month(Date(YeeHa()))=12", ;
"Left(SubStr(nNum,4,Val(cChar+Asc(c))))", ;
"Eof(>> Note: Syntax IS NOT checked! <<)" }
CLS
@ 1, 0 SAY "String Tested Result"
@ 2, 0 TO 2, MaxCol()
AEval( aString, {| ele | QOut( ele, Space( 45 - Len( ele ) ), ft_Linked( ele ) ) } )
@ MaxRow() - 2, 0
RETURN