[1/2] from: chalz::earthlink::net at: 6-Jul-2002 0:59
Greets folks. Me again. I was running docs.rip in /Core 126.96.36.199.1 (that's what my previous problem was in), and got this: Script: "REBOL Self-extracting Binary Archive (RIP)" (25-Mar-2001/23:55:29-8:00) ** Script Error: request has no value ** Where: do-boot ** Near: if any [ not exists? file request [join form file "already exists - overwrite?" "Yes" "No"]] [write/binary file data]
? What am I missing? Does this have to be run in /View? I haven't had need of /View yet, so I haven't downloaded it. It doesn't say anything about needing /View.. Thanks.
[2/2] from: greggirwin:mindspring at: 6-Jul-2002 0:19
Hi Charles, << ? What am I missing? Does this have to be run in /View? I haven't had need of /View yet, so I haven't downloaded it. It doesn't say anything about needing /View.. Thanks. >> Short answer: Yes, you have to run it under View. Long Answer: We all need to keep in mind that some scripts may run just as well under Core as they do under View, with only minor considerations. I.e. it's easy to create View dependencies when you don't really need to. For Core, you could use ASK in place of REQUEST and your script can check to see what version it's running under to be as well-behaved as possible. VIEW? and LINK? are handy, but you can check for the existence of specific components as well. Look at the source for those functions and try: extract system/components 3 to see more component names you can check. HTH! --Gregg