Erro meu.
O .T. tentaria ser executado como se fosse um comando.
O retorno é o último, ::lCanClose
::oDlg:bValid := { || ;
iif( GetKeyState( VK_ESCAPE ), ::lHitEsc := .T., Nil ), ;
iif( GetKeyState( VK_ESCAPE ), ::ShowText( "ESC pressionado" ), Nil ), ;
iif( ! Empty( ::nThreadID ) .AND. hb ...
Pesquisa resultou em 167 ocorrências: +Expression
Termo pesquisado: +expression
- 28 Jan 2026 11:24
- Fórum: [x]Harbour
- Tópico: warning W0027 Meaningless use of expression 'Logical'
- Respostas: 1
- Exibições: 325
- 28 Jan 2026 11:17
- Fórum: [x]Harbour
- Tópico: warning W0027 Meaningless use of expression 'Logical'
- Respostas: 1
- Exibições: 325
warning W0027 Meaningless use of expression 'Logical'
ze_fwtextmsg.prg:93: warning W0027 Meaningless use of expression 'Logical'
Não entendi o porque desse erro.
Que eu me lembre, é quando a expressão não é lógica.
Acrescentei o teste de threadID.
::oDlg:bValid := { || ;
iif( GetKeyState( VK_ESCAPE ), ::lHitEsc := .T., Nil ), ;
iif ...
- 28 Ago 2025 12:52
- Fórum: [x]Harbour
- Tópico: HB_WebView (a cross-platform Webview library)
- Respostas: 15
- Exibições: 17426
HB_WebView (a cross-platform Webview library)
... 114 ] -> Current Report Image PenWidth
* _HMG_SYSDATA [ 115 ] -> Current Report Image PenColor
* _HMG_SYSDATA [ 116 ] -> Current Report Text Expression
* _HMG_SYSDATA [ 117 ] -> Current Report Page Number
* _HMG_SYSDATA [ 118 ] -> Current Report Paper Width (User PaperSize)
* _HMG_SYSDATA ...
* _HMG_SYSDATA [ 115 ] -> Current Report Image PenColor
* _HMG_SYSDATA [ 116 ] -> Current Report Text Expression
* _HMG_SYSDATA [ 117 ] -> Current Report Page Number
* _HMG_SYSDATA [ 118 ] -> Current Report Paper Width (User PaperSize)
* _HMG_SYSDATA ...
- 09 Mai 2025 18:04
- Fórum: FiveWin
- Tópico: Novo mingw 15.1
- Respostas: 52
- Exibições: 8924
Novo mingw 15.1
... ANNOUNCE FPTCDX' statement ignored
200
CEST.PRG:208: warning W0001 Ambiguous reference 'UPDATE'
CEST.PRG:285: warning W0027 Meaningless use of expression 'Logical'
300
CEST.PRG:383: warning W0004 Codeblock parameter 'SELF' declared but not used in function 'CEST'
400
CEST.PRG:403: warning W0003 ...
200
CEST.PRG:208: warning W0001 Ambiguous reference 'UPDATE'
CEST.PRG:285: warning W0027 Meaningless use of expression 'Logical'
300
CEST.PRG:383: warning W0004 Codeblock parameter 'SELF' declared but not used in function 'CEST'
400
CEST.PRG:403: warning W0003 ...
- 19 Jan 2025 12:51
- Fórum: [x]Harbour
- Tópico: Atualização Harbour 19-01-2025
- Respostas: 0
- Exibições: 5437
Atualização Harbour 19-01-2025
... dummy condition. For
pPage->TagParent->MaxKeys >= 2 &&
( ( iKeys + pPage->TagParent->MaxKeys - 1 )
/ pPage->TagParent->MaxKeys ) == 1
the expression
iKeys > ( ( pPage->TagParent->MaxKeys * 3 ) >> 1 )
was alwas false.
As side effect this modification pacifies the buggy GCC warnings.
2025-01 ...
pPage->TagParent->MaxKeys >= 2 &&
( ( iKeys + pPage->TagParent->MaxKeys - 1 )
/ pPage->TagParent->MaxKeys ) == 1
the expression
iKeys > ( ( pPage->TagParent->MaxKeys * 3 ) >> 1 )
was alwas false.
As side effect this modification pacifies the buggy GCC warnings.
2025-01 ...
- 20 Dez 2024 17:06
- Fórum: [x]Harbour
- Tópico: Arquivos/índices abertos
- Respostas: 1
- Exibições: 3695
Arquivos/índices abertos
... numeric and represents the value for the EVERY option when an index is created. The setting is supported by the DBFNTX and DBFCDX RDDs.
DBOI_EXPRESSION --> cIndexKey (READONLY)
See also: function OrdKey(). The return value is the key expression of the specified index as a character string ...
DBOI_EXPRESSION --> cIndexKey (READONLY)
See also: function OrdKey(). The return value is the key expression of the specified index as a character string ...
- 16 Nov 2024 11:58
- Fórum: [x]Harbour
- Tópico: ReGex para buscar TAG de XML
- Respostas: 12
- Exibições: 5779
ReGex para buscar TAG de XML
... a string gerex correta, ou até ver se isso é uma limitação da biblioteca regex do harbour.
HB_RegExSplit()
Parses a string using a regular expression and fills an array.
Syntax
HB_RegExSplit( <cRegEx> , ;
<cString> , ;
[<lCaseSensitive>, ;
[<lNewLine>] , ;
[<nMaxMatches ...
HB_RegExSplit()
Parses a string using a regular expression and fills an array.
Syntax
HB_RegExSplit( <cRegEx> , ;
<cString> , ;
[<lCaseSensitive>, ;
[<lNewLine>] , ;
[<nMaxMatches ...
- 31 Jul 2024 09:52
- Fórum: [x]Harbour
- Tópico: Preencher campo à direita com caracter em relatórios ...
- Respostas: 4
- Exibições: 2385
Preencher campo à direita com caracter em relatórios ...
... o preenchimento usando um determinado caractere, use as funções PadC() <Centraliza>, PadL() <a Esquerda> ou PadR() <a Direita>.
Syntax
PadC( <expression>, <nLength>, [<cFillChar>] ) --> cPaddedString
PadL( <expression>, <nLength>, [<cFillChar>] ) --> cPaddedString
PadR( <expression>, <nLength ...
Syntax
PadC( <expression>, <nLength>, [<cFillChar>] ) --> cPaddedString
PadL( <expression>, <nLength>, [<cFillChar>] ) --> cPaddedString
PadR( <expression>, <nLength ...
- 15 Fev 2024 02:26
- Fórum: Banco de Dados
- Tópico: Ajuda com select em Firebird
- Respostas: 6
- Exibições: 5675
Ajuda com select em Firebird
Olá!
Creio que, neste caso, um CTE Recursivo (Recursive Common Table Expression) ajudaria. Este recurso está disponível a partir da versão 2.1 do Firebird. Veja aqui.
Creio que, neste caso, um CTE Recursivo (Recursive Common Table Expression) ajudaria. Este recurso está disponível a partir da versão 2.1 do Firebird. Veja aqui.
- 21 Nov 2023 22:01
- Fórum: [x]Harbour
- Tópico: Função para calcular datas, estilo timedelta do python...
- Respostas: 1
- Exibições: 1400
Função para calcular datas, estilo timedelta do python...
... a suas funções:
CDoW() Converts a date to the day of week
CMonth() Return the name of the month.
CToD() Converts a character string to a date expression
Date() Return the Current OS Date
Day() Return the numeric day of the month.
Days() Convert elapsed seconds into days
DoW() Value for the day of ...
CDoW() Converts a date to the day of week
CMonth() Return the name of the month.
CToD() Converts a character string to a date expression
Date() Return the Current OS Date
Day() Return the numeric day of the month.
Days() Convert elapsed seconds into days
DoW() Value for the day of ...
- 16 Out 2023 13:41
- Fórum: HwGui
- Tópico: Problemas al Crear librerias con xHarbour
- Respostas: 3
- Exibições: 1335
Problemas al Crear librerias con xHarbour
... Technologies, Inc.
\HARBOURX_V\Xharbour_bcc76\bin\harbour.exe -iinclude;\HARBOURX_V\Xharbour_bcc76\include;\C_BCC\BCC76\include -n -q0 -w -es2 -gc0 source\winapi\hmisc.prg -oobj\b32\hmisc.c
** error 1 ** deleting obj\b32\hmisc.c
source\winapi\hmisc.prg(1137) Error E0025 Error in #if expression
\HARBOURX_V\Xharbour_bcc76\bin\harbour.exe -iinclude;\HARBOURX_V\Xharbour_bcc76\include;\C_BCC\BCC76\include -n -q0 -w -es2 -gc0 source\winapi\hmisc.prg -oobj\b32\hmisc.c
** error 1 ** deleting obj\b32\hmisc.c
source\winapi\hmisc.prg(1137) Error E0025 Error in #if expression
- 24 Jul 2023 17:38
- Fórum: [x]Harbour
- Tópico: Comando para criar pasta(dir) no xHarbour
- Respostas: 8
- Exibições: 1014
Comando para criar pasta(dir) no xHarbour
... Reference Guide
MakeDir()
Creates a new directory.
Syntax
MakeDir( <cDirectory> ) --> nOSError
Arguments
<cDirectory>
A character expression specifying the directory to create. The directory can be specified relative to the current directory, or absolute, including a drive letter ...
MakeDir()
Creates a new directory.
Syntax
MakeDir( <cDirectory> ) --> nOSError
Arguments
<cDirectory>
A character expression specifying the directory to create. The directory can be specified relative to the current directory, or absolute, including a drive letter ...
- 14 Jul 2023 16:48
- Fórum: [x]Harbour
- Tópico: Converter PDF em Base64
- Respostas: 14
- Exibições: 3092
Converter PDF em Base64
... e vou continuar usando sempre informando o segundo parâmetro), então nunca testei se o resultado seria correto sem ele.
Apenas uso como manda o manual:
The number of bytes to encode from <cString> must be passed as second parameter.
Use the expression Len(<cString>) to encode the entire string.
Apenas uso como manda o manual:
The number of bytes to encode from <cString> must be passed as second parameter.
Use the expression Len(<cString>) to encode the entire string.
- 11 Jun 2023 12:11
- Fórum: Banco de Dados
- Tópico: LETODBF: INDEX FOR condition
- Respostas: 2
- Exibições: 3926
LETODBF: INDEX FOR condition
... ANO TAG TEMP TO (fINDEX1) ;
FOR ANO=xANO ;
ADDITIVE TEMPORARY
O erro dá opção QUIT ou RETRY. Se eu dou RETRY ele cria normalmente.
The FOR expression cannot exceed 250 characters in length. RDDs that do not support a FOR condition when creating indexes generate a runtime error when this option ...
FOR ANO=xANO ;
ADDITIVE TEMPORARY
O erro dá opção QUIT ou RETRY. Se eu dou RETRY ele cria normalmente.
The FOR expression cannot exceed 250 characters in length. RDDs that do not support a FOR condition when creating indexes generate a runtime error when this option ...
- 31 Jan 2023 21:47
- Fórum: [x]Harbour
- Tópico: Erro ao compilar com xHarbour 1.2.1 no Ubuntu 20.04
- Respostas: 0
- Exibições: 5878
Erro ao compilar com xHarbour 1.2.1 no Ubuntu 20.04
... xharbour/include/hbapi.h:899:extern HB_EXPORT void hb_macroSetValue( HB_ITEM_PTR pItem, BYTE flags ); /* assign a value to a macro-expression item */
============
Pesquisa de: hb_macroUseAliased
============
============
Pesquisa de: hb_macroYYParse
============
xharbour/include ...
============
Pesquisa de: hb_macroUseAliased
============
============
Pesquisa de: hb_macroYYParse
============
xharbour/include ...