releasing space of a variable and amount issues

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
phao
Grandmaster Poster
Posts: 129
Joined: Fri Aug 31, 2007 2:25 pm

releasing space of a variable and amount issues

Post by phao »

need to destroy a variable, stop using it, release space, i dont know how you guys call it, but i need something like

free(variable);

is there some way?
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

Austin is sometimes in the habit of removing the contents, such as at the start of his email.src script:

Code: Select all

program EmailClient(params)
	var mobile := params[1];
	var box_id := params[2];
	var send_to := params[3];
	var subject := params[4];
	var message := params[5];
	params := 0; // Not needed anymore.

That's as close as I've seen. You may not be able to release the variable name and the pointer, but you can remove the data.
Post Reply