function suniq (arr)
table.sort(arr)
n = 1
while arr[n+1]~=nil do
if arr[n+1]==arr[n] then table.remove(arr,n+1)
else n = n+1 end
end
end
table.sort(arr)
n = 1
while arr[n+1]~=nil do
if arr[n+1]==arr[n] then table.remove(arr,n+1)
else n = n+1 end
end
end
Image with relative file path:

Lua code test (not sure about yellow text on beige background tho...)
Aw, those floats are a bit fickle to use...
Shucks, the "style" and "link" tags are also removed by safehtml, so the "Click to Play" button doesn't show.... *grumble*
How about this workaround..?
| Looping Julian. Simple looping animation of an xform rotation with variable speed, following a sigmoid (hyperbolic tangent) ramp. |
Oh gee...now the whole table becomes a play button..
Well That seems to work Ralf
let's try some objective-c
- (void)setColourPreview:(NSImage *)image {
if(image != nil) {
[image retain];
}
[_colourPreview release];
_colourPreview = image;
}
if(image != nil) {
[image retain];
}
[_colourPreview release];
_colourPreview = image;
}
CategoryWiki
There are no comments on this page. [Add comment]