Test your formatting skills here.




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

Image with relative file path:
image

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;
   
}







CategoryWiki

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki . Install WikkaWiki