is there a test function to find out if a cellviewID has bee

  • Thread starter Nicolas Perrier - PMC Sie
  • Start date
N

Nicolas Perrier - PMC Sie

Guest
Suppose I assign a cellview to a variable:

cv = geGetEditRep()

;;; somehow the cellview gets closed (purged from memory)

cv ==>
db:28354543
cv~>?
dbGetq: Object is a purged/freed object - db:28354543

How can I test if 'cv' is purged ? I'm looking for something like
isPurgedP(cv)

thanks!
Nicolas
 
Nicolas Perrier - PMC Sierra Inc <nicolasperrier@gmail.com> writes:

Suppose I assign a cellview to a variable:

cv = geGetEditRep()

;;; somehow the cellview gets closed (purged from memory)

cv ==
db:28354543
cv~>?
dbGetq: Object is a purged/freed object - db:28354543

How can I test if 'cv' is purged ? I'm looking for something like
isPurgedP(cv)
dbValidP(cv)

--
Jean-Marc
 
I believe dbIsId(cv) will do what you want.

Stéphane


Nicolas Perrier - PMC Sierra Inc wrote:
Suppose I assign a cellview to a variable:

cv = geGetEditRep()

;;; somehow the cellview gets closed (purged from memory)

cv ==
db:28354543
cv~>?
dbGetq: Object is a purged/freed object - db:28354543

How can I test if 'cv' is purged ? I'm looking for something like
isPurgedP(cv)

thanks!
Nicolas
 

Welcome to EDABoard.com

Sponsor

Back
Top