On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

Is there an iwpt_unload_dcr() ?

Just wondering . . .

In many of my index-generating templates, I make liberal use of the iwpt_load_dcr( ) function to suck in other DCRs that I grab info out of.

When I successfully load a dcr, I increment a counter like "$loaded_dcr++" and then make refrence the contents of this newly-loaded dcr like:

my $blah = dcr[$loaded_dcr].field_a.field_b.etc

For a couple reasons, I'm wondering if there's such a function as "iwpt_unload_dcr", the result of which would be to free up the dcr[] array (?) of all the content it just parsed. Is there a way to do this by manipulating some internals of the TeamSite:Smiley TongueT data structures?

I imagine that such a function is possible and might lead to simpler code and perhaps even quicker performance.

TIA,
Tom

Edited by tvaughan on 05/02/03 09:02 AM (server time).