I need a space between commas in a comma delimited file--> thanks John Pickering :)

mmorgan@accubanc.com mmorgan@accubanc.com
Tue, 19 Oct 1999 12:59:21 -0500




thanks to John Pickering, and all who submitted, here is the solution:

>how about:

>define x char*10 = tru(some_field) + "," &
>  if "" ne some_field else " ," ; that's blank comma
>define y char*10 = tru(other_field) + "," &
>  if "" ne other_field else " ," ; that's blank comma
> ; repeat this for all 75 fields :-(

>define dataline char*100 &
> = tru(x) + tru(y) + ... all the rest


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.