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

[REBOL] checking for localhost versus remote host Re:

From: al:bri:xtra at: 16-Sep-2000 10:21

Terrence wrote:
> I am writing a script and I only want the trace info created and logged if
the script is running on a remote machine, not my own.
> Is there a programmatic way to check for what machine my script is running
on?
>> rebol/version
== 0.10.33.3.1
>> either exists? %MyMachine.dat [print "Hey! This is my machine!"] [print
Hmmmm, I'm on someone else's machine! ] Hmmmm, I'm on someone else's machine! I hope that helps! Andrew Martin ICQ: 26227169 http://members.ncbi.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/