Hey all,

Quick Mumps question.  I have a loop like this:

-------------------
MyFunct()

  new MyVar

Label1
  kill MyVar    ;<---- should this be new MyVar?
  set result=$$Func2(.MyVar)

  goto Label1
-------------------

I want to ensure that any old data from a previous
loop is cleaned out before calling Func2.  Should I
use 'new' or 'kill' each time?  What is 'new' really
doing?  Allocating memory?  If so, then I don't want
to repeatitively use up memory.  On the other hand, if
I use kill, then I think I would get an error trying
to pass a non-existant variable.

Thanks
Kevin


                
_______________________________
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Hardhats-members mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to