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

[REBOL] printing a path and its value Re:

From: al:bri:xtra at: 9-Sep-2000 15:42

> I want to print a path (ie, what the path is) and then the value of that
path... how can I do so?
>> Example: [
[ system [ [ schemes [ [ ftp [ [ passive "Passive ftp" [ proxy [ [ host "proxy host" [ port-id "proxy port-id" [ type "proxy type" [ ] [ ] [ ] [ ] [ ] == [ system [ schemes [ ftp [ passive "Passive ftp" proxy [ ...
>> Paths: [
[ Example/system/schemes/ftp/passive [ ] == [ Example/system/schemes/ftp/passive ]
>> foreach Path Paths [print [:Path ":::" Path]]
Example/system/schemes/ftp/passive ::: Passive ftp I hope that helps! Andrew Martin On the path to recovery... ICQ: 26227169 http://members.xoom.com/AndrewMartin/