Saturday, December 28, 2013

LOVE LETTER TO FILIPINOS - By David H. Harwell, PhD

A friend shared this to me in my facebook account.  It hit the spots in my heart and so I decided to share it here as well.  A very touching message, we thank you David!

A sentimental open letter from an American teacher to the Filipino people (Pls. take time to read this)

LOVE LETTER TO FILIPINOS
By David H. Harwell, PhD




I am writing to thank Filipinos for the way you have treated me here, and to pass on a lesson I learned from observing the differences between your culture and mine over the years.

I am an expatriate worker. I refer to myself as an OAW, an overseas American worker, as a bad joke. The work I do involves a lot of traveling and changing locations, and I do it alone, without family. I have been in 21 countries now, not including my own. It was fun at first. Now, many years later, I am getting tired. The Philippines remains my favorite country of all, though, and I’d like to tell you why before I have to go away again.

I have lived for short periods here, traveled here, and have family and friends here. My own family of origin in the United States is like that of many Americans—not much of a family. Americans do not stay very close to their families, geographically or emotionally, and that is a major mistake. I have long been looking for a home and a family, and the Philippines is the only place I have lived where people honestly seem to understand how important their families are.

I am American and hard-headed. I am a teacher, but it takes me a long time to learn some things. But I’ve been trying, and your culture has been patient in trying to teach me.

In the countries where I’ve lived and worked, all over the Middle East and Asia, it is Filipinos who do all the work and make everything happen. When I am working in a new company abroad, I seek out the Filipino staff when I need help getting something done, and done right. Your international reputation as employees is that you work hard, don’t complain, and are very capable. If all the Filipinos were to go home from the Middle East, the world would stop. Oil is the lifeblood of the world, but without Filipinos, the oil will not come from the ground, it will not be loaded onto the ships, and the ships will not sail. The offices that make the deals and collect the payments will not even open in the morning. The schools will not have teachers, and, of course, the hospitals will have no staff.

MKDirs - Create Folder and Missing Sub-Folders in one go!

Well I posted this inside foxite last time as a fellow member is wondering how it can be done.   Suppose you want to create a folder and several sub-folders like this?

c:\mine\sub1\sub2\my sub3\sub4\sub sub\ too deep or not \how.about now\maybe this time

MD will fail in some of those sub-folders with spaces or dots, or in other words it will be able to create sub-folders only up to a certain extent.

This simple function I named MKDirs fixes that problem using only stock VFP commands and functions.


*******
* Author: Jun Tangunan
* Date: December 19, 2013
*
*******
Function MKDirs(lcFolder,llUNC)
*******
Local lnSub, lnLoop, lcDir
lnSub = Getwordcount(m.lcFolder,'\')
lcDir = ''
For lnLoop = 1 To m.lnSub
      lcDir = m.lcDir + Getwordnum(m.lcFolder,m.lnLoop,'\')+'\'
      If m.llUNC
            lcDir = '\\'+lcDir
            llUNC = .F.
      Endif
      Try
            Mkdir (m.lcDir)
      Catch
      Endtry
Next
Return


To use this is something like this:

Local lcFolder
lcDir = 'c:\one\two\three\ sample \with. space'
If !Directory(m.lcFolder,1)
      MKDirs(m.lcFolder)
Endif

Or for a UNC path, pass .T. to the second parameter

Local lcFolder
lcDir = '\\shornsrvr\fcms\one\two\three\ sample \with. space'
If !Directory(m.lcFolder,1)
      MKDirs(m.lcFolder,.T.)
Endif

Cheers!