Search found 331 matches: processing

Return to advanced search

Re: Different Processing of Escape Characters in Mod Harbour

...oh...yes...I see and I can confirm this...
next time I will also read the heading of the forum-post -> sorry :-)

kind regards
ruth
by Ruth
Wed Jan 31, 2024 6:43 pm
 
Forum: mod_harbour
Topic: Different Processing of Escape Characters in Mod Harbour
Replies: 5
Views: 489

Re: Different Processing of Escape Characters in Mod Harbour

Dear Ruth,
the problem is that \n in JS works in a html file but not in a mod harblur prg file.

Please copy the HTML part into a HTML file and test.
Best regards,
Otto
by Otto
Wed Jan 31, 2024 4:55 pm
 
Forum: mod_harbour
Topic: Different Processing of Escape Characters in Mod Harbour
Replies: 5
Views: 489

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: 489

Re: Different Processing of Escape Characters in Mod Harbour

Dear Antonio, "\n" -> "\\n" OK Here is my test code. If I change the line to: keysString += key + ": " + value + "\\n"; it works fine. If I run it with keysString += key + ": " + value + "\n"; in HTML, all works fine. Best regards, Otto ...
by Otto
Wed Jan 31, 2024 8:46 am
 
Forum: mod_harbour
Topic: Different Processing of Escape Characters in Mod Harbour
Replies: 5
Views: 489

Re: Different Processing of Escape Characters in Mod Harbour

Dear Otto,

Could you please provide a small code example to review it ?

thanks
by Antonio Linares
Wed Jan 31, 2024 5:59 am
 
Forum: mod_harbour
Topic: Different Processing of Escape Characters in Mod Harbour
Replies: 5
Views: 489

Different Processing of Escape Characters in Mod Harbour

Hello everyone, I am working with Mod Harbour and have noticed that in my JavaScript code \\n causes a line break, while \n leads to an error. Is this a known behavior in Mod Harbour, or could there be another reason for it? Has anyone had similar experiences or can give me a tip on how to handle th...
by Otto
Wed Jan 31, 2024 4:10 am
 
Forum: mod_harbour
Topic: Different Processing of Escape Characters in Mod Harbour
Replies: 5
Views: 489

Re: Using Microsoft AI Phi-2 from FWH

If you think about this, these LLM models are databases that are able to reasoning...

what a huge step on data processing :-)
by Antonio Linares
Wed Dec 20, 2023 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8215

Re: Calculate total pages

... unique ID, possibly for the invoice. 3. **Preparation for Printing:** - `CursorWait()`: Possibly changes the cursor to a waiting state, indicating processing. - `DeleteDC(oDevice:hDC)`: Deletes the current Device Context (DC) of the device. - `oDevice := NIL`: Clears the device object. - `oDevice ...
by Otto
Fri Nov 24, 2023 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5857

Re: Help splitting up a character address string

... based on those positions. The result is stored in an array, but you can modify this to suit your needs, such as assigning them to variables or processing them further. User is ENDFUNCTION really a harbour syntax ChatGPT You're right, my mistake. In Harbour, the correct syntax to end a function ...
by Otto
Wed Nov 15, 2023 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help splitting up a character address string
Replies: 10
Views: 596

Planner

... Broadly speaking, in this case, the CSS and HTML are generated on the backend (server) and then the HTML code is processed first, followed by the processing of the CSS. This is the usual workflow in web development. I am so glad that I created the planner using only HTML and JavaScript. I can ...
by Otto
Mon Oct 30, 2023 8:56 pm
 
Forum: mod_harbour
Topic: Planner
Replies: 0
Views: 462

Re: FIVEWIN power - a room planer video

... Broadly speaking, in this case, the CSS and HTML are generated on the backend (server) and then the HTML code is processed first, followed by the processing of the CSS. This is the usual workflow in web development. I am so glad that I created the planner using only HTML and JavaScript. I can ...
by Otto
Mon Oct 30, 2023 8:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FIVEWIN power - a room planer video
Replies: 50
Views: 11066

Re: Compilar y lincar samples\account de FWH

... 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. c:\desarrol\bcc7032\lib\psdk\shell32.lib(1):'Unrecognized keyword '?'' Fatal: Error processing .DEF file ** error 2 ** deleting account.exe
by FiveWiDi
Thu Sep 07, 2023 9:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar y lincar samples\account de FWH
Replies: 5
Views: 300

hbmk2 problem

... lSoft, lWildSeek, lCurRec ) In this case, I am passing a value of TRUE for lSoft ( soft seek ). This would suggest that hbmk2 is actually not processing the database class in FWH but using something native to Harbour itself. Has anyone else experienced this ? If so, have you found a workaround ...
by TimStone
Mon Jul 10, 2023 5:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 problem
Replies: 19
Views: 758

Shell.Explorer.2 problem

All, I've been using the following code for years to access a website for credit card processing. This function displays a window and allows the user to enter credit card information to process a credit card and then returns the result. Now, all of a sudden when this ...
by Randal
Mon Jun 26, 2023 10:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Shell.Explorer.2 problem
Replies: 12
Views: 716

Re: Program is frozen

Do you have WHILE... ENDDO with very LONG processing, without the SYSREFRESH() command? And you didn't inform what is the configuration of the computer and what is the capacity of the MEMORY STICK. ¿Tiene WHILE... ENDDO con un procesamiento muy ...
by karinha
Sun Jun 04, 2023 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Program is frozen
Replies: 14
Views: 503
Next

Return to advanced search