Search found 53 matches: hhaskey

Return to advanced search

Re: random sentences generator

Dear Antonio, thank you very much. I added #xtranslate hb_HHasKey( [<x,...>] ) => HHasKey( <x> ) and translated: Tokenizer("The tomcat climbed the tree and meowed until the firefighter arrived.") Tokenizer("I like learning ...
by Otto
Thu Nov 30, 2023 9:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 716

Is there a PHP IsSet() in Modharbour

... part to <prg> mod harbour. PHP function IsSet() simply tells the script if a value exists in the POST hash like using hb_isHash( h ) .and. hhaskey( h, 'accept' ). Can someone help? <!DOCTYPE html><html>  <head>    <title>Buttons with Actions</title>    <style>  ...
by reinaldocrespo
Tue Mar 28, 2023 7:18 pm
 
Forum: mod_harbour
Topic: Is there a PHP IsSet() in Modharbour
Replies: 6
Views: 697

Re: Help with complex JSON

... ENDIF NEXT s aFacility := aCalls[r]["facility"] aTransport := aCalls[r]["transport"] if HHasKey( aFacility, "UNLocationCode" ) hChange[ "PortCode" ] := aFacility[ "UNLocationCode" ] else hChange[ "PortCode" ...
by cdmmaui
Wed Mar 22, 2023 2:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with complex JSON
Replies: 12
Views: 1255

Re: Validate JSON value

Code: Select all  Expand view

if hb_hHasKey( hCall[ "facility" ], "UNLocationCode" )
   ? "exists"
else
   ? "does not exist"
endif
 


xHarbour: hHasKey( ... )
by nageswaragunupudi
Thu Dec 08, 2022 3:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate JSON value
Replies: 2
Views: 245

Re: Busqueda al interior de un Archivo INI

hb_HHasKey(<hHash>, <xKey> [, @<nPos> ]) ➜ lExists returns .T. if <xKey> exists in the hash table and stores its ordinal position to @<nPos> which must be passed by reference to retain the stored position. If the key doesn’t exists then <nPos> will be the positio...
by cnavarro
Fri May 13, 2022 4:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busqueda al interior de un Archivo INI
Replies: 3
Views: 458

Re: Finding the caption of a Hash

... Local lReturn := .f. DEFAULT lValore := .f. DEFAULT lUpper := .t. IF lUpper xKey := upper(xKey) endif IF HB_ISHASH(hVars) .and. HHasKey( hVars , xKey ) IF lValore IF VALTYPE(hVars[xKey]) == 'N' .AND. hVars[xKey] > 0 lReturn := .t. ELSEIF VALTYPE(hVars[xKey]) == 'C' .and. ! ...
by Maurizio
Fri Apr 01, 2022 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding the caption of a Hash
Replies: 6
Views: 465

Re: Finding the caption of a Hash

The caption will be the value I put afther the PROMPT, but that way the value is not the label of the HASH I know that the keys are searchable with cZoek = "OFFERTE" if hb_HHasKey( hData, cZoek ) hApi["OFFERTE"]:cCaption is also giving the error. Normaly I put a Xbrowser as debug...
by Marc Venken
Fri Apr 01, 2022 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding the caption of a Hash
Replies: 6
Views: 465

Re: De xHarbour a Harbour

... Error: Unresolved external '_HB_FUN_OS_ISWTSCLIENT' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|MENU Error: Unresolved external '_HB_FUN_HHASKEY' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|FWDECODE Error: Unresolved external '_HB_FUN_GDIP_DELETEIMAGE' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|BITMAP ...
by JoseAlvarez
Mon Oct 04, 2021 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De xHarbour a Harbour
Replies: 35
Views: 3331

Re: nuevo en el fw Harbour

1) copie el two.prg que esta dentro del gccmake.prg a la carpeta bormake porque no lo trae (y en el test.mak hace referecia a two.c y two.obj), cambie las rutas e incluso las rutas dentro de los archivos CFG de borland. y al compilar con go.bat (que tambien cambie la ruta del make) me tira este erro...
by goosfancito
Wed Feb 03, 2021 1:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: nuevo en el fw Harbour
Replies: 5
Views: 645

Re: Errors with test.mak, FW 32 bit, bcc582

Got it. Typo in the config files. Now there's a ton of unresolved externals, but I should be able to figure that out. Error: Unresolved external '_HB_FUN_HB_FUNCPTR' referenced from C:\FWH\LIB\FIVEH.LIB|CHECKRES Error: Unresolved external '_HB_FUN_CTOT' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK ...
by FWExplorer
Sat Nov 28, 2020 12:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Errors with test.mak, FW 32 bit, bcc582
Replies: 4
Views: 580

xHarbour and hash functions

Hello, does xHarbour support hash functions? Best regards, Otto Hash table hb_Hash() Returns a hash table hb_HAllocate() Preallocates a hash table hb_HAutoAdd() Sets the 'auto add' flag for the hash table hb_HBinary() Sets the 'binary' flag for the hash table hb_HCaseMatch() Sets the 'case match' fl...
by Otto
Fri May 29, 2020 6:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour and hash functions
Replies: 2
Views: 762

Re: Mr. Nages please: HARU PDF Bugs/Extensions

Mr. Nages, now a use the METHOD PrintImage() as you recommending. If i use as uImage an existing bitmap-object, on tprinter is ok but in fwpdf i get this error: Called from: => HB_HHASKEY( 0 ) Called from: .\source\classes\FWPDF.PRG => FWPDF:GETIMAGEFROMFILE( 732 ) Called from: .\source\classe...
by byte-one
Thu Mar 05, 2020 1:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Nages please: HARU PDF Bugs/Extensions
Replies: 21
Views: 5669

Re: Sessions

Tengo una aplicación en clásico ASP. En sus páginas guardo información en cookies. En un PRG ejecuto la siguiente función y no puedo leer ninguna cookie. ¿Es así por diseño? function GetCookies() local hHeadersIn := AP_HeadersIn() local cCookies := If( hb_HHasKey( hHeadersIn, "Cookie" ), h...
by luiscambuston
Tue Mar 03, 2020 6:19 pm
 
Forum: mod_harbour
Topic: Sessions
Replies: 14
Views: 1940

Re: Compilando con Harbour 3.2, Bcc7 y Hbmk2

Armando estás intentando linkar las librerias de Fivewin para el compilador MinGw en lugar de utilizar las de Borland Es cierto. Estaba apuntando a las librerias para Mingw de Fwh, a pesar que todas las variables de entorno apuntaban a Harbour y Bcc7. Ya corregí; pero el arreglo ha resultado peor q...
by Armando Picon
Sun Jan 26, 2020 12:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilando con Harbour 3.2, Bcc7 y Hbmk2
Replies: 13
Views: 3246

Re: buildH.BAT more than 1 PRG ?

... HEVAL(), HSET(), TOLEAUTO(), CHARREM(), TOKENUPPER(), CHARREPL(), REMRIGHT(), OCCURS(), LOG10(), FLOOR(), CHARONLY(), NTOCMONTH(), BEFORATNUM(), HHASKEY(), ADDMONTH(), EOM(), TIMETOSEC(), OS_ISWTSCLIENT(), NUMAT(), ANSITOWIDE(), AFTERATNUM(), EXENAME(), TXMLDOCUMENT(), HSETCASEMATCH(), GETACTIVEOBJECT(), ...
by Jimmy
Sat Dec 21, 2019 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: buildH.BAT more than 1 PRG ?
Replies: 4
Views: 890
Next

Return to advanced search