Bitmap/Oz: Difference between revisions

m
Fixed syntax highlighting.
(Extended Oz example.)
 
m (Fixed syntax highlighting.)
 
(One intermediate revision by one other user not shown)
Line 2:
 
<code>Array.oz</code>:
<langsyntaxhighlight lang="oz">functor
export
New
Line 80:
end
end
end</langsyntaxhighlight>
 
<code>Bitmap.oz</code>:
<langsyntaxhighlight lang="oz">%% For real task prefer QTk's images:
%% http://www.mozart-oz.org/home/doc/mozart-stdlib/wp/qtk/html/node38.html
 
Line 135:
{Array2D.transform Arr Fun}
end
end</langsyntaxhighlight>
 
<code>makefile.oz</code>:
<langsyntaxhighlight lang="oz">makefile(
lib:['Array2D.ozf' 'Bitmap.ozf']
)</langsyntaxhighlight>
9,476

edits