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

[REBOL] Using 'call

From: tim-johnsons:web at: 18-Apr-2006 8:21

using REBOL/Core 2.6.2.4.2 If I do this: res: call "ls *.r" ;; I get output and
>> res
== 0 ;; standard return value for system call but if I do this:
>> listing: copy "" ;; output buffer
res: call/output "ls *.r" listing
>> res
== 204 ;; I'm curious about the reason for the value of res. It is not the length of 'listing, listing is appended with each call to 'call. Just curious. Does this signal an error? tim -- Tim Johnson <tim-johnsons-web.com> http://www.alaska-internet-solutions.com