HP Forums

Full Version: How to clear a list in a program?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I am using the lists L1 and L2 in a program.
Is there a way to clear the lists within the program, so that
L1 = {} and L2={}? I just don't want to do that by hand every time I run the program.

Thomas
(07-03-2015 08:26 AM)ThomasA Wrote: [ -> ]Hello,
I am using the lists L1 and L2 in a program.
Is there a way to clear the lists within the program, so that
L1 = {} and L2={}? I just don't want to do that by hand every time I run the program.

Thomas

something like this?
L1:= {};
L2:={};

Salvo
Hi Salvo,
thank you, it works - sometimes the simplest way is the hardest to find!

Thomas
(07-03-2015 12:08 PM)ThomasA Wrote: [ -> ]sometimes the simplest way is the hardest to find!

Thomas

I agree! Smile
Reference URL's