Search found 35 matches: cchar

Return to advanced search

Re: add fields to existing dbf

... at a time set century on set date british set epoch to 1950 set deleted on if MsgGet( ctitle, cText, @cgroep, cBmpfile) cnaam=LEFT(cgroep,10) cchar=SUBSTR(cgroep,12,1) clenght=SUBSTR(cgroep,14,2) cdecim=RIGHT(cgroep,1) use verkoop copy to newverkoop structure extended use newverkoop replace ...
by jds
Thu Jul 23, 2020 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add fields to existing dbf
Replies: 7
Views: 1103

Re: xBrowse jpg in SQL-database

... oSay:SetText( LTRIM( STR( ROUND( (nX1/LEN(aImages))*100, 2), 9, 3) ) + "% Complete . . ." ) Sysrefresh() FOR nX2:=1 TO LEN(cTemp) cChar := SUBSTR(cTemp,nX2,1) IF (cChar=="-") .OR. (cChar=='.') EXIT ENDIF cItem += cChar NEXT nX2 IF ! EMPTY(cItem) //cSqlIns := [INSERT asset ...
by cdmmaui
Fri Nov 08, 2019 1:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse jpg in SQL-database
Replies: 19
Views: 2998

Re: Import Chinese Characters from XLS

... FUNCTION _SqlBuild( cSqlField, cSqlValue, cSqlType, cSqlString1, cSqlString2 ) local cTemp := "", cChar, nX, cPrefix := "" // String1.... IF ! EMPTY( cSqlString1 ) cSqlString1 += "," ENDIF cSqlString1 += cSqlField // String2... ...
by cdmmaui
Thu Feb 21, 2019 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import Chinese Characters from XLS
Replies: 4
Views: 949

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

... CharXOR(<cString1>,<cString2>)->cResult CheckSum(<cString>)->nCheckSum Chr(<nCode>)->cChar ClearBit(<nInteger>|<cHex>,[<nBitPos,...>])->nNewValue ClearEol([<nRow>],[<nCol>],[<xColor>],[<xChar>])->cNull ...
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: 5710

Ole unrecoverable error

... cWinResp := oHttp2:ResponseBody // Token ID... nPos := AT( "ACCESS_TOKEN", UPPER(cWinResp) ) lStart := .F. FOR nX0=nPos TO LEN(cWinResp) cChar := SUBSTR( cWinResp, nX0, 1 ) IF cChar==":" lStart := .T. ELSE IF cChar=="," EXIT ELSE IF lStart .AND. (! EMPTY( cChar )) ...
by cdmmaui
Thu Aug 24, 2017 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ole unrecoverable error
Replies: 2
Views: 899

MS SQL Dumb Question

... oError lError := .T. END ENDIF // Copy to history... IF ! EMPTY(cTxemail) // Init... cTemp := "" aEmail := {} FOR nX7=1 TO LEN(cTxemail) cChar := SUBSTR( cTxemail, nX7, 1 ) IF cChar=="," IF ! EMPTY( cTemp ) AADD( aEmail, cTemp ) ENDIF cTemp := "" ELSE cTemp += cChar ...
by cdmmaui
Tue May 10, 2016 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS SQL Dumb Question
Replies: 0
Views: 422

Re: FiveWeb

... := "" nRowMax := nMax // 13 nRowCnt := 0 IF 'LINK=' $ cQueryString lLink := .T. lStart := .F. cUID := '' FOR nX=1 TO LEN( cQueryString ) cChar := SUBSTR( cQueryString, nX, 1 ) DO CASE CASE cChar='=' lStart := .T. CASE cChar='&' EXIT CASE lStart cUID += cChar ENDCASE NEXT nX ENDIF ...
by cdmmaui
Sun Jan 25, 2015 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWeb
Replies: 71
Views: 16383

Re: Introducing FiveTech's fivedit

Crsitobal, De donde obtienes cChar ?      case nCode == SCN_CHARADDED           // 2001           cLine     := ::GetLine( nLine - 1 )      ...
by Antonio Linares
Thu Jan 22, 2015 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Introducing FiveTech's fivedit
Replies: 560
Views: 107328

Re: tipo de dato undefine al leer una planilla excel

... // This example shows all possible return values of Type() PROCEDURE Main PRIVATE aArray := { 1, 2, 3 } PRIVATE bBlock := {|x| 1+x } PRIVATE cChar := "xHarbour" PRIVATE dDate := Date() PRIVATE hHash := Hash() PRIVATE lLogic := .F. PRIVATE nNumber := 123.45 PRIVATE oObject := GetNew() ...
by Jeff Barnes
Tue Apr 29, 2014 4:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tipo de dato undefine al leer una planilla excel
Replies: 3
Views: 805

Re: Contar un caracter en archivo de texto

Adhemar,

Puedes usar la function StrCharCount( cString, cChar ) --> nTimes de FWH está implementada en C y es muy rapida :-)

Ojo que cChar ha de ser de tipo cadena, ej: Chr( 12 )
by Antonio Linares
Wed Sep 11, 2013 7:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Contar un caracter en archivo de texto
Replies: 16
Views: 3656

Re: XML viewer

Darrell,

I have not tried it but its simple and seems fine, just a missing local cChar at the top.

How do you know that the DBFs are corrupted ? Does your app reports it when it tries to use them ?

Please email me the corrupted DBF, thanks
by Antonio Linares
Fri Mar 08, 2013 10:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML viewer
Replies: 31
Views: 10900

Re: XML viewer

... FUNCTION _Clean( cXmlData ) local cReturn := "" , ; nX0 := 0 , ; lPass := .T. FOR nX0=1 TO LEN(cXmlData) cChar := SUBSTR( cXmlData, nX0, 1 ) IF (ASC(cChar)>31) .AND. (ASC(cChar)<127) cReturn += cChar ELSE IF "ABCHOU" $ Pmod cReturn += SPACE(1) ...
by cdmmaui
Thu Mar 07, 2013 12:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML viewer
Replies: 31
Views: 10900

Re: TReport, TPrinter y TDOSPRN a Word

... + CRLF ) return Self //----------------------------------------------// METHOD EsLine( cLong ) CLASS TRtfArch local cLine, cChar local n, nChar cLine := cLong for nChar = 1 to Len( cLine ) if Asc( cChar := SubStr( cLine, nChar, 1 ) ) > 127 FWrite( ::hArch, "\'" ...
by arturo tamayo
Fri Nov 05, 2010 12:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TReport, TPrinter y TDOSPRN a Word
Replies: 6
Views: 2917

Re: Juan Planelles Lazaga

//AHORA CUARTA PARTE Static Function Letras( nVal, cText, lInicio, lTrozo ) local n := 1, nLen, cChar := "", lVacio := .t. local cPrev := "", min, may, cTc, nIni := 0, nSp := 0 local lSi := .t., aChar, cEl := "", cCadena := "" DEFAULT ...
by Juan Planelles
Tue Dec 29, 2009 10:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6739

Re: Juan Planelles Lazaga

//TERCERA PARTE Static Function Justify( oGet, oLine, oPrn, nMargen, nMargend, nJustif, oFontW ) local nPos, cLine := "", cChar := " ", nWidthChar := 0, aOpt := {} local xxx := 0, nVez := 0, nJust := 0, nI, lSeguir := .t., n, nFont, aText, cLinea, cIni, nIni local cTx2, ...
by Juan Planelles
Tue Dec 29, 2009 10:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6739
Next

Return to advanced search