Array Problem -LC 7.0.1

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Array Problem -LC 7.0.1

Post by MaxV » Tue Nov 10, 2015 10:32 am

RossG wrote: Now, how do I "neutralize" the array?
delete array36
doesn't work.
The correct code is:

Code: Select all

put empty into array36
I suggest you to read this: http://livecode.wikia.com/wiki/Arrays
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Array Problem -LC 7.0.1

Post by dunbarx » Tue Nov 10, 2015 3:10 pm

You can also use the "delete variable" command. see the dictionary.

Craig

RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

Re: Array Problem -LC 7.0.1

Post by RossG » Tue Nov 10, 2015 10:06 pm

The short answer to my problem is (was) a virus.

When I tried to run the compiled programme
Avast Antivirus popped up to inform me that
it was infected and deleted it.

I accepted its offer of a complete scan and the
result was amazing. For the best part of four
hours the list of infected files moved slowly
up the screen. Those infected included most
of my carefully preserved back-ups and even
the System Volume Information of my numerous
partitions.

As each file moved up the word "Deleted" was
appended to each one. In my ignorance I thought
this mean the file, rather than the infection, had
gone.

I was delighted to find that I was wrong and my
computer is now working normally.

The moral of this story: good virus protection
and a good malware scanner e.g. Malwarebytes
(which can co-exist with Avast).

The question I have is not how the virus arrived
but why didn't Avast pick it up sooner.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

Post Reply