Search found 36 matches: w0027

Return to advanced search

Re: Conversion from ca-clipper ( not found a variable)

... is called n times then the resource is allocated n times and released zero times and you will have resource leakage. test1.prg(1714) Warning W0027 Meaningless use of expression ':' test1.prg(1714) Warning W0027 Meaningless use of expression 'Logical' test1.prg(1716) Warning W0027 Meaningless ...
by Enrico Maria Giordano
Thu Mar 03, 2022 10:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4376

Re: Conversion from ca-clipper ( not found a variable)

... ... I Mostly just end the program and all this stuff is gone ? At least I think so... Oeps... My Warning log has 430 lines test1.prg(1714) Warning W0027 Meaningless use of expression ':' test1.prg(1714) Warning W0027 Meaningless use of expression 'Logical' test1.prg(1716) Warning W0027 Meaningless ...
by Marc Venken
Thu Mar 03, 2022 9:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4376

Re: Incrustar Calculadora de Windows en Dialogo

... no compila ni con HARBOUR, y ni con xHARBOUR. ERROR.LOG: ACUELAR.prg(114) Warning W0001 Ambiguous reference 'DEFAULT' ACUELAR.prg(351) Warning W0027 Meaningless use of expression 'Logical' #include "FiveWin.ch"// By: Adhemar CuéllarFUNCTION Main()   LOCAL oDlg  ...
by karinha
Thu Jul 15, 2021 1:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Incrustar Calculadora de Windows en Dialogo
Replies: 10
Views: 1171

Re: Error sintaxis EVAL

Gracias, Joao por contestar. Sigue dando los errores siguientes: c:\winsat\Decimal.prg(41) Warning W0027 Meaningless use of expression 'Logical' c:\winsat\Decimal.prg(46) Warning W0027 Meaningless use of expression 'Logical' c:\winsat\Decimal.prg(51) Warning W0027 Meaningless ...
by Ramón J.
Thu Jan 16, 2020 8:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error sintaxis EVAL
Replies: 3
Views: 694

Error sintaxis EVAL

... (CGET4,( CGET4:=CGET3*CGET0), oGET4:Refresh(),; .T. )) } ) Al pasarlo a 32 el compilador arroja el siguiente error:" Warning W0027 Meaningless use of expression 'Logical' Aquí, que también funciona en FW16, @45, 30 GET oget1 VAR cget1 OF odlgeu picture "999,999,999" ...
by Ramón J.
Wed Jan 15, 2020 7:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error sintaxis EVAL
Replies: 3
Views: 694

Re: Desktop Alerts

... Compiling 'test3.prg'... Generating international list to 'C:\Work\Errori\DESKTO~1\I18n\Main.hil'... test3.prg(83) Warning W0027 Meaningless use of expression: 'Numeric' No code generated #include "FiveWin.ch"#include "Slider.ch"static nTransparency  ...
by Silvio.Falconi
Wed Mar 09, 2016 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Desktop Alerts
Replies: 39
Views: 29494

Re: Warning W0027 Compiling Error

Greg, Those sentences get into a codeblock, and the compiler warns when there is a logical value that does nothing. In example: local n := 1 .T. MsgInfo( "hello world" ) in the above lines the .T. has no sense at all. Now lets take that code to a codeblock: { || n := 1, .T., MsgInfo( "...
by Antonio Linares
Tue Jan 21, 2014 10:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Re: Warning W0027 Compiling Error

This is really a mystery to me. Here is a code block for a BUTTON that has 8 IIF statements. I was only getting two compile warnings on this block, so by elimination, I added a "placeholder" variable ph := IIF(.... to all of them and deleted one at a time and compiled to find which two lin...
by Greg Gammon
Tue Jan 21, 2014 3:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Re: Warning W0027 Compiling Error

However, this code compiles perfectly @ ( nHg/2 ) - 30, 2*Int( nWd/6) + 50 BUTTON oBtn1 PROMPT "Aceptar" ;             SIZE 50, 18 PIXEL OF oDlg ;             FONT oFont2 ;             ACTION ( lOk := .T., iif( lOk, oDlg:End(), .F. ) )  And this also...
by cnavarro
Mon Jan 20, 2014 11:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Re: Warning W0027 Compiling Error

Greg,

Instead of:

IIF ( lNew, oPaperDbf:append(), .t.)

try this:

IIF ( lNew, oPaperDbf:append(), )
by Antonio Linares
Mon Jan 20, 2014 10:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Re: Warning W0027 Compiling Error

Christobal...that does indeed work (as far as getting rid of the compiler warning..but in runtime??), but Im confused as to why it is needed. I probably have 1000's of IIF's in my programs but only a hundred or so are coming up with this compile error. The "placeholder" variable ( lwhateve...
by Greg Gammon
Mon Jan 20, 2014 9:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Re: Warning W0027 Compiling Error

Sorry, did not understand well your problem The solution is that the IIF function must be returned to a variable Try also: REDEFINE BUTTON oBtn4 ID 1002 OF oDlg WHEN lEdit  ACTION ;            lEdit := IIF ( lEdit, oSizeDbf:append(), .t.), ;            oSizeDbf:StkSize := STR(oSi...
by cnavarro
Mon Jan 20, 2014 9:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Re: Warning W0027 Compiling Error

Christobal,
Thanks for the quick reply. No, the functions do not return a logical, so I tried your idea of (myfunc(), t.) and it doubled the number of W0027 errors...twice as many ".t."...twice as many errors! oy vey....(and im not even jewish) :)
Greg
by Greg Gammon
Mon Jan 20, 2014 9:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Re: Warning W0027 Compiling Error

The functions myfunction() included in the IIF (<lcond>, myfunction (), T.) return a boolean?
If not, try like this: IIF (<lcond>, (myfunction (), T.), T. )
by cnavarro
Mon Jan 20, 2014 8:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338

Warning W0027 Compiling Error

... in about 6 years. Following problem also exists using older FWH libraries so is Harbour related I believe. I have numerous (hundreds) of Warning W0027 Meaningless use of expression "logical"...as well as others that I have not dug into yet (and I'm not eager to get into the run-time ...
by Greg Gammon
Mon Jan 20, 2014 8:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W0027 Compiling Error
Replies: 8
Views: 1338
Next

Return to advanced search

cron