SDK IsSelected Example

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

On 18/03/2003 at 07:28, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.012 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Not a bug, but a doc mistake:
BaseSelect Class, IsSelected() variable example is:
LONG seg=0,a,b,i;
  
  while (bs->GetRange(seg++,&a,&b)
  {
    for (i=a; i<=b)
    {
      // ... do something - i is the selected element
    }
  }

But it should be this to work at all:
LONG seg=0,a,b,i;
  
  while (bs->GetRange(seg++,&a,&b))
  {
    for (i=a; i<=b;i++)
    {
      // ... do something - i is the selected element
    }
  }
Haven´t I already reported this some time ago?...

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

On 18/03/2003 at 08:50, xxxxxxxx wrote:

Maybe, it is a minor typing error in a rather large complex document, I'm sure it will be corrected, do you remember where you reported it?

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

On 18/03/2003 at 08:59, xxxxxxxx wrote:

where I reported it? Well, in a place we both have access too 😉
yes it surely is a typing error but it still should be corrected 🙂

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

On 23/05/2003 at 03:48, xxxxxxxx wrote:

Sorry, this wasn't fixed in the third edition of the docs. But it is now fixed in the database for the next edition... 🙂

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

On 23/05/2003 at 10:05, xxxxxxxx wrote:

thanks 🙂