Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
StrToFile Equivalent in FPD26?
Message
From
10/02/2003 13:19:55
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00751416
Message ID:
00751526
Views:
22
It works when I store a .prg's contents in it that are up to 128 lines so far. Actually, since we only use FPD26 and VFP7/VFP8 I should be okay as far as the versions go. I have the Hacker's Guide at home so I cannot check it here at work. What is the limit of FPUT? Do you know off the top of your head? During testing, I was reading the memo field line by line and writing it to the .prg file that way, but then when I tested it reading it all in at once and writing it all at once, it worked so I changed it. Guess I'll change it back to be safe.

Tracy

>Hi Tracy,
>
>First of all, I would write a function called StrToFile26 (but I'm not sure you can do #define STRTOFILE StrToFile26 - you have to come up with some clever idea of using correct method).
>
>[Question: do VFP native functions have precedance always?]
>
>Secondly, is you mcode only one line? Check out FPUTS/FWRITE limitations in Hacker's Guide.
>
>Finally, VFP5 doesn't have StrToFile either...
>
>>You are right, it works with FPUTS, etc.
>>Thanks Nadya,
>>Tracy
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform