FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper I really need some help guys!
Posts: 22
Joined: Wed Nov 09, 2005 09:43 AM
I really need some help guys!
Posted: Wed Nov 09, 2005 09:47 AM

Hi, im new to this, havent had much experience and have come across a slight problem. im writing a program where i need to pad certain fields with trailing zeros, as the field will have values of varying length, but i have no idea how to do this, so any help would be great!

Thanks all. :oops:

(edit:Problem all sorted now, thanx for the help)

Posts: 54
Joined: Fri Oct 21, 2005 10:45 AM
I really need some help guys!
Posted: Wed Nov 09, 2005 12:18 PM

Maybe you should use function PAD[R]?
For example
MyVar := PADR( MyVar, TARGET_LENGTH ) // #DEFINE TARGET_LENGTH

Vladimir Grigoriev

Posts: 83
Joined: Tue Nov 08, 2005 11:09 AM
I really need some help guys!
Posted: Wed Nov 09, 2005 05:31 PM

deanomeano,

Your can use padr(), padl().
Plz provide sample data for others to help.

Regards
Hoe

Regards

Hoe, email: easywin3@yahoo.com

Continue the discussion