Re: History of programming



HeyBub wrote:
Pete Dashwood wrote:
"HeyBub" <heybub@xxxxxxxxxxxxxxx> wrote in message
news:x_idndRflMl5LZnXnZ2dnUVZ_oydnZ2d@xxxxxxxxxxxxxxxx
Example:

"1959 - After losing a bet with L. Ron Hubbard, Grace Hopper and
several other sadists invent the Capitalization Of Boilerplate
Oriented Language (COBOL) . Years later, in a misguided and sexist
retaliation against Adm. Hopper's COBOL work, Ruby conferences
frequently feature misogynistic material."

http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html

LOL!

BTW, if you are still grappling with Cyrillic, I came across some
components that are free and will do what you want. Check out:

http://www.chilkatsoft.com/refdoc/xChilkatCharset2Ref.html

This is more comprehensive than a similar component I have so I
downloaded it and tried it from C#. It is excellent. In the example
strings they show for instantiating the object, a correction is
needed for PowerCOBOL or Fujitsu NetCOBOL, as follows:

01 CKProgID pic x(16) value "Chilkat.Charset2". *> examples show
this as "Chilkat.Charset"...
01 objCKCharset OBJECT REFERENCE COM.
01 unlock-string pic x(20) value "This can be anything".

invoke com "CREATE-OBJECT"
using CKProgID
returning objCKCharset
end-invoke
invoke objCKCharset "UnlockComponent"
using unlock-string
end-invoke

(Remember to reference *COM in the REPOSITORY...)

There is also a string component available from the same outfit:

http://www.chilkatsoft.com/download/CkString.zip

... it also needs a correction for Fujitsu...

01 CKstrProgID pic x(16) value "Chilkat.CKString.1". *> examples
show this as "Chilkat.String"...
01 objCKString OBJECT REFERENCE COM.

invoke com "CREATE-OBJECT"
using CKstrProgID
returning objCKString
end-invoke

(Remember to reference *COM in the REPOSITORY...)

And a very interesting example which uses both of the components
here: http://www.example-code.com/vb/vb6-display-unicode.asp

I think that with these two components you should be able to solve
all of your language concerns.


Thanks for the pointers.

I still can't figure out how to get Cyrillic characters out of a
PowerCOBOL text box.

I thought the text box was showing question marks?

Presumably, you have set the font properties of the Text Box to be Cyrillic?

If you have solved that and it now shows correct Cyrillic characters, you
just need to move the Text property to a Unicode string. (the CKString noted
above would be ideal as it has methods you can use to convert the string.

It isn't clear exactly what the problem is, Jerry.

Pete.
--
"I used to write COBOL...now I can do anything."


.



Relevant Pages

  • Re: Server Error: Object reference not set
    ... "SAL" <SAL@discYou are using uploadFile control to access your uploaded ... Object reference not set to an instance of an object. ... public void Upload_click ... Line 32: string test = uploadFile.PostedFile.FileName; ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server Error: Object reference not set
    ... "SAL" <SAL@discYou are using uploadFile control to access your uploaded ... Object reference not set to an instance of an object. ... public void Upload_click ... Line 32: string test = uploadFile.PostedFile.FileName; ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server Error: Object reference not set
    ... You are using uploadFile control to access your uploaded file, ... Object reference not set to an instance of an object. ... public void Upload_click ... Line 32: string test = uploadFile.PostedFile.FileName; ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [ASP.Net2] Object reference not set to an instance of an object.
    ... Object reference not set to an instance of an object. ... virtualPath, Type requiredBaseType, HttpContext context, Boolean ... String requestType, VirtualPath virtualPath, String physicalPath) +31 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to identify cyrillic characters in String?
    ... Whether my String has cyrillic characters in it? ... You will likely discover the range 0x400 .. ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.programmer)