diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 73aeb48fc6..f285f1ac69 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,10 @@ +19990612-08:30 CET Jose Lalin / Eddie Runia + * tests/working/testcgi.prg + New version uploaded. + ER : Changed HB_File -> File and Functions.cfm -> Function.cfm + + tests/working/list.txt, function.cfm + Referenced files added + 19990612-08:00 CET Eddie Runia * tests/working/debugtst.prg, tests/working/clasinit.prg, * tests/working/funcarr.prg, tests/working/objarr.prg, diff --git a/harbour/tests/working/function.cfm b/harbour/tests/working/function.cfm new file mode 100644 index 0000000000..5295b3df1e --- /dev/null +++ b/harbour/tests/working/function.cfm @@ -0,0 +1,50 @@ + + +
+ +![]()
Below is a list of all Harbour +functions in the RTL and their current state. This list is +updated as changes are made to the library. This list is based on +Clipper 5.2. The legend is as follows:
+ +Ready
+No more work needed on this function.
Started
+This function needs some work but will provide basic
+functionality and can be used for testing.
Not Started
+This function has yet to be written.
+
', ;
+ ' ' ) + ;
+ '
', ;
+ ' ' ) + ;
+ '
', ;
+ ' ' ) + ;
+ 'No such file: " + ; + ::cHTMLFile + ELSE + // Read from file + hFile := fOpen( ::cHTMLFile, 0 ) + cFile := space( IF_BUFFER ) + DO WHILE (nPos := fRead( hFile, @cFile, IF_BUFFER )) > 0 + + cFile := left( cFile, nPos ) + cRes += cFile + cFile := space( IF_BUFFER ) + + ENDDO + + fClose( hFile ) + + // Replace matched tags + i := 1 + ::cContent := cRes + /* TODO: Replace this DO WHILE with FOR..NEXT */ + DO WHILE i <= len( ::aReplaceTags ) + ::cContent := strtran( ::cContent, ; + "<#" + ::aReplaceTags[i, 1] + ">", ::aReplaceTags[i, 2] ) + i++ + ENDDO + + /* TODO: Clear remaining (not matched) tags */ + /* + cRes := "" + FOR i := 1 TO len( ::cContent ) + IF substr( ::cContent, i, 1 ) == "<" .AND. ; + substr( ::cContent, i + 1, 1 ) == "#" + lFlag := .t. + ELSEIF substr( ::cContent, i, 1 ) == ">" .AND. lFlag + lFlag := .f. + ELSEIF !lFlag + cRes += substr( ::cContent, i, 1 ) + ENDIF + NEXT i + + ::cContent := cRes + */ + + ENDIF + ENDIF RETURN( Self ) @@ -299,3 +430,19 @@ STATIC FUNCTION QueryFields( cQueryName ) ENDIF RETURN( cRet ) + +STATIC FUNCTION SetHTMLFile( cFile ) + + LOCAL Self := QSelf() + + ::cHTMLFile := cFile + + RETURN( Self ) + +STATIC FUNCTION AddReplaceTag( cTag, cReplaceText ) + + LOCAL Self := QSelf() + + aAdd( ::aReplaceTags, { cTag, cReplaceText } ) + + RETURN( Self )