Search found 276 matches: asc

Return to advanced search

Re: xbrowser, setorder DESC

If the column is already ordered oCol:SetOrder() toggles ASC and DESC.
You need not have set aCols[ 2 ]:SetOrder() because it was already in the descending order.
by nageswaragunupudi
Mon Mar 25, 2024 4:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowser, setorder DESC
Replies: 8
Views: 259

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)  local st, nOk:=0 ** itm - string  ** xBk ...
by Natter
Tue Feb 06, 2024 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search by line
Replies: 8
Views: 272

Re: Unicode vs UTF8

Utf8 encoding uses either 1 or 2 or 3 bytes for each character. All latin characters upto asc 127 are represented by the same single character both in Ansi and Utf8 encodings. Accented WU characters are encoded with 2 bytes. Complex scripts like Asian languages use 3 ...
by nageswaragunupudi
Sun Jan 07, 2024 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode vs UTF8
Replies: 2
Views: 886

Re: Inserting a string with CRLF into a single-line TGet.

1. Why write oGet1:bKeyDown :={ |k|If( k == ASC("V") .and. GetKeyState(VK_CONTROL ), Check CRL F(), ) } for each control if the method can be modified :KeyDown via Override ? With override, the change applies to all Gets and we need ...
by nageswaragunupudi
Tue Dec 12, 2023 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 726

Re: Inserting a string with CRLF into a single-line TGet.

Thank you, Rao, a good solution ! Please explain such points: 1. Why write oGet1:bKeyDown :={ |k|If( k == ASC("V") .and. GetKeyState(VK_CONTROL ), Check CRL F(), ) } for each control if the method can be modified :KeyDown via Override ? 2. Will this function work when ...
by Natter
Tue Dec 12, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 726

Re: not ISOEM(), ISANSI() or IsUTF8()

hi, here are German Sign from 32 to 255 STRTOHEX( cSign ) = "20" ASC( cSign ) = 32 STRTOHEX( cSign ) = "21" ASC( cSign ) = 33 STRTOHEX( cSign ) = "22" ASC( cSign ) = 34 STRTOHEX( cSign ) = "23" ASC( cSign ) = 35 STRTOHEX( ...
by Jimmy
Wed Aug 30, 2023 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 1927

Re: not ISOEM(), ISANSI() or IsUTF8()

... with German "Umlaute" using DrXlsx --- when you ask me for STRTOHEX() i got xValue = "„" STRTOHEX(xValue) = "84" ASC(xValue) = 132 xValue = "”" STRTOHEX(xValue) = "94" ASC(xValue) = 148 xValue = "" STRTOHEX(xValue) = "81" ...
by Jimmy
Wed Aug 30, 2023 6:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 1927

Re: not ISOEM(), ISANSI() or IsUTF8()

hi, this i got when have use DBU and fill it with German Umlaute xValue = "ä" STRTOHEX(xValue) = "84" ASC(xValue) = 132 xValue = "ö" STRTOHEX(xValue) = "94" ASC(xValue) = 148 xValue = "ü" STRTOHEX(xValue) = "81" ASC(xValue) ...
by Jimmy
Mon Aug 28, 2023 10:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 1927

Re: not ISOEM(), ISANSI() or IsUTF8()

... := SUBSTR( cLine, ii, 1 )         // IF AT(cSign,cLine) > 0         IF cSign $ aSign            cRet += cSign         ELSEfwlog cSign, ASC( cSign ), cRet, RECNO()            cRet := ""            EXIT         ENDIF      NEXT   ENDIFRETURN cRet If you don't ...
by Jimmy
Mon Aug 28, 2023 1:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 1927

Re: not ISOEM(), ISANSI() or IsUTF8()

... for those "old" Style OEM DBF with XLSwriter here my full German OEM (DE850) "translate" for UTF8 Editor cSign = "ä" ASC( cSign ) = 228 cSign = "ö" ASC( cSign ) = 246 cSign = "ü" ASC( cSign ) = 252 cSign = "Ä" ASC( cSign ) = 196 cSign ...
by Jimmy
Sun Aug 27, 2023 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 1927

Re: Acentos al enviar email

Carles/Jorge, haz las pruebas, Cambia la letra en formato Ansi/Oem(ASC) a normal. Cambia el nombre de la función a: CAMBIAR_LETRAS()

Cual éS el ASC de � ?? Comprendes?

Gracias.

Regards, saludos.
by karinha
Sun Jul 16, 2023 6:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Acentos al enviar email
Replies: 6
Views: 331

Envió de teclas/pulsaciones a una aplicación externa.

... y carácter a carácter intento enviarlo a la pantalla (antes ya me he posicionado en el 'get' del whasapp), mediante los códigos que proporciona ASC(). Le he metido trazas y parece que lo estoy haciendo bien, para una 'a' envía el código 97 y en pantalla muestra el número 1, para otros caracteres: ...
by FiveWiDi
Wed May 31, 2023 2:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Envió de teclas/pulsaciones a una aplicación externa.
Replies: 2
Views: 226

New FTDN April/Abril 2023 (FWH 23.04)

... [bBlock/naCols] ) for multi-column sort. 4th Parameter: -nil/codeblock: functionality is exactly same as ASort(...) -nColNo: Sortede on nColNo asc if +ve and desc if -ve. -aCols: Array of column numbers or codeblocks. Multi-column sort is performed on the column numbers in the array. Asc if ...
by Antonio Linares
Tue May 02, 2023 7:08 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1678

Re: incremental search with array

... solucion es la siguiente: Crea una CLASSDATA lAllowAsterics INIT .F. en la clase y en la linea 3867, sustituye elseIf nKey > 31 .and. nKey != Asc( '*' ) .and. nKey != Asc( '?' ) por elseIf nKey > 31 .and. ( nKey != Asc( '*' ) .or. ::lAllowAsterics ) .and. nKey != Asc( '?' ) Al comienzo ...
by cnavarro
Thu Jan 19, 2023 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: incremental search with array
Replies: 4
Views: 389

Re: Ctrl + T and bKeyDown

Dear Jimmy,

if GetKeyState( VK_CONTROL ) .and. ( nKey == Asc( "t" ) .or. nKey == Asc( "T" ) )

nKey is the key value that was pressed
by Antonio Linares
Mon Dec 26, 2022 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ctrl + T and bKeyDown
Replies: 4
Views: 216
Next

Return to advanced search