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

[REBOL] forget the Advanced Port stuff again

From: shannon::ains::net::au at: 12-Jan-2001 18:02

Sorry Paul but I have to agree with most of the replys to this topic. Your problem isn't really a problem with rebol, but just your stubborn refusal to take a different approach. Some straight-forward alternatives would be either: users: ["Paul" "John" "Mary"] ports: [?port? ?port? ?port?] << ie port objects new-port: func [user [string!]] [ append users user append ports open some-port-scheme ] port-with-data: wait ports port-number: index? find ports port-with-data port-user: at users port-number or a data structure like... user-ports: [ "Paul" ?port? "John" ?port? "Mary" ?port? ] would be equally effective. You could probably use an object to collate user: port: bagel: etc: information in a coherent way. SpliFF