Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Steviebone

    modified fgets() function

    One last PS: sorry Olaf, i am tired and my typing not so good, didn't mean to call you Olga :( my bad
  2. Steviebone

    modified fgets() function

    OLGA: Let me be clear, I wasn't dissing you're comments. The ALINES approach is most elegant and by far the better method if coding from scratch. I experimented with it today and it was a thing of beauty, flexible and fast. Again, if I had only known about it back in the day! PS: Alas I feel...
  3. Steviebone

    modified fgets() function

    I know I'm right... :) I been using the same prgs to process massive files (statutes, laws and codes) for more than 15 years. I'm not sure what version the change happened in... I just know that v5=no error, I can read 500000 bytes if I want. V9= anything over 8192 generates an error msg. It's...
  4. Steviebone

    modified fgets() function

    Here is the answer: FGETSEX() from VFP2C32.FLL (http://vfpx.codeplex.com/wikipage?title=VFP2C32&referringTitle=Home) does not have 8192 chars limitation. this fll library is full of useful stuff and the replacement fgets works without the 8192 limt. Thanks to Pavel Celba at the msdn forum...
  5. Steviebone

    modified fgets() function

    Alines shows some promise if all else fails... Funny, been writing FP code for more than 20 years and never fully appreciated this function... :) thanks,. Would still prefer a one to one fix, however I may be able to code an fgets replacement that simply acts on the array instead of a file ptr...
  6. Steviebone

    modified fgets() function

    @mike lewis: of course I experimented with fread and other means of reading the entire file into memory and then processing. The problem with that method is that the native fp routines for processing chr by chr are just too slow. I'm simply looking for a way to make the old programs run in vfp9...
  7. Steviebone

    modified fgets() function

    @danfreeman: Im not kidding about the 8192. I have both versions of foxpro running. I have been using these programs for more than 13 years. When I upgraded to v9 the programs broke because of the limit. In previous versions (vfp5) you could specify the max return size as the third argument. In...
  8. Steviebone

    modified fgets() function

    Thanks in advance to anyone that can help me. I need to run some FoxPro programs that make extensive use of the fgets() function. These programs were written some years ago and unfortunately Microsoft altered the function in later versions limiting its maximum length return to 8192 bytes...
  9. Steviebone

    inserting no break space in DOM textnode

    muchas gracias seniors! wow, never seen such quick response... it is much appreciated var sp1_suffix = document.createTextNode(String.fromCharCode(160)+"(" + zno + ")" ); seemed to to do the trick... haven't tested it thoroughly in every browser yet tho... thanks monsake!
  10. Steviebone

    inserting no break space in DOM textnode

    How do u insert a literal such as   in a DOM textnode using javascript? In this code: var sp1_sup = document.createElement("sup"); var sp1_suffix = document.createTextNode(" (" + zno + ")" ); sp1_sup.appendChild(sp1_suffix ); the literal string is printed.. how do I get...

Part and Inventory Search

Back
Top