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

[REBOL] Re: System data

From: hallvard:ystad:helpinhand at: 6-Jan-2003 20:22

So this error actually _should_ have occured d=E9j=E0 under 1.2.1. Look at this (from 1.2.1):
>> type? first to-path system
== object!
>> sort first to-path system
** Script Error: sort expected series argument of type: series port ** Where: halt-view ** Near: sort first to-path system I really don't know why it doesn't occur with 1.2.1 in the prob.r script, but I might look into it sometime in february. ~H Funny though. Here's from the script: PROB: func ['to-be-probed] [ if not value? 'to-be-probed [to-be-probed: 'system] if any [any-function? get to-be-probed port? get to-be-probed] [ pop-up source-string :to-be-probed exit ] clear path-words append path-words to-be-probed to-display: to-path path-words main: layout [ styles main-styles title "Primitive Rebol Object Browser" text "Current path: " path-text: text form to-path path-words 745x16 across list1: list data sort first to-display ; here's where the error comes (...) What I'm sorting turns out to be an object, but the point is: why on earth doesn't 1.2.1 fail on this? Dixit Gregg Irwin (00.16 06.01.2003):