add addres-list in 6.43.16 and older

This works and was just posted some days ago by me. http://forum.mikrotik.com/t/script-for-adding-dns-entries-to-an-address-list-fails/138932/4

{
:local newIP 192.168.0.1
if ([:len [/ip firewall address-list find where address=$newIP list=Control]]=0) do {
	/ip firewall address-list add address=$newIP list=Control
	:put ("added entry: $newIP")
}
}

If IP already exists in an address list, just adding it will fail. Doing a test first, makes all works fine.
Testet in 6.45.8 and 6.47 beta

PS the outer {} is just to make it run when you cut/past to terminal windows.