Re: Card ID Numbers

2000-08-23 Thread Scott Raney

On Wed, 23 Aug 2000, Jacqueline Landman Gay wrote:

 Scott Raney wrote:
  
  On Tue, 22 Aug 2000, Gregory Lypny wrote:
  
I've got a couple of questions about card ID numbers.  First, do
   they start at 1000?  If not, what is the lowest number?
  
  1002
 
 Okay, I just gotta ask. One thousand two? Why two?
 
 Honest, I tried to ignore this question, but that little spot that hides
 behind the back of my brain wouldn't let me.

Historical accident, I think.  We reserved the first 1000 valid ids (1
to 1000) for the standard icons, cursors, patterns, and brushes.  So
stacks used to start at 1001 when dishing out ids and incremented this
value *after* creating an object.  Then we changed the behavior of
stacks so that their id property was the id of the most recently
created object (to simplify the SC converter, as I recall), which
pushed everything up by one.
  Regards,
Scott

 -- 
 Jacqueline Landman Gay| [EMAIL PROTECTED]
 HyperActive Software  |   [EMAIL PROTECTED]
 Custom hypermedia solutions   | http://www.hyperactivesw.com
 612.724.1596  |   612.724.1562 - fax


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Card ID Numbers

2000-08-22 Thread Scott Raney

mc
On Tue, 22 Aug 2000, Gregory Lypny wrote:

 Hi List Members,
 
  I've got a couple of questions about card ID numbers.  First, do 
 they start at 1000?  If not, what is the lowest number? 

1002

 Second, if a 
 card is deleted, can its ID number be later reassigned to another newly 
 created card?

No: ids are never reused.
  Regards,
Scott

  Regards,
 
   Greg
 
 
 
 
 _
 Gregory Lypny
 Associate Professor of Finance
 Concordia University
 
 _
 "Take chances, make mistakes!"
- Ms Frizzle, The Magic School Bus
 
 
 
 Archives: http://www.mail-archive.com/metacard%40lists.best.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.
 


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Card ID Numbers

2000-08-22 Thread Jacqueline Landman Gay

Scott Raney wrote:
 
 On Tue, 22 Aug 2000, Gregory Lypny wrote:
 
   I've got a couple of questions about card ID numbers.  First, do
  they start at 1000?  If not, what is the lowest number?
 
 1002

Okay, I just gotta ask. One thousand two? Why two?

Honest, I tried to ignore this question, but that little spot that hides
behind the back of my brain wouldn't let me.

-- 
Jacqueline Landman Gay| [EMAIL PROTECTED]
HyperActive Software  |   [EMAIL PROTECTED]
Custom hypermedia solutions   | http://www.hyperactivesw.com
612.724.1596  |   612.724.1562 - fax

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.