Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    What happened to 'struppercase'??

    SDK Help
    0
    3
    1.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 31/10/2002 at 04:57, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.012 
      Platform:      Mac OSX  ; 
      Language(s) :   C.O.F.F.E.E  ;   XPRESSO  ;

      ---------
      In V8 COFFEE doesn't seem to know 'struppercase' which I use for the automatic name search in some of my plugins to keep the name search not case sensitive. Is it reincluded in the official release (I have only my early bird yet.) or will it be in a future release? Is there an alternative?
      Well, and thinking about it, how can I include those 'link boxes' I may use with the user data in my dialog layouts?

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 31/10/2002 at 10:42, xxxxxxxx wrote:

        Quote: Originally posted by Fabian on 31  October 2002
        >
        > * * *
        >
        > In V8 COFFEE doesn't seem to know 'struppercase' which I use for the automatic name search in some of my plugins to keep the name search not case sensitive. Is it reincluded in the official release (I have only my early bird yet.) or will it be in a future release? Is there an alternative?
        I cannot find this in the old documentation. Perhaps it was a private function. I believe it had this interface: (The same as String::ToUpper() in C++.)

            
            
            struppercase(str)  
            {  
              var i;  
              for (i = 0; i < sizeof(str); ++i)  
              {  
                if (str[i] >= 97 && str[i] <= 122)  
                {  
                  str[i] -= 32;   
                }  
              }  
              return str;  
            }
            
            
            
            
            main(doc,op)  
            {  
              var str = "hello";  
              println(str + " => " + struppercase(str));  
            }
        

        > Well, and thinking about it, how can I include those 'link boxes' I may use with the user data in my dialog layouts?
        Could you be a bit more specific? None of the new user interface elements, including the attributes manager, can be used by C.O.F.F.E.E. code in 8.012.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 31/10/2002 at 13:24, xxxxxxxx wrote:

          Hi Mikael,
          thanks for the quick reply. I'll try that tomorrow. I Think I got the 'struppercase' thing from one of your replies when I tried to implement an automatic name search in the first place. I don't know if it ever was officially part of the COFFEE sdk but it worked just fine since version 6.

          None of the new user interface elements, including the attributes manager, can be used by C.O.F.F.E.E. code in 8.012.

          Well, that's a pity. Does that mean, I can't add data to tags that appear in the attributes manager?

          Thanks again!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post