Search found 790 matches: statement

Searched query: statement

by Antonio Linares
Thu Jan 30, 2025 5:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using DeepSeek locally using Ollama
Replies: 11
Views: 1923

Re: Using DeepSeek locally using Ollama

... with 10% VAT, but the provided accounts don't have an output VAT account for 10%, then perhaps we need to add that. But in the initial problem statement, the user said "if specific accounts are missing, a list of required additions should be output."

So, when processing each item:

- For items ...
by leandro
Tue Jan 21, 2025 9:15 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar con xharbour y msvc con hbmk2
Replies: 27
Views: 2845

Re: Compilar con xharbour y msvc con hbmk2

... Copyright 1999-2024, http://www.xharbour.org http://www.harbour-project.org/
Compiling '.\PRG\conodbc.prg'...
.\PRG\conodbc.prg(7) Error E0001 Statement not allowed outside of procedure or function
1 error

No code generated
hbmk2[conodbc]: Error: Running Harbour compiler. 1
C:\xHar_msvc_2409\bin ...
by dtussman
Tue Dec 31, 2024 6:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: oauth for dummies
Replies: 10
Views: 1297

Re: oauth for dummies

... code but it was very confusing. It says you have to have your app verified, is that true? I submitted a request and it said it will take 3 weeks. And it asked for url link and link to privacy statement etc, which I assume is irrelevant for a desktop app.

Anyway, thanks and Happy New Year!

David
by TimStone
Thu Dec 12, 2024 10:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic: PRINT class printer options
Replies: 6
Views: 1162

Re: PRINT class printer options

... are two radio buttons which select either use the default printer, or select an Alternate printer. Then I create the PRINT object with the second statement.


// Present the print selection option window and find the type
nPrnOpt := PRNSEL( aPrnTyp )
IF nPrnOpt = 0 // If Exit is specified, leave ...
by Jimmy
Wed Oct 16, 2024 3:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: a math formula - RESOLVED -
Replies: 8
Views: 1402

Re: a math formula

... give you the correct nInitialBet for the values you specified. If you need to handle both nFixedProfit and nFixedUse, you can use a nested IF statement to check which variable is being used:
=IF(nFixedProfit <= 28, 1.50 + FLOOR((nFixedProfit - 10) / 4, 1) * 0.50,
IF(nFixedUse <= 50, 1.50 + FLOOR ...
by FranciscoA
Fri Jul 19, 2024 4:03 pm
Forum: FiveWin para Harbour/xHarbour
Topic: TASKPANEL DE Andrés Reyes + SPLITTER + xBrowse
Replies: 9
Views: 1377

Re: TASKPANEL DE Andrés Reyes + SPLITTER + xBrowse

... syntax error at 'TASKITEM'"
aaaTpanel.prg(172) Error E0030 Syntax error: "syntax error at 'TASKITEM'"
aaaTpanel.prg(174) Error E0020 Incomplete statement or unbalanced delimiters
aaaTpanel.prg(176) Error E0030 Syntax error: "syntax error at 'TASKGROUP'"
aaaTpanel.prg(178) Error E0030 Syntax error ...
by byron.hopp
Tue Jul 16, 2024 8:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to Curl for text messaging
Replies: 5
Views: 4977

Re: How to Curl for text messaging

... great, it the crashing of the program I can't figure out. Thanks, in advance. Line number in the hb_out.log file leads me to the "Return nil" statement. Error 6005: Exception error:

Function TwilioText( cTel_To,cBody )
Local cLogFile := "TraceLog.txt"
Local hCurl
Local nError
Local Httpcode ...
by byron.hopp
Tue Jul 16, 2024 7:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to Curl for text messaging
Replies: 5
Views: 4977

Re: How to Curl for text messaging

... cut all ties with EZTexting and utilizing the code you all provided I can send a text. Thank you. However my program shuts down upon the return statement. What do I need in the Mak file for cUrl. I have currently LibCurl.lib, and hbcurl.lib in the .mak, I include hbcurl.ch in my program, and I have ...
by nageswaragunupudi
Tue Jul 16, 2024 3:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric Comparison
Replies: 6
Views: 1082

Re: Numeric Comparison

ELSEIF cNewType = "N"
uNewValue := VAL( cNewValue )


AS

ELSEIF cNewType = "N"
uNewValue := ROUND( VAL( cNewValue ), nDec )


OR
In this statement
case cOldType = "N" // Numeric
bFor:= compile( "_Field->"+ upper(cSearchField) + cOpsType + cValToChar(uOldValue ) )

Instead of cValToChar,you ...
by Otto
Fri Jul 12, 2024 2:28 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Propuesta para que hagan un curso virtual FW
Replies: 302
Views: 81663

Re: Propuesta para que hagan un curso virtual FW

... with DBF, and I think the source code would be more understandable.

I had the program explained to me by ChatGPT.

Please note that I made my statement under the premise: 'Mod Harbour area or remote server and other multi-user applications are not secure and up-to-date anymore.'

File server ...
by TimStone
Thu Jul 04, 2024 12:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with aFields( ) in most recent version of FWH
Replies: 8
Views: 1123

Problem with aFields( ) in most recent version of FWH

In the past I have used the following code to obtain the field names and types for an "in use" database. This is used to build a Filter statement in a variant of FiveDBU. It has worked correctly for many years.



nFlds := ::oDbf:Fcount( )
aNames := Array( nFlds )
aTypes := Array( nFlds ...
by karinha
Fri Jun 28, 2024 3:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Image x xImage quality difference
Replies: 42
Views: 5977

Re: Image x xImage quality difference

PARAMETER cFile

This is a very old statement that you should never use anymore. Replace it with a LOCAL statement. Anyway, I just tested your sample with XIMAGE and found no difference between the results using IMAGE and XIMAGE. How to reproduce the problem?

Enrico,

https://imgur.com/tpksOVk ...
by Enrico Maria Giordano
Fri Jun 28, 2024 2:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Image x xImage quality difference
Replies: 42
Views: 5977

Re: Image x xImage quality difference

concentra wrote:

Code: Select all | Expand

PARAMETER cFile
This is a very old statement that you should never use anymore. Replace it with a LOCAL statement. Anyway, I just tested your sample with XIMAGE and found no difference between the results using IMAGE and XIMAGE. How to reproduce the problem?
by Carles
Tue May 28, 2024 5:39 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Mod Harbour: ChatGPT Provides Detailed Answers
Replies: 23
Views: 5587

Re: Mod Harbour: ChatGPT Provides Detailed Answers

... ve read that you claim it’s not difficult, but that’s not accurate.

In last few years, you’ve learned many things, but the crucial point in this statement isn’t the quantity of knowledge acquired; it’s the ‘last few years.’ Whether you like it or not, the issue isn’t just about servers and their ...
by Silvio.Falconi
Fri May 10, 2024 2:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2932

Re: passing a value through a for..next loop

... n=3
exit
endif
Next




Compiling 'test.prg'...
test.prg(183) Error E0030 Syntax error "syntax error at '@'"
test.prg(188) Error E0018 EXIT statement with no loop in sight
test.prg(190) Error E0013 NEXT does not match FOR
test.prg(203) Error E0017 Unclosed control structure '{||...}*'
test.prg ...