>>>
>>>btw, manual weighs in at 37.95 lbs.... ;~)
>>
>>
>>Bad news....VFP no longer supports the LOAD command. Here's the situation:
>>
>>We have an area here which is working on a VFP/Sybase system that has to create a (delimited by stars [EDI > format]) text file. Rather than do the manipulation within Fox, a new hire here decided to do it in C. Unfortunately, this person THOUGHT they knew more C than they do, but rather than re-write the code in Fox (approximately 2 hours worth of work), they are trying to make this bleedin' piece of C work.
>>
>>Major stumbling block is they need to pass parameters back and forth to the C program.
>>
>>Sadly, *MY* original Foxpro manuals were misappropriated by an old roommate (why, I don't know - she wasn't a programmer), and from the sounds of it, I hallucinated that portion of it. Perhaps in the Library builder??
>
>maybe she needed a weight for pressing flowers!!??
>
>two hours to change * to , ..... you must be kidding?
>
>
>open text file
>create output text file
>read input text file into string_variable
>
>do while not eof(text file)
> output_string = ""
> for i = 1 to len(string_variable)
> if substr( string_variable, i, 1 )="*"
> output_string = output_string + ","
> else
> output_string = output_string + substr( string_variable, i, 1)
> endif
> next i
> write output_string to output file
> read next string_variable
>enddo
>close all
>end
>
>
>send check payable to Warwick Information Technology! Thanks for your business.... ;~) low level file i/o routines are great!
Lucien:
Note the place where I work! Of COURSE it will take 2 hours to convert!
1.5 hours for the committee to DECIDE to do it
.5 hours for the coding and testing
[donchajustLOVEbureaucracy :)]
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place