Search found 523 matches: escape

Return to advanced search

Re: How to include hbCurl?

... should be the subscriber's hashed email address, `cApi` is your API key, and `aTags` is the tag name you want to add. Note that we need to escape double quotes inside the JSON data by using `""`. Make sure that `aTags` is properly formatted. If `aTags` is a variable containing ...
by Otto
Wed Mar 20, 2024 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2932

Salir de una validación

... ID Con_Garante1 OF oDlgCF valid VeoGaran(@nGarante1,@cVeoGaran1,.t.) .and. (oGarante1:Refresh(),oVeoGaran1:Refresh(),.t.) si oprimo ESCAPE en el GET me cierra el dialogo. Aclaro que de la funcion que valida ( VEOGARAN ) puedo salir con valor 0 y continuar con los restantes GETS del ...
by José Camilo
Mon Feb 12, 2024 6:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Salir de una validación
Replies: 6
Views: 296

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: Problema usando STRTRAN()

... si fuera el contenido de otro campo, la aplicación truena En el foro recomendaron sustituir el apostrofe o la coma ante poniendo el caracte de escape (\). En una aplicación me funcionó al 100% pero este nuevo desarrollo no funciona mas Una opción es eliminar el apostrofe como bien indicas pero ...
by Armando
Wed Jan 17, 2024 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema usando STRTRAN()
Replies: 10
Views: 422

Re: How does mod harbour work

... which works fine... but would prefer something like this in some situations... <?prg? "test3"?> do I need to escape the "?" in this context, because the code-example doesnt seem to work. what is working <?prgreturn "test4"?> but not ...
by Antonio Linares
Mon Jan 15, 2024 12:33 pm
 
Forum: mod_harbour
Topic: How does mod harbour work
Replies: 8
Views: 1188

Re: How does mod harbour work

... which works fine... but would prefer something like this in some situations... <?prg? "test3"?> do I need to escape the "?" in this context, because the code-example doesnt seem to work. what is working <?prgreturn "test4"?> but not ...
by Ruth
Mon Jan 15, 2024 9:19 am
 
Forum: mod_harbour
Topic: How does mod harbour work
Replies: 8
Views: 1188

Re: Unicode vs UTF8

Antonio Linares wrote:Unicode uses TWO bytes per each character

UTF8 just uses TWO bytes for special characters only! (>127)


Using an escape character? If yes, which character?
by Enrico Maria Giordano
Sun Jan 07, 2024 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode vs UTF8
Replies: 2
Views: 1021

Re: Execute php or vbs code

Here it is: https://wormhole.app/6lE98#DrUiOoCwc3x7kgJ2O-EDDA Enrico, using Antonio's example, I have several errors. Need some other lib? Error: Unresolved external 'WSAIoctl' referenced from D:\LANG\FWH1105\XH1.2.1\LIB\HBCURL.LIB|hbcurl Error: Unresolved external '_curl_global_init_mem' r...
by wartiaga
Sat Sep 02, 2023 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1103

Re: enviar una tecla desde un boton

... si en el medio de la carga deseo cancelar la misma no puedo hacerlo por las validaciones de los campos, tambien resulta que si oprimo la tecla escape y luego el boton de salida hace lo que quiero pero no logro que lo haga desde el boton mismo sin tener que oprimir ESCAPE previamente. Me explico.? ...
by José Camilo
Mon Aug 21, 2023 3:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar una tecla desde un boton
Replies: 5
Views: 283

enviar una tecla desde un boton

Buenos dias!!!
Necesito que al oprimir un boton se mande la señal de la tecla ESCAPE.
Probe con CHR(27) y no la envia.
Se puede? Como?
Gracias.
by José Camilo
Mon Aug 21, 2023 1:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar una tecla desde un boton
Replies: 5
Views: 283
Next

Return to advanced search