Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper > Re: Umltg.prg
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 8 Topic 3851 of 3904
Post > Topic >>

Re: Umltg.prg

by "AUGE_OHR" <AUGE_OHR_NOSPAM_@[EMAIL PROTECTED] > Feb 26, 2008 at 07:56 PM

hi,

> anyone wrote UMLTG.PRG for printing within clipperapps

are you German ? i think UMLTG -> "Umlaute" ?
which Way you want to "convert" your "Umlaute"
a.) OEM -> ANSI
b.) ANSI -> OEM
*** snip ***
FUNCTION Umlaute(cString)
//
// german OEM -> ANSI
//
LOCAL aOEM  := { Chr(142), Chr(132), Chr(153), Chr(148), Chr(154),
Chr(129),CHR(225) }
LOCAL aAnsi := { Chr(196), Chr(228), Chr(214), Chr(246), Chr(220),
Chr(252),
"ss" }
LOCAL i,iMax
LOCAL nPos

   iMax := LEN(cString)
   FOR i:= 1 TO iMax
      nPos := ASCAN(aOEM,SUBSTR(cString,i,1) )
      IF nPos > 0
         cString := STRTRAN(cString,aOEM[nPos],aAnsi[nPos])
      ENDIF
   NEXT
RETURN cString
*** eof ***
greetings by OHR
Jimmy




 8 Posts in Topic:
Umltg.prg
"Eckhard Sallermann&  2008-02-26 14:28:06 
Re: Umltg.prg
"AUGE_OHR" <  2008-02-26 19:56:33 
Re: Umltg.prg
"Eckhard Sallermann&  2008-02-27 09:16:09 
Re: Umltg.prg
"AUGE_OHR" <  2008-02-27 18:00:50 
Re: Umltg.prg
"Eckhard Sallermann&  2008-03-04 08:49:36 
Re: Umltg.prg
"N:dlzc D:aol T:com   2008-03-04 05:59:36 
Re: Umltg.prg
cherszage@[EMAIL PROTECTE  2008-03-04 06:37:19 
Re: Umltg.prg
"Eckhard Sallermann&  2008-03-05 17:07:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 5:10:22 CDT 2008.