[top][index]
search for:

peek2 -- examine contents of an object

peek2(s,n) -- displays contents of s to depth n, bypassing installed methods.

It applies the default output method to the object s, bypassing the installed method for objects of its class.

i1 : s = factor 112

      4
o1 = 2 7

o1 : Product
i2 : peek s

              4
o2 = Product{2 ,7}
i3 : peek2(s,2)

o3 = Product{Power{2,4},Power{7,1}}

See also:

  • peek -- examine contents of an object
  • Class of returned value: Net -- the class of all nets and stringsWays to use peek2 :

  • peek2(Sequence,ZZ)
  • peek2(List,ZZ)
  • peek2(BasicList,ZZ)
  • peek2(HashTable,ZZ)
  • peek2(Net,ZZ)
  • peek2(Nothing,ZZ)
  • peek2(String,ZZ)
  • peek2(Symbol,ZZ)
  • peek2(Thing,ZZ)

  • [top][index]
    search for: