Raised This Month: $ Target: $400
 0% 

Creating and Deleting Variables at run time?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
pRED*
Join Date: Dec 2006
Old 12-20-2006 , 19:45   Creating and Deleting Variables at run time?
Reply With Quote #1

Hey

Is there any way to create and delete variable at run time? Similar to malloc in C/C++

The plugin I am working on makes two different query_client_cvar calls and then prints the results to console on the same line.
As far as I can tell this means that I have to store the results from the first call in a global variable until the second one has been done and then print both results at the same time.

I would prefer to find a way to avoid using global variables since they will only be used very rarely and will just waste space the rest of the time.

Thoughts?
pRED* is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode