Search found 14 matches: toupper

Return to advanced search

Convertir a xHarbour

Como convierto este código de c# a xharbour. private string ValidarNit(string numeronit) { string nitvalido = null; numeronit = numeronit.ToUpper(); numeronit = numeronit.Trim(); //expresion regular que valida si el el string cumple con el patron del nit string strPatron = @"^[0-9]+-([K]|[0-9])$"; ...
by jponce
Wed Dec 19, 2012 9:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Convertir a xHarbour
Replies: 0
Views: 459

Re: autocomplete in get

... == VK_DELETE ::Assign() // Assign typed text case nKey >= 32 .and. nKey <= 256 dbseek(cStartTxt,.t.) cItem := field->FIRST if cItem = ToUpper(cStartTxt, ::nCase) // ADDED BY RAMESH BABU P on 19-06-2011 nLength := len( rtrim( cItem ) ) cItem += space( nLength - len(cItem) ) ::SetText( ...
by Maurizio
Thu Jun 23, 2011 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: autocomplete in get
Replies: 15
Views: 9170

Then try with toupper() without the underscore
by Antonio Linares
Sun Jul 27, 2008 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3202

if I try
char _toupper( char );
I get worning

unresolved external symbol '__toupper'
by kajot
Sun Jul 27, 2008 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3202

> if function _toupper() this the same function toupper() from ctype.h

Yes, probably
by Antonio Linares
Sun Jul 27, 2008 10:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3202

this is

DLL32 FUNCTION _OWersja(cFile1 AS LPSTR, cFile2 AS LPSTR ) AS WORD PASCAL LIB "WinIP.Dll"

if function _toupper() this the same function toupper() from ctype.h
by kajot
Sun Jul 27, 2008 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3202

I change
toupper(c)

and is OK

but I got worning in

declare DLL_TYPE_BYTE _OWersja(DLL_TYPE_LPCSTR cfile1, DLL_TYPE_LPCSTR cfile2) in WinIP.Dll

syntax error: "parse error at 'CFILE1'"
by kajot
Sun Jul 27, 2008 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3202

Try this one: char _toupper( char ); #pragma BEGINDUMP #include "string.h" #include "ctype.h" char _toupper( char ); char * strupr( char * string ) { char c, * p = string; while( ( c = * p ) != '\0' ) * ( p++ ) = _toupper( ...
by Antonio Linares
Sun Jul 27, 2008 8:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3202

thanks

I got worning

missing prototype for '_toupper'
by kajot
Sun Jul 27, 2008 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3202

tAutoGet de Maurilio Viana

... nKey == 13 .or. ; // Enter key nKey == 46 // Del key ::Assign() // Assign typed text case nKey > 31 FOR EACH cItem IN ::aItems nPosItem += 1 if ToUpper( cItem ) = ToUpper(cStartTxt) nLenght := len( rtrim( cItem ) ) cItem += space( nLenght - len(cItem) ) ::SetText( cItem ) ::SetSel( nPosCursor ...
by jose_murugosa
Sat Jan 19, 2008 1:11 am
 
Forum: Utilities / Utilidades
Topic: tAutoGet de Maurilio Viana
Replies: 0
Views: 1394

new fivewin unresolved externals MSVC

I have just purchased new version of FWH. I'm trying to compile and Link with MSVC++ 6.0 (I'm normally a borland user). The compile step works but the link step has many unresolved errors. I'm using buildxm.bat to compile one of the sample programs. What am I missing? Here are the errors: ┌ ...
by don lowenstein
Wed Aug 15, 2007 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: new fivewin unresolved externals MSVC
Replies: 5
Views: 4063

... // codice normalizzato string codice = this.Abi + this.Cab + this.ContoCorrente; // calcolo valori caratteri int somma = 0; char[] c = codice.ToUpper().ToCharArray(); for (int k = 0; k < (L_CONTO + L_ABI + L_CAB); k++) { int i = numeri.IndexOf(c[k]); if (i < 0) i = lettere.IndexOf(c[k]); ...
by Marco Turco
Wed Apr 12, 2006 2:35 pm
 
Forum: All products support
Topic: Calcolare il CIN di un conto corrente
Replies: 5
Views: 1784

... // codice normalizzato string codice = this.Abi + this.Cab + this.ContoCorrente; // calcolo valori caratteri int somma = 0; char[] c = codice.ToUpper().ToCharArray(); for (int k = 0; k < (L_CONTO + L_ABI + L_CAB); k++) { int i = numeri.IndexOf(c[k]); if (i < 0) i = lettere.IndexOf(c[k]); ...
by Marco Turco
Wed Apr 12, 2006 10:50 am
 
Forum: All products support
Topic: Calcolare il CIN di un conto corrente
Replies: 5
Views: 1784

... 0; i < ulLen; i++ ) szCopy[ i ] = (char) hb_cdp_page->s_upper[szText[i]&255]; else #endif for( i = 0; i < ulLen; i++ ) szCopy[ i ] = toupper( (BYTE) szText[ i ] ); szCopy[ i ] = '\0'; return szCopy; } /* converts szText to upper case. Does not create a new string! */ HB_EXPORT char ...
by jhncon
Thu Dec 15, 2005 12:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO: Antonio, TGet problem with WinXP Themes for 2 bytes?
Replies: 17
Views: 6111

Return to advanced search