Search found 2744 matches: string

Return to advanced search

xbrowse (likely a custom table) whose contents change dynam

... PUT, etc., and handle responses in a clean and readable manner. The JavaScript function fetch then calls the mod harbour program data.prg. A JSON string is passed to the server through the body property of the fetch request. fetch sends: filterData in the body to the mod harbour program: filterData ...
by Otto
Sat May 04, 2024 7:42 am
 
Forum: mod_harbour
Topic: xbrowse (likely a custom table) whose contents change dynam
Replies: 0
Views: 14

Re: xbrowseWeb - Work in Progress

... Search similar to in xbrowse starts with the inputs: chosen index, search from the beginning of the word or within the word, and the search string. Records in the DBF file: 34000 Please note that we have been working on xbrowse for decades. One should not assume that when we switch to web, ...
by Otto
Tue Apr 30, 2024 9:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowseWeb - Work in Progress
Replies: 4
Views: 267

Re: ayuda con uso de hb_xfree

Carlos, No había entendido bien tu pregunta. Mira lo que responde Llama3-70B: https://huggingface.co/chat/assistant/66238e78096b24c9dad9457c Este bloque de código es una función en C que se encarga de asignar un valor de cadena a un objeto PHB_ITEM. A continuación, te explicaré paso a paso l...
by Antonio Linares
Mon Apr 29, 2024 6:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 180

ayuda con uso de hb_xfree

Dado este código     case SQL_CHAR: {      char *szResult = (char *) hb_xgrab(lLen + 1); //crea var string zero de un tamaño lLen      hb_xmemset(szResult, ' ', lLen); //rellena de espacios      szResult[lLen] = '\0'; //define fin de cadena      ...
by carlos vargas
Sun Apr 28, 2024 2:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 180

Re: funcion C a xBase

This is not C. C does not have a "string" type.
by Enrico Maria Giordano
Mon Apr 22, 2024 3:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funcion C a xBase
Replies: 6
Views: 161

Test a string is encoded with cMimeEnc()

Is is possible to test a string to see whether it was encoded with cMimeEnc() or not?

TIA
by hua
Fri Apr 19, 2024 10:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test a string is encoded with cMimeEnc()
Replies: 0
Views: 39

AYUDA Validacion LRC para datafono

... hexadecimales. Ej: 02006236303030303030303030313030302020301C 'Retorna el LRC en valor Hexadecimal. Ej. 5D Private Function CheckLCR(ByVal s As String) As String Dim checksum As Integer = 0 'Este valor lo reemplazé por 2 y todo salió de maravillas. For Each c As Char In GetStringFromHex(s) checksum ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 493

incremental search on Xbrowse

Hi all, Is it possible to modify xbrowse so that it can also accept the 'space' character in the 'seek' search string? This change would allow searches even with 2 or more words.  xbrowse vers. : #define FWVERSION    "FWH 23.10" #define FW_VersionNo ...
by mauri.menabue
Sat Mar 23, 2024 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: incremental search on Xbrowse
Replies: 10
Views: 2040

Re: How to include hbCurl?

... + ' > clogrooms.txt'  Your request doesn't appear to be valid JSON: Parse error on line 1: tags: { name: tag1, ^ Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
by Marc Venken
Wed Mar 20, 2024 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2964

Re: Fulltext-Search

... for the same search. TC 1.40 min findstr 40 sec = command prompt ps 15 sec Get-ChildItem -Path c:\www\htdocs -Recurse -Filter *.prg | Select-String -Pattern "AP_GetPairs()" | ForEach-Object { $_.Path } I think I'll continue with PowerShell. Best regards, Otto
by Otto
Sun Mar 17, 2024 9:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltext-Search
Replies: 6
Views: 1269

Fulltext-Search

... then call it with waitrun(). I redirect the response from findstr to a file and then examine the hits. Actually, the program only needs the search string and the path for now. I'm using a DIALOG here. It's an experiment with using a HASH instead of variables, but you can easily build your own input ...
by Otto
Fri Mar 15, 2024 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltext-Search
Replies: 6
Views: 1269

Re: FW_DbfSqlQuery con campos mayores de 256 carracteres

... driver from the following address: https://www.microsoft.com/en-us/download/details.aspx?id=32602 I have tried with the connection string: oC:Open('Provider=vfpoledb;Data Source='+cPath+';Collating Sequence=general;') and the result is the same, when there are fields longer ...
by VictorCasajuana
Fri Mar 08, 2024 2:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FW_DbfSqlQuery con campos mayores de 256 carracteres
Replies: 3
Views: 665

Re: Strange characters going from FWH to Outlook FWH 13.10

Otto,

Thanks for your suggestion.
But if I have to use this function to check every character in every string, isn't that slowing down my application?
by driessen
Mon Feb 19, 2024 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange characters going from FWH to Outlook FWH 13.10
Replies: 18
Views: 3750

Re: Search by line

I needed to find out if the string consists only of numbers or not. I wrote such a function: if AtLine(adr, "{|xx|asc(xx)<48.or.asc(xx)>57}")=0 ............................................... endif function AtLine(itm, xBk)  ...
by Natter
Tue Feb 06, 2024 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search by line
Replies: 8
Views: 312

Re: Different Processing of Escape Characters in Mod Harbour

Dear Otto,
I think \n leads to an error because the backslash is an escape character in javascript.
according to chatgpt :-) ... when used in a string, the \ expects to be followed by another character to form the escape sequence.
So \\n is needed in this case I suppose.
kind regards
ruth
by Ruth
Wed Jan 31, 2024 1:38 pm
 
Forum: mod_harbour
Topic: Different Processing of Escape Characters in Mod Harbour
Replies: 5
Views: 508
Next

Return to advanced search

cron