2011-05-03 23:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/doc/en/tab.txt
* contrib/xhb/hbcompat.ch
* doc/pragma.txt
* doc/en/terminal.txt
* doc/en/file.txt
* hb_osnewline() -> hb_eol()
* doc/Makefile
! deleted howtobld.txt
This commit is contained in:
@@ -16,6 +16,17 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-05-03 23:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbct/doc/en/tab.txt
|
||||
* contrib/xhb/hbcompat.ch
|
||||
* doc/pragma.txt
|
||||
* doc/en/terminal.txt
|
||||
* doc/en/file.txt
|
||||
* hb_osnewline() -> hb_eol()
|
||||
|
||||
* doc/Makefile
|
||||
! deleted howtobld.txt
|
||||
|
||||
2011-05-03 13:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* INSTALL
|
||||
+ added more text to how to identify log sections relevant
|
||||
|
||||
@@ -19,18 +19,18 @@
|
||||
* <cFillChar|nFillChar>
|
||||
* <cNewLineCharacters> string indicating new line,
|
||||
* default is the string returned by
|
||||
* hb_osnewline()
|
||||
* hb_eol()
|
||||
* <cTabChar|nTabChar> character indicating a tab stop,
|
||||
* default is chr(9)
|
||||
* <lIgnore141> .T., if the soft-CR used by MEMOEDIT()
|
||||
* should be ignored as a newline indicator,
|
||||
* default is .F. (functions uses chr(141))
|
||||
* $RETURNS$
|
||||
*
|
||||
*
|
||||
* $DESCRIPTION$
|
||||
* TODO: add documentation
|
||||
* $EXAMPLES$
|
||||
*
|
||||
*
|
||||
* $TESTS$
|
||||
* tabexpand("-"+chr(9)+"!") == "- !"
|
||||
* tabexpand("----"+chr(9) +"!") == "---- !"
|
||||
@@ -38,7 +38,7 @@
|
||||
* tabexpand("-"+chr(9)+ "!", 4) == "- !"
|
||||
* tabexpand("----"+chr(9)+ "!", 8) == "---- !"
|
||||
* tabexpand("----"+chr(9)+ "!", 8, "+") == "----++++!"
|
||||
* tabexpand("-"+chr(9)+"!"+hb_osnewline()+"----"+chr(9)+ "!",, "+") == "-+++++++!"+hb_osnewline()+"----++++!"
|
||||
* tabexpand("-"+chr(9)+"!"+hb_eol()+"----"+chr(9)+ "!",, "+") == "-+++++++!"+hb_eol()+"----++++!"
|
||||
* $STATUS$
|
||||
* Started
|
||||
* $COMPLIANCE$
|
||||
@@ -71,20 +71,20 @@
|
||||
* <cFillChar|nFillChar>
|
||||
* <cNewLineCharacters> string indicating new line,
|
||||
* default is the string returned by
|
||||
* hb_osnewline()
|
||||
* hb_eol()
|
||||
* <cTabChar|nTabChar> character indicating a tab stop,
|
||||
* default is chr(9)
|
||||
* <lIgnore141> .T., if the soft-CR used by MEMOEDIT()
|
||||
* should be ignored as a newline indicator,
|
||||
* default is .F. (functions uses chr(141))
|
||||
* $RETURNS$
|
||||
*
|
||||
*
|
||||
* $DESCRIPTION$
|
||||
* TODO: add documentation
|
||||
* $EXAMPLES$
|
||||
*
|
||||
*
|
||||
* $TESTS$
|
||||
*
|
||||
*
|
||||
* $STATUS$
|
||||
* Started
|
||||
* $COMPLIANCE$
|
||||
|
||||
@@ -297,7 +297,7 @@
|
||||
#xtranslate SetKey([<x,...>]) => hb_SetKey(<x>)
|
||||
|
||||
/* TEXT INTO <varname> */
|
||||
#xcommand TEXT INTO <v> => #pragma __text|<v>+=%s+HB_OSNEWLINE();<v>:=""
|
||||
#xcommand TEXT INTO <v> => #pragma __text|<v>+=%s+hb_eol();<v>:=""
|
||||
|
||||
/* SWITCH ... ; case ... ; DEFAULT ; ... ; END */
|
||||
#xcommand DEFAULT => OTHERWISE
|
||||
@@ -306,7 +306,7 @@
|
||||
#xtranslate hb_enumIndex(<!v!>) => <v>:__enumIndex()
|
||||
|
||||
/* TRY / CATCH / FINALLY / END */
|
||||
#xcommand TRY => BEGIN SEQUENCE WITH {|oErr| Break( oErr )}
|
||||
#xcommand TRY => BEGIN SEQUENCE WITH {| oErr | Break( oErr ) }
|
||||
#xcommand CATCH [<!oErr!>] => RECOVER [USING <oErr>] <-oErr->
|
||||
#xcommand FINALLY => ALWAYS
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ DOC_FILES := \
|
||||
gmake.txt \
|
||||
gtapi.txt \
|
||||
hdr_tpl.txt \
|
||||
howtobld.txt \
|
||||
howtorel.txt \
|
||||
howtosvn.txt \
|
||||
inet.txt \
|
||||
|
||||
@@ -526,14 +526,13 @@
|
||||
* // cB = a string buffer passed-by-reference to hold the result
|
||||
* // nMaxLine = maximum number of bytes to read
|
||||
*
|
||||
* #define EOL HB_OSNEWLINE()
|
||||
* FUNCTION FREADln( nH, cB, nMaxLine )
|
||||
* LOCAL cLine, nSavePos, nEol, nNumRead
|
||||
* cLine := space( nMaxLine )
|
||||
* cB := ''
|
||||
* nSavePos := FSEEK( nH, 0, FS_RELATIVE )
|
||||
* nNumRead := FREAD( nH, @cLine, nMaxLine )
|
||||
* IF ( nEol := AT( EOL, substr( cLine, 1, nNumRead ) ) ) == 0
|
||||
* IF ( nEol := AT( hb_eol(), substr( cLine, 1, nNumRead ) ) ) == 0
|
||||
* cB := cLine
|
||||
* ELSE
|
||||
* cB := SUBSTR( cLine, 1, nEol - 1 )
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
* $TEMPLATE$
|
||||
* Function
|
||||
* $NAME$
|
||||
* HB_OSNEWLINE()
|
||||
* hb_eol()
|
||||
* $CATEGORY$
|
||||
* API
|
||||
* $SUBCATEGORY$
|
||||
@@ -354,7 +354,7 @@
|
||||
* $ONELINER$
|
||||
* Returns the newline character(s) to use with the current OS
|
||||
* $SYNTAX$
|
||||
* HB_OSNewLine() --> cString
|
||||
* hb_eol() --> cString
|
||||
* $RETURNS$
|
||||
* <cString> A character string containing the character or characters
|
||||
* required to move the screen cursor or print head to the start of a
|
||||
@@ -374,12 +374,12 @@
|
||||
* // Get the newline character(s) for the current OS.
|
||||
* STATIC s_cNewLine
|
||||
* ...
|
||||
* s_cNewLine := HB_OSNewLine()
|
||||
* s_cNewLine := hb_eol()
|
||||
* ...
|
||||
* OutStd( "Hello World!" + s_cNewLine )
|
||||
* $TESTS$
|
||||
* ? valtype( HB_OSNewLine() ) == "C"
|
||||
* ? LEN( HB_OSNewLine() ) == 1
|
||||
* ? ValType( hb_eol() ) == "C"
|
||||
* ? Len( hb_eol() ) == 1
|
||||
* $STATUS$
|
||||
* R
|
||||
* $COMPLIANCE$
|
||||
|
||||
@@ -117,7 +117,7 @@ Syntax:
|
||||
|
||||
|
||||
?
|
||||
#xcommand TEXT INTO <v> => #pragma __text|<v>+=%s+HB_OSNEWLINE();<v>:=""
|
||||
#xcommand TEXT INTO <v> => #pragma __text|<v>+=%s+hb_eol();<v>:=""
|
||||
?
|
||||
|
||||
#pragma __stream
|
||||
@@ -198,4 +198,3 @@ Syntax:
|
||||
For example:
|
||||
|
||||
#pragma RECURSELEVEL 2048
|
||||
|
||||
|
||||
Reference in New Issue
Block a user