Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by CarlM

  1. C

    Concatenating strings in a BTM

    No, it's not that you should have been able to figure it out. It is that the documentation in general is poor. This particular issue is documented, but it is very hard to find because the index is also poor. I hope it gets improved.
  2. C

    How to? Select 100 random pictures from 30,000

    I have about 30,000 pictures on a HD. I want to randomly copy about 100 to another folder. Then I will copy them to a memory card so can view them on a dedicated picture display.
  3. C

    Maximum length for a variable

    Vince, your test was not as fatal as mine - with yours, TCC restarted. With mine, it never came back. ;-)
  4. C

    Xreplace fails on big string

    My program to process text files with CRLF at the end of each line has hit a snag. Statements like these fail: SET record_new=%@XREPLACE[\r\n\r\n,jjjj,%record] when %record is around 8,773 bytes or larger. The statements work fine when the string is smaller. I replaced all my @XREPLACE with...
  5. C

    Maximum length for a variable

    Thanks. I dug into it and it was @Xreplace that failed. When I changed all my Xreplace to Rereplace, everything worked. :-) I'll post a note to the Plugins forum.
  6. C

    Upgrade to v19.10.42 fails

    Is the Manual PDF updated when the online Help is updated, as in this release?
  7. C

    Maximum length for a variable

    My program to reformat text files reads the entire fire into a variable. Program works fine, but when it hit a file that was 8,773 bytes, TCC gave up the ghost. (Windows reported it; TCC was already dead.) I have a work around, but am curious what is the maximum size for a variable? Can it be...
  8. C

    Upgrade to v19.10.42 fails

    Thank you. That fixed it. Next time I'll wait for the email announcement.
  9. C

    Upgrade to v19.10.42 fails

    I am on Windows 7 64 bit. Today I upgraded from v19.02.37 x64 to v19.10.42 x64. I had Everything installed on the older version. In the upgrade, I got a message that some files needed to be closed. I closed a bunch, and the upgrade completed. Then I could not run TCMD. I got the message detailed...
  10. C

    Xreplace bug

    Then what is the difference between Rereplace and Xreplace?
  11. C

    @replace and @xreplace problems

    Thanks, guys. I'll study them.
  12. C

    Xreplace bug

    Vince, I've done regex in Perl (albeit a while ago). Does Rereplace *require* the use of back reference expressions? Can I do ordinary regex in it?
  13. C

    Xreplace bug

    Mmmm, good thought. I tested it, and you're right: SET record_new=%@XREPLACE[jjjj,\n\n,%record_new] works correctly. However, the code I use to set up the substitution is: SET record_new=%@XREPLACE[\r\n\r\n,jjjj,%record] which has been working. If I change it to test your theory, to be: SET...
  14. C

    Xreplace bug

    My 4utils64.dll is dated 2-4-16. My TCC is v19.02.37 x64 The following line: SET record_new=%@XREPLACE[jjjj,\r\n\r\n,%record_new] produces, where every jjjj was: rCRLFrCRLF It should produce CRLFCRLF
  15. C

    @replace and @xreplace problems

    Unless I am missing something, there seems to be a bug (or maybe its WAD !ugh!) in @replace when the end of the file has CRLF or CRLFCRLF.Or maybe I don't understand how variables are handled internally. The many text files I want to process have a CRLF (Carriage Return Line Feed) at the end...
Back
Top