Search found 412 matches: declaration

Return to advanced search

Re: Connecting to a BLE device

... 919: Unexpected end of file in conditional started on line 20 Error E2139 c:\bcc730\include\windows\sdk\commdlg.h 933: Declaration missing ; Error E2139 c:\bcc730\include\windows\sdk\commdlg.h 934: Declaration missing ; Error E2139 c:\bcc730\include\windows\sdk\commdlg.h ...
by Jeff Barnes
Tue Feb 27, 2024 9:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connecting to a BLE device
Replies: 8
Views: 308

Re: How does mod harbour work

... another question about "How does mod harbour work". On some occasions I get very useful error messages - like for example Error: LOCAL declaration follows executable statement operation: line:593 called from: HB_COMPILEFROMBUF, line: 0 called from: ..\source\exec.prg, EXECUTE, line: ...
by Antonio Linares
Mon Jan 15, 2024 12:38 pm
 
Forum: mod_harbour
Topic: How does mod harbour work
Replies: 8
Views: 1183

Re: How does mod harbour work

... another question about "How does mod harbour work". On some occasions I get very useful error messages - like for example Error: LOCAL declaration follows executable statement operation: line:593 called from: HB_COMPILEFROMBUF, line: 0 called from: ..\source\exec.prg, EXECUTE, line: ...
by Ruth
Mon Jan 15, 2024 9:35 am
 
Forum: mod_harbour
Topic: How does mod harbour work
Replies: 8
Views: 1183

Interesting discussion with ChtGPT

... are similar in most programming languages. Some differences or "outdated" features of Clipper compared to modern languages might be: Declaration method: In modern languages, it's common to specify the data type when declaring (e.g., int, float, string), while in Clipper, using LOCAL ...
by Otto
Mon Nov 06, 2023 4:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interesting discussion with ChtGPT
Replies: 15
Views: 1227

Re: De *.C Para *.Obj en BCC74 no funciona más.

karinha wrote:c:\TTaskPan>C:\BCC74\bin\bcc32 -c -Ic:\XHBBCC74\include;c:\fwh1905\include -D__HARBOUR__ -D__FLAT__ c_tthememanager.C


Try adding this declaration:

int FontHeight2Pt( int );

right after this other:

HMODULE GetResources( void );

Let me know.
by Enrico Maria Giordano
Fri Sep 08, 2023 6:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De *.C Para *.Obj en BCC74 no funciona más.
Replies: 84
Views: 39459

Re: register callback func to be exec from inside c VM harbour

Saludos maestro y gracias por la sugerencia. I'm sorry I wasn't more specific. Consider this declaration: //-------------------------------------------------------------------------------HB_FUNC( TOCRFROMSCANNER ){   TOCRJOBINFO_EG    JobInfo_EG;   TOCRRESULTSEX_EG* ...
by reinaldocrespo
Mon May 29, 2023 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: register callback func to be exec from inside c VM harbour
Replies: 2
Views: 203

Re: How to create a PRIVATE variable owned by the caller?

CreateMem() is not neccesary for private declaration on top main function: #include "Fivewin.ch"FUNCTION MAIN()// Note !!!!!! Try without that function call/*    CREATEMEM( "MYTEST.MEM", "TEST", "Hello" ...
by hmpaquito
Wed Jan 11, 2023 7:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 777

Re: Gluing bitmaps

I tried to run the Load Free Image() function in my program.
I received a message about the absence of the hLib variable.
If you set STATIC hLib, the compilation message will appear - STATIC declaration follows executable statement
by Natter
Wed Dec 14, 2022 7:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gluing bitmaps
Replies: 29
Views: 1369

Error E2140

hi, i try to include some HMG HB_FUNC() but got Error E2140 .\\HB_FUNC.PRG 880: Declaration is not allowed here in function HB_FUN_HMG_ISFUNCDLL HB_FUNC ( HMG_ISFUNCDLL ) //        HMG_IsFuncDLL ( pLibDLL | cLibName, cFuncName ) ---> Boolean{   HMODULE ...
by Jimmy
Fri Dec 02, 2022 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error E2140
Replies: 2
Views: 214

Re: Harbour warnings

... http://www.harbour-project.org/ Syntax: d:\xPrueba\harbour.exe <file[s][.prg]> [options] Options: /a automatic memvar declaration /b debug info /build display detailed version info /credits display credits /d<id>[=<val>] #define <id> /es[<level>] ...
by hmpaquito
Fri Jun 24, 2022 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour warnings
Replies: 34
Views: 2316

Re: W3Schools webpage template "COMPANY" to mod harbour

... function in which you declared the variable. static is similar to JS variables declared globally (outside any function) have Global Scope. Static declaration in HARBOUR must be done before the main function. With TEMPLATE PARAMS you pass the variables to HTML/JS part *** hb_jsonenconde/hb_jsondecode ...
by Otto
Mon May 16, 2022 6:22 pm
 
Forum: mod_harbour
Topic: W3Schools webpage template "COMPANY" to mod harbour
Replies: 7
Views: 816

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

... I normally use is LOCAL. I don't use the type "FIELD" since I only use database objects (e.g. oCustomer:name), and thus no variable type declaration is needed for field names. You can also eliminate PUBLICs using a database object. I think you are missing out on a lot by not working with ...
by James Bott
Thu Mar 10, 2022 6:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4334

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

test1.prg(72) Warning W0002 Ambiguous reference, assuming memvar 'LSERVER' Where the PUBLIC or PRIVATE variable is used you have to use the MEMVAR declaration or the M -> prefix: MEMVAR lServer or M -> lServer EMG ok but on my old clipper prg I assigned on "N"+ LTrim(Str(conta1)) ...
by Silvio.Falconi
Fri Mar 04, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4334

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

Marc Venken wrote:test1.prg(72) Warning W0002 Ambiguous reference, assuming memvar 'LSERVER'


Where the PUBLIC or PRIVATE variable is used you have to use the MEMVAR declaration or the M -> prefix:

MEMVAR lServer

or

M -> lServer

EMG
by Enrico Maria Giordano
Fri Mar 04, 2022 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4334

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

... variable declared inside a function is just like a LOCAL one but keeps its value till the end of the program (ie. its lifetime lasts from the declaration to the end of the program). A STATIC variable declared outside a function is visible in the whole file (the PRG) and its lifetime is like ...
by Enrico Maria Giordano
Thu Mar 03, 2022 11:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion from ca-clipper ( not found a variable)
Replies: 30
Views: 4334
Next

Return to advanced search