Calvin Hsia's WebLog

thoughts from a professional developer

April, 2005

  • Calvin Hsia's WebLog

    Floating Point calculations: comparing with zero

    • 9 Comments
    I was asked about floating point calculations. In particular, I can write code like this: x= 3.4 y= 10 Result=x*y ?Result,Result= 34 IF Result= 34 ?"This code will execute if result = 34" ENDIF *Output is 34.0 .T. ...
  • Calvin Hsia's WebLog

    April Fool's Pranks

    • 6 Comments
    In the spirit of April Fool’s Day, I was talking to my daughter about some pranks that took place in my college days. I mentioned the abundance of liquid nitrogen and what happens to a flower immersed in it for a few seconds: it becomes very brittle and...
  • Calvin Hsia's WebLog

    Very Old Program

    • 9 Comments
    I was doing some spring cleaning and came across a computer printout of a program I wrote in August 1974, or about 31 years ago! That brings back a lot of memories. Coincidentally, a couple coworkers were discussing the CaSing of computer languages. What...
  • Calvin Hsia's WebLog

    Third Party application does work as a COM+ application

    • 2 Comments
    A few months ago, I reported a problem that a customer was having with a particular 3 rd party product that seemed not to work with Visual FoxPro. It was a COM object that could be instantiated via CreateObject. I was quite surprised that Windows...
Page 1 of 1 (4 items)