` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

ABC: Code to use FileManger to add to DOS files with bytecount
1999-02-23 -- Jim Kane
 
Newsgroups: TopSpeed.Topic.Suggestions > On the other hand, if someone can show me how to derive a new > FileManager class that supports writing variable-length records, I'd be > grateful. Press global, embeds, global objects, go to the hide:access class for the file your interested in pick the insert method and write your own code for insert with a bytecount. You might have to create a global variable to pass the bytecount if you dont want to change abfile.clw/inc to add a omittable parameter which would be my choice. Just end you code with return and the LIMITED abc code will never be called. You could also open abfile.inc and add your own insert method with an additional parameter. Due to mangling its different from the std insert call. You could then open abfile.clw and add your code there at the end. I would be quite easy then to copy to a new version of abfile when new versions are released. This would make it easier if this has to be done for many files or in many of your apps. --- Jim Kane


Today is November 21, 2024, 5:55 am
This article has been viewed 35391 times.
Google search has resulted in 11 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: