Search found 13 matches: valtoprgexp

Return to advanced search

Re: Convert

ValToPrg() and ValToPrgExp() are not useful for Objects and Codeblocks.
by nageswaragunupudi
Wed Sep 06, 2023 3:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert
Replies: 7
Views: 575

Re: Finding the elements of an array in another array

... part relating to lines and cubes (3d geometry), purely out of academic interest. We can use any of the functions hb_jsonEncode(), hb_ValToExp(), ValToPrgExp() of FW_ValToExp(). All these functions convert array to string making it easy for comparision. The above samples test whether the line ...
by nageswaragunupudi
Tue Aug 24, 2021 4:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding the elements of an array in another array
Replies: 9
Views: 834

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

Re: buildH.BAT more than 1 PRG ?

... CEILING(), BLANK(), DATETIME(), REMALL(), RANGEREPL(), __OLEVARIANTNEW(), HB_EXEC(), HB_REGEXREPLACE(), ATSKIPSTRINGS(), CHARONE(), REMLEFT(), VALTOPRGEXP(), HMERGE(), WILDMATCH(), NUMTOHEX(), WIDETOANSI(), I18N(), WIN_AXINIT(), WAPI_CREATEWINDOWEX(), WIN_AXGETCONTROL(), WAPI_OUTPUTDEBUGSTRING(), ...
by Jimmy
Sat Dec 21, 2019 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: buildH.BAT more than 1 PRG ?
Replies: 4
Views: 874

Re: funciones de FWH y Harbour en un archivo .txt

... Used()->lDfbOpen Val(<cNumber>)->nNumber ValPos(<cString>,[<nPos>])->nValue ValToPrg(<xValue>)->cPRGcode ValToPrgExp(<xValue>)->cMacroExpression ValType(<exp>)->cType Version()->cVersion VolSerial([<cDrive>])->nVolumeSerial ...
by rubenfernandez01
Sun Oct 22, 2017 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5719

Re: funciones de FWH y Harbour en un archivo .txt

... Used()->lDfbOpen Val(<cNumber>)->nNumber ValPos(<cString>,[<nPos>])->nValue ValToPrg(<xValue>)->cPRGcode ValToPrgExp(<xValue>)->cMacroExpression ValType(<exp>)->cType Version()->cVersion VolSerial([<cDrive>])->nVolumeSerial ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5719

Re: funciones de FWH y Harbour en un archivo .txt

... Tokennum TokenSep Tone TraceLog Transform Trim TrueName TtoC TtoS Type U2bin UnCompressString UnSelected UpDated Upper Used Val ValPos ValToPrg ValToPrgExp ValType Version VolSerial Volume W2Bin Wild2RegEx WildMatch Win_OleClassExists WMSetPos WoM Word WordOne WordOnly WordRem WordRepl WordSwap ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5719

Re: Multi dimensional Array, aSave, aRead

... complex arrays nested to any level. Cons: Does not work with DBFNTX or ADSCDX. #2) I personally recommend using FW_ValToExp( aData ) over using VALTOPRGEXP(). By using FW_ValToExp() we are confident that values written in xHarbour can be correctly ready by Harbour and vice-versa. We had to write ...
by nageswaragunupudi
Wed Nov 20, 2013 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dimensional Array, aSave, aRead
Replies: 5
Views: 1540

Re: Multi dimensional Array, aSave, aRead

I use valtoprgexp()

replace MemoField with valtoprgexp( aData )

then later

aData := &( MemoField )

This may be a xHarbour.com function but I am not sure.
by Gale FORd
Mon Nov 11, 2013 8:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi dimensional Array, aSave, aRead
Replies: 5
Views: 1540

Tim, > You can use ValToPrgExp( ), and then reverse the result with PrgExpToVal( ). I'm putting this in my notes. Keep us posted on your progress with this. >Is it wet enough yet ? Judging from the water in the cat food dish on ...
by James Bott
Sat Dec 01, 2007 12:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving an array
Replies: 13
Views: 2691

Arrays

I'll have to play with that. You can use ValToPrgExp( ), and then reverse the result with PrgExpToVal( ).

I did a search on the xHarbour newsgroup, and a search of the docs, but apparently didn't have the keywords to find those.

Thanks.

Is it wet enough yet ?
by TimStone
Sat Dec 01, 2007 12:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving an array
Replies: 13
Views: 2691

... December 02, 2004 9:13 AM > Is it possible write an array in a memo field with xHarbour or > Harbour? Yes, xHarbour has ValToPrg() and ValToPrgExp() which will save ANY TYPE (Even Objects) into a String. Ron
by James Bott
Sat Dec 01, 2007 12:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving an array
Replies: 13
Views: 2691

aca el codigo :-) SALD->TT_NOTAS := ValToPrgExp(aInfo[CP_DETALLE]) //aca se guarda cDetalle:=SALD->TT_NOTAS IF !Empty(cDetalle) aDetalle := &cDetalle IF ISARRAY(aDetalle) PROCEDURE ReporteDeSaldo_Proceso(lDetalle) LOCAL cId ...
by carlos vargas
Wed Sep 26, 2007 7:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Guardar Arreglos en campo de una tabla
Replies: 10
Views: 2480

Return to advanced search