File:  [CSRG BSD Unix] / 43BSD / contrib / icon / libtest / t-image.icn
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

link "../ilib/image"

record foo(a,b,c)

procedure main()
   write(Image(""))
   write(Image(''))
   write(Image(10))
   write(Image([1,2,3]))
   write(Image(foo(1,2,3)))
   a := list(10,&cset)
   a1 := [a,]
   a1[2] := a1
   t := table()
   t["a"] := a
   t[t] := t
   t["a1"] := a1
   write(Image(a))
   write(Image(a1))
   write(Image(t))
   write("xxxxxxxxxxxx>")
   write(Imagex(""))
   write(Imagex(''))
   write(Imagex(10))
   write(Imagex([1,2,3]))
   write(Imagex(foo(1,2,3)))
   write(Imagex(a))
   write(Imagex(a1))
   write(Imagex(t))
end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.