Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: probe/dump-binary survey

From: moliad:aei:ca at: 3-May-2004 4:47

> Are you saying that because that's how PROBE currently works > (i.e. the molded result is exactly what is displayed)? We wouldn't > be affecting molded code in general, only what PROBE prints out. The > value given to PROBE would be returned just as it is today.
that would make probe a little obsure ... probe is meant to show what the code is ... internally. If you want to make a datatype based format print or probe, then user should just implement this: dprobe: func [data][ switch/defsault type?/word [ object! [dump-obj data data] binary! [dump-binary data data] ;--- add you favorite datatypes here--- :-) ][ probe data data ] ] its so easy to do that there is no point in obfuscating probe IMHO... -MAx