Search found 168 matches: parse

Return to advanced search

AYUDA Validacion LRC para datafono

... = Nothing Dim s2 As String = s.Replace(" ", Nothing) For i As Integer = 0 To s2.Length - 1 Step 2 result += Convert.ToChar(Integer.Parse(s2.Substring(i, 2), System.Globalization.NumberStyles.HexNumber)) Next Return result End Function // c++ int calcularLRC(unsigned char *pi_sTrama, ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 485

Re: How to include hbCurl?

... + cApi + ' -d ' + CHR(34) + cJsonPayload + CHR(34) + ' > 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: 2947

Re: Help splitting up a character address string

... functions in Harbour to load the Excel file. You may choose to use libraries like XLSXREAD or Office Automation Libraries to read Excel files. 2. Parse the Excel data: Extract the data from the Excel file, specifically from the worksheet that contains the addresses. You can iterate over the rows ...
by frose
Wed Nov 15, 2023 11:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help splitting up a character address string
Replies: 10
Views: 602

Re: Website logo

... You can retrieve the entire webpage using the onboard Fivewin function: cData := WebPageContents(cUrl) Best regards, Otto After this, we need to parse the webpage code and extract the image-links. Possible, but we need to write the code for it now.
by nageswaragunupudi
Thu May 18, 2023 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Website logo
Replies: 8
Views: 490

Re: OpenAI class using hbCurl

... manage any response. Keep in mind that the Json response will be different depending on what model you are using. For my current use, which is to parse response for ICD10 codes, here is what I'm doing: CLASS TCodeICD10sWOpenAI FROM TOpenAI   METHOD GetICD10sFromResponse()END CLASS //#DEFINE ...
by reinaldocrespo
Wed May 10, 2023 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OpenAI class using hbCurl
Replies: 8
Views: 701

Re: chat open Ai questions

... NetHttpReq() function to make an HTTP request to the Banca d'Italia REST API and then use Harbour/Clipper's JSON parsing functions to parse the request response and retrieve rate data of exchange. Here is an example of a function in Harbour/Clipper that uses NetHttpReq() to make an ...
by Silvio.Falconi
Wed May 10, 2023 12:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: chat open Ai questions ( currency rates )
Replies: 5
Views: 309

Re: OpenAI class using hbCurl

... )           MsgInfo( oAI:Response )       ENDIF   Response in this case will be aJSon structure with ICD10 codes and descriptions. I parse the result and move to an xbrowse where coders work with it. After formatting the response it looks like this: ICD10 codes: Tiny fibroid: D25.0 ...
by reinaldocrespo
Tue May 09, 2023 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OpenAI class using hbCurl
Replies: 8
Views: 701

OpenAI class using hbCurl

... diagnosis codes. It works really nice. I think the only external function I use here is LogData() and I will share it if anyone wants it. How you parse the response for the output you seek may be different. Happy coding. Reinaldo. #INCLUDE "hbClass.ch"#INCLUDE "hbcurl.ch"#DEFINE ...
by reinaldocrespo
Tue May 09, 2023 6:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OpenAI class using hbCurl
Replies: 8
Views: 701

Re: SMS Text messaging - FOLLOW UP

... and obtain the messages that way. I haven't tried that yet but am working on understanding what data actually is returned, and then I can parse it and provide it in the proper threads. 5). This all is done with cURL code which I'm already using elsewhere in my program. There are already ...
by TimStone
Mon Nov 07, 2022 8:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SMS Text messaging
Replies: 12
Views: 1706

Re: WebView e HTML

Dear Ari,

yes, thats the idea :-)

From the RC we create a dialog and from the dialog we get the HTML

Alternatively we could parse the RC and generate the HTML too. Next step maybe :-)
by Antonio Linares
Fri Aug 26, 2022 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView e HTML
Replies: 1
Views: 307

Ayuda Mercury TWeb y TWebBrowse

... tambien tengo el resultado de tweb: <script> var _ringo = new TWebBrowse( "ringo", null, false ); _ringo.SetCfgCols( JSON.parse( '{"id":{"id":"id","head":"Id.","width":"","sortable":false,"align":"","formatter":"","class":"","edit":false,"edit_type":"C","edit_with":"","edit_escape":false,"class_event":""},"name":{"id":"name","head":"Name","width":"","sortable":false,"align":"","formatter":"","class":"","edit":false,"edit_type":"C","edit_with":"","edit_escape":false,"class_event":""}}' ...
by RSalazarU
Wed Apr 14, 2021 8:51 pm
 
Forum: mod_harbour
Topic: Ayuda Mercury TWeb y TWebBrowse
Replies: 3
Views: 990

Re: Can FW also read a intire online webshop ?

... .t. )   ? OCCURS( "</table>", cText )  Result : 11 Next read all the 11 tables one by one and parse each table to find what we want.
by nageswaragunupudi
Sun Mar 14, 2021 4:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can FW also read a intire online webshop ?
Replies: 14
Views: 1699

Strange error to converte a file

... := FLineCount( cFile ) i := 1 cBuf := MemoRead( cFile ) cBuf := STRTRAN(cBuf,",",";") cBuf := STRTRAN(cBuf,'"','') // parse and make a multi dimentional array if cBuf[ -1 ] == 26 // check and remove Ctrl-Z <-------------------- cBuf := Left( cBuf, Len( cBuf ) - 1 ...
by Silvio.Falconi
Mon Jan 04, 2021 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange error to converte a file
Replies: 12
Views: 1099

Receive Parameters from the URL line in Mod_Harbour

How do I receive and parse out the parameters which have been passed to a mod_harbour program.
Sets say I am printing a report and I want to pass the account number month, and year of record.

Thanks,

Byron ...
by byron.hopp
Tue Mar 03, 2020 12:18 am
 
Forum: mod_harbour
Topic: Receive Parameters from the URL line in Mod_Harbour
Replies: 1
Views: 248

Receive Parameters from the URL line in Mod_Harbour

How do I receive and parse out the parameters which have been passed to a mod_harbour program.
Sets say I am printing a report and I want to pass the account number month, and year of record.

Thanks,

Byron ...
by byron.hopp
Tue Mar 03, 2020 12:07 am
 
Forum: mod_harbour
Topic: Receive Parameters from the URL line in Mod_Harbour
Replies: 1
Views: 307
Next

Return to advanced search

cron