Search found 140 matches: units

Searched query: units

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

Re: Using DeepSeek locally using Ollama

... Positions:

Laptop Computer - 1 unit, €1273, 20% VAT Return of book “Advanced Computing” - -1 unit, €3.96, 10% VAT Book “Computing for Dummies” - 2 units, €2.48, 10% VAT Return of IBM 5150 Desktop - -1 unit, €25, 0% VAT Network cables - 250 units, €0.75, 20% VAT
If specific accounts are missing, a ...
by Otto
Thu Jan 30, 2025 6:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using DeepSeek locally using Ollama
Replies: 11
Views: 1824

Re: Using DeepSeek locally using Ollama

... Positions:

Laptop Computer – 1 unit, €1273, 20% VAT Return of book “Advanced Computing” – -1 unit, €3.96, 10% VAT Book “Computing for Dummies” – 2 units, €2.48, 10% VAT Return of IBM 5150 Desktop – -1 unit, €25, 0% VAT Network cables – 250 units, €0.75, 20% VAT
If specific accounts are missing, a ...
by Antonio Linares
Fri Jan 24, 2025 10:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... Return Value: NUMERIC - Always returns 1.

Usage Example:

oBrw:EraseBkGnd()
content_copy
download
Use code with caution.
Harbour

10. cGenPrg( lDlgUnits )

Description: Generates a code snippet (PRG code) to recreate the browse control with its current settings.

Parameters:

lDlgUnits: LOGICAL ...
by Antonio Linares
Fri Jan 17, 2025 10:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... text with the current value of the variable.
- **Parameters:**
- `lErase`: Whether to erase the background before refreshing.

5. **`cGenPRG( lDlgUnits )`**
- **Description:** Generates the source code (PRG) representation of the button, which can be used to recreate the button programmatically ...
by Antonio Linares
Fri Jan 17, 2025 10:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... keys (e.g., arrow keys).
- **Parameters:**
- `nKey`: The key code.
- `nFlags`: Additional flags.
- **Returns:** `nil`.

16. **`cGenPRG( lDlgUnits )`**
- **Description:** Generates the PRG code for creating the button.
- **Parameters:** `lDlgUnits`: A flag indicating whether to use dialog ...
by Antonio Linares
Fri Jan 17, 2025 10:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... button bar to the top of the window.

17. **`cGenPRG()`**:
- **Description**: Generates PRG code for the button bar.
- **Parameters**:
- `lDlgUnits`: Dialog units flag.

18. **`GetBtnTop()`**:
- **Description**: Gets the top position of a button.
- **Parameters**:
- `lNewGroup`: New group ...
by JoséQuintas
Mon Dec 30, 2024 1:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection to MySQL server during query
Replies: 40
Views: 17951

Re: Lost connection to MySQL server during query

... Windows XP service pack 5, half open connections limit was anything about 67 millions, and from service pack 5 limit was reduced to 8, only 8 units.
When close connection, windows move connection to halfopen for a limited time, before really to close it.
connection open/close/open/close/open ...
by Otto
Thu Nov 28, 2024 9:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: AI in Software Development: What's Your Take?
Replies: 7
Views: 1992

Re: AI in Software Development: What's Your Take?

... information at my fingertips.

But not only that, with HARBOURINO, I can cut the source code into pieces like with scissors, creating small logical units that are clear and maintainable.
The advantage is that I don't need to pass variables, and once HARBOURINO patches the pieces back together, I ...
by Jimmy
Wed Oct 16, 2024 3:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: a math formula - RESOLVED -
Replies: 8
Views: 1373

Re: a math formula

... seem to handle the step changes correctly. Let’s refine it.
Given the pattern in your data, it looks like nInitialBet increases by 0.50 for every 4 units increase in nFixedProfit or nFixedUse after the initial value of 10. Here’s a more generalized formula:
nInitialBet=1.50+⌊4nFixedProfit−10​⌋×0.50 ...
by Surasak
Thu Aug 22, 2024 7:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: IP Camera Connect
Replies: 4
Views: 1361

IP Camera Connect

I have to connect 10-20 units of IP Camera via Lan cable distance 20-50m. So, I cannot use webcam for this application, Did anyone have the sample code for connect to IP Camera via RTSP or TCP/IP Protocal ?
by Otto
Mon Jul 29, 2024 9:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Advantages of a Patcher and Preprocessor over OOP
Replies: 1
Views: 560

Advantages of a Patcher and Preprocessor over OOP

... and education required, saving costs.

Simplified Variable and Parameter Management :Less Variable Passing: By dividing the code into logical units, the need to pass variables and parameters back and forth is often eliminated, making the code clearer and easier to maintain.

Best regards,
Otto
by Silvio.Falconi
Mon Jan 15, 2024 7:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 1573

Re: nYoffset and nXoffset

... and nYoffset in the comment, but not directly in the code.

// Set the X and Y offsets for printing
oPrn:nXoffset := 10; // Set X offset to 10 units
oPrn:nYoffset := 20; // Set Y offset to 20 units

// Now, when you print something, it will start from the offset position

These methods use ...
by Otto
Sun Jan 14, 2024 11:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 1573

Re: nYoffset and nXoffset

... and nYoffset in the comment, but not directly in the code.

// Set the X and Y offsets for printing
oPrn:nXoffset := 10; // Set X offset to 10 units
oPrn:nYoffset := 20; // Set Y offset to 20 units

// Now, when you print something, it will start from the offset position

These methods use ...
by Otto
Tue Nov 07, 2023 7:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: Interesting discussion with ChtGPT
Replies: 15
Views: 3679

Re: Interesting discussion with ChtGPT

... my manual.

My tool - preproPatcher - AKA Harbourino - is very suitable for collaboration with AI. I have organized my code according to logical units and can then simply send these blocks to the AI and have it edited.

I am particularly surprised by the rapid progress in the responses and the ...
by Otto
Mon Nov 06, 2023 4:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Interesting discussion with ChtGPT
Replies: 15
Views: 3679

Interesting discussion with ChtGPT

... duration in minutes
LOCAL nDurationInMinutes := nEndMinutes - nStartMinutes

// Determine the number of 15-minute intervals
LOCAL nQuarterHourUnits := INT(nDurationInMinutes / 15)

? "Duration: " + STR(nQuarterHourUnits) + " quarter-hour units"

RETURN
Note that the Harbour/Clipper syntax is a ...