2008-04-23 18:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/achoice.prg
* source/rtl/alert.prg
* source/rtl/browse.prg
* source/rtl/einstv52.prg
* source/rtl/einstvar.prg
* source/rtl/persist.prg
* source/rtl/tclass.prg
* source/rtl/teditor.prg
* source/rtl/typefile.prg
* source/rtl/wait.prg
* Formatting.
* != -> !( == ) for strings.
This commit is contained in:
@@ -8,6 +8,20 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2008-04-23 18:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* source/rtl/achoice.prg
|
||||
* source/rtl/alert.prg
|
||||
* source/rtl/browse.prg
|
||||
* source/rtl/einstv52.prg
|
||||
* source/rtl/einstvar.prg
|
||||
* source/rtl/persist.prg
|
||||
* source/rtl/tclass.prg
|
||||
* source/rtl/teditor.prg
|
||||
* source/rtl/typefile.prg
|
||||
* source/rtl/wait.prg
|
||||
* Formatting.
|
||||
* != -> !( == ) for strings.
|
||||
|
||||
2008-04-23 14:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* source/rtl/tget.prg
|
||||
! Fixed o[13] and o[14] content (they were swapped) in C5.3 mode.
|
||||
|
||||
@@ -131,7 +131,7 @@ FUNCTION AChoice( nTop, nLeft, nBottom, nRight, acItems, xSelect, xUserFunc, nPo
|
||||
nPos := 0
|
||||
nAtTop := Max( 1, nPos - nNumRows + 1 )
|
||||
ELSE
|
||||
DO WHILE nPos < nLastItem .and. !Eval( bSelect, alSelect[ nPos ] )
|
||||
DO WHILE nPos < nLastItem .AND. !Eval( bSelect, alSelect[ nPos ] )
|
||||
nPos++
|
||||
ENDDO
|
||||
|
||||
@@ -455,7 +455,7 @@ FUNCTION AChoice( nTop, nLeft, nBottom, nRight, acItems, xSelect, xUserFunc, nPo
|
||||
// Do nothing
|
||||
nMode := AC_CONT
|
||||
CASE nUserFunc == AC_GOTO
|
||||
// Do nothing. The next keystroke won't be read and
|
||||
// Do nothing. The next keystroke won't be read and
|
||||
// this keystroke will be processed as a goto.
|
||||
nMode := AC_GOTO
|
||||
ENDCASE
|
||||
@@ -469,7 +469,7 @@ FUNCTION AChoice( nTop, nLeft, nBottom, nRight, acItems, xSelect, xUserFunc, nPo
|
||||
nPos := 0
|
||||
nAtTop := Max( 1, nPos - nNumRows + 1 )
|
||||
ELSE
|
||||
DO WHILE nPos < nLastItem .and. !Eval( bSelect, alSelect[ nPos ] )
|
||||
DO WHILE nPos < nLastItem .AND. !Eval( bSelect, alSelect[ nPos ] )
|
||||
nPos++
|
||||
ENDDO
|
||||
|
||||
@@ -562,7 +562,7 @@ STATIC FUNCTION Ach_Limits( nFrstItem, nLastItem, nItems, bSelect, alSelect, acI
|
||||
ELSE
|
||||
nMode := AC_IDLE
|
||||
nLastItem := nItems // Last valid item
|
||||
DO WHILE nLastItem>0 .and. !Eval( bSelect, alSelect[ nLastItem ] )
|
||||
DO WHILE nLastItem > 0 .AND. !Eval( bSelect, alSelect[ nLastItem ] )
|
||||
nLastItem--
|
||||
ENDDO
|
||||
ENDIF
|
||||
|
||||
@@ -112,7 +112,7 @@ FUNCTION Alert( xMessage, aOptions, cColorNorm, nDelay )
|
||||
aOptions := {}
|
||||
ENDIF
|
||||
|
||||
IF !ISCHARACTER( cColorNorm ) .or. EMPTY( cColorNorm )
|
||||
IF !ISCHARACTER( cColorNorm ) .OR. EMPTY( cColorNorm )
|
||||
cColorNorm := "W+/R" // first pair color (Box line and Text)
|
||||
cColorHigh := "W+/B" // second pair color (Options buttons)
|
||||
ELSE
|
||||
|
||||
@@ -295,7 +295,7 @@ STATIC FUNCTION StatLine( oBrw, lAppend )
|
||||
|
||||
DispOutAt( nTop, nRight - 27, "Record " )
|
||||
|
||||
IF LastRec() == 0 .and. ! lAppend
|
||||
IF LastRec() == 0 .AND. ! lAppend
|
||||
DispOutAt( nTop, nRight - 20, "<none> " )
|
||||
ELSEIF RecNo() == LastRec() + 1
|
||||
DispOutAt( nTop, nRight - 40, " " )
|
||||
|
||||
@@ -89,7 +89,7 @@ FUNCTION __eInstVar52( oVar, cMethod, xValue, cType, nSubCode, xMin, xMax )
|
||||
oError:subcode := nSubCode
|
||||
oError:args := { xValue }
|
||||
xValue := EVAL( ERRORBLOCK(), oError )
|
||||
IF VALTYPE( xValue ) != cType
|
||||
IF !( VALTYPE( xValue ) == cType )
|
||||
__errInHandler()
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
@@ -70,7 +70,7 @@ FUNCTION __eInstVar53( oVar, cMethod, xValue, cType, nSubCode, bValid )
|
||||
|
||||
LOCAL oError
|
||||
|
||||
IF VALTYPE( xValue ) != cType .OR. ;
|
||||
IF !( VALTYPE( xValue ) == cType ) .OR. ;
|
||||
( bValid != NIL .AND. !EVAL( bValid, oVar, xValue ) )
|
||||
oError := ErrorNew()
|
||||
oError:description := HB_LANGERRMSG( 1 )
|
||||
@@ -86,7 +86,7 @@ FUNCTION __eInstVar53( oVar, cMethod, xValue, cType, nSubCode, bValid )
|
||||
oError:subcode := nSubCode
|
||||
oError:args := { xValue }
|
||||
xValue := EVAL( ERRORBLOCK(), oError )
|
||||
IF VALTYPE( xValue ) != cType
|
||||
IF !( VALTYPE( xValue ) == cType )
|
||||
__errInHandler()
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
@@ -130,7 +130,7 @@ METHOD SaveToText( cObjectName, nIndent ) CLASS HBPersistent
|
||||
uNewValue := __objSendMsg( oNew, aProperties[ n ] )
|
||||
cType := ValType( uValue )
|
||||
|
||||
if cType != ValType( uNewValue ) .OR. ! uValue == uNewValue
|
||||
if !( cType == ValType( uNewValue ) ) .OR. ! uValue == uNewValue
|
||||
|
||||
do case
|
||||
case cType == "A"
|
||||
|
||||
@@ -296,10 +296,12 @@ STATIC PROCEDURE Create()
|
||||
//----------------------------------------------------------------------------//
|
||||
|
||||
STATIC FUNCTION Instance()
|
||||
LOCAL Self := QSelf()
|
||||
Local oInstance := __clsInst( ::hClass )
|
||||
/*oInstance:Class := Self:Class*/
|
||||
RETURN oInstance
|
||||
LOCAL Self := QSelf()
|
||||
LOCAL oInstance := __clsInst( ::hClass )
|
||||
|
||||
/*oInstance:Class := Self:Class*/
|
||||
|
||||
RETURN oInstance
|
||||
|
||||
//----------------------------------------------------------------------------//
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -108,7 +108,7 @@ PROCEDURE __TypeFile( cFile, lPrint )
|
||||
oErr:OsCode := FERROR()
|
||||
oErr:tries := ++nRetries
|
||||
xRecover := Eval( ErrorBlock(), oErr )
|
||||
IF ISLOGICAL( xRecover ) .and. !xRecover // user select "Default"
|
||||
IF ISLOGICAL( xRecover ) .AND. !xRecover // user select "Default"
|
||||
RETURN
|
||||
ENDIF
|
||||
ENDDO
|
||||
|
||||
@@ -66,7 +66,7 @@ FUNCTION __Wait( xPrompt )
|
||||
IF ( bBlock := SetKey( nKey ) ) != NIL
|
||||
Eval( bBlock, ProcName( 1 ), ProcLine( 1 ), "" )
|
||||
ELSE
|
||||
IF nKey >= 32 .and. nKey <= 255
|
||||
IF nKey >= 32 .AND. nKey <= 255
|
||||
QQOut( Chr( nKey ) )
|
||||
ELSE
|
||||
nKey := 0
|
||||
@@ -78,4 +78,3 @@ FUNCTION __Wait( xPrompt )
|
||||
ENDDO
|
||||
|
||||
RETURN Chr( nKey )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user