[REBOL] Evaluating if's

2002-07-01 Thread Charles
Here's a little question. Perhaps I've been spoiled in other languages, but this is starting to frustrate me. I have something like: if THIS and THAT [] Thing is, if THIS is false, it continues to evaluate THAT anyways. What's the point? The result is obviously false anyways. I'm workin

[REBOL] Re: View/Pro and accessing Windows Printer API (gdi32.dll)

2002-07-01 Thread Gregg Irwin
Hi Bo, << If anyone has suggestions on why StartDocPrinter doesn't like the handle, I'd be very curious to find out! >> Below is a modified version of your script. Let me know if it works OK for you (I'm on W2K and some structures have changed compared to '95). If you have any questions about th

[REBOL] Re: make-doc-pro viewer

2002-07-01 Thread Andrew Martin
> I think he just wants something that will take a make-doc-pro document and render it directly in view/VID, sort of like a quick "preview" function. One solution is to use a Wiki. My Rebol/Wiki works very well with my eText dialect. I'm sure that it wouldn't be too hard to adapt make-doc-pro to

[REBOL] Re: Update: Outgoing REBOL/View mail being tagged as spam.

2002-07-01 Thread Andrew Martin
> This algorithm for the Message-ID should be unique, no? If you're sending a lot of email at once, it might be an idea to include this: random 100 in your Message-ID field. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send

[REBOL] Re: View/Pro and accessing Windows Printer API (gdi32.dll)

2002-07-01 Thread Bohdan or Rosemary Lechnowsky
Gregg, Your solution does return an apparently valid handle when I apply it to OpenPrinter, but StartDocPrinter still doesn't like it (returns a code of 6 which means "invalid handle"). Here's my script so far (beware of line-wrapping!): winspool: load/library %winspool.drv kernel32: load/lib

[REBOL] Re: Rugby

2002-07-01 Thread Ammon Johnson
Hi, So Maarten, does it in fact use 8002? Here are my results running on the same linux box that is wide open, you couldn't have it wider... >> do get-rugby-service http://127.0.0.1:8002 connecting to: 127.0.0.1 ** Access Error: Cannot connect to 127.0.0.1 ** Where: open-proto ** Near:

[REBOL] Re: Global Words

2002-07-01 Thread Ammon Johnson
Hi, I know this is a little slow response, but I thought that you would like to know that this solution seems to work the best of all that I recieved and I am currently in the process of building a utility script that will analyze your script and tell you how many words are in the glo

[REBOL] Re: Rugby

2002-07-01 Thread Ammon Johnson
Hi, Doesn't work on the same machine with port 8002, looking at the source I thought that I saw something about 8001 so I tried that one, but got a network timeout. ;-( (I just tried "? serve" at the console to discover that it is in fact using 8001, so why the timeout?) I am using

[REBOL] Re: serial port observation ... the last call ...

2002-07-01 Thread Petr Krenzelok
amicom wrote: >Gordon and Petr, > >Here is a function I wrote that does the trick for me. I hope it helps you >(beware of line-wrapping): > >connect-mpps: has [err ports tmp][ > err: true > foreach port ports: [port1 port2 port3 port4 port5 port6][ > if not error? try [

[REBOL] Re: make-doc-pro viewer

2002-07-01 Thread Gregg Irwin
Hi Robert, << > I think he just wants something that will take a make-doc-pro document and > render it directly in view/VID, sort of like a quick "preview" function. Hi, ok I see. I have to think about this.>> EasyVID/EasyDraw might be a good place to start, for ideas. --Gregg -- To unsubsc

[REBOL] Re: Rugby

2002-07-01 Thread Ammon Johnson
Hi, I have tried the /with refinement, only to recieve the error message that it can't open a port on the IP Addy of the current machine. ;-) Oh, and once I attempt to execute serve/with then I get an error when I try to run SERVE with the /with refinement, "Access Error: Port none n

[REBOL] Re: make-doc-pro viewer

2002-07-01 Thread Ammon Johnson
Hi, I do in fact want to render it directly in view. I thought that someone had a viewer that they were using, but that it didn't the ability to open other documents. I think it was something similar to the easy-VID viewer? Thanks!! Ammon On Monday 01 July 2002 12:43 am, you wrote

[REBOL] Re: serial port observation ... the last call ...

2002-07-01 Thread amicom
Gordon and Petr, Here is a function I wrote that does the trick for me. I hope it helps you (beware of line-wrapping): connect-mpps: has [err ports tmp][ err: true foreach port ports: [port1 port2 port3 port4 port5 port6][ if not error? try [

[REBOL] Update: Outgoing REBOL/View mail being tagged as spam.

2002-07-01 Thread alan parman
Thanks Mike & Joanna for the heads up on Message-Id: information. The following lines made my script work (i.e. not send out mail that gets tagged as spam) I used send/only/header, supplying the header with... header: make system/standard/email [ Message-ID: join to-string reduce ["<"

[REBOL] Re: Examining the layout object

2002-07-01 Thread Joel Neely
Hi, Carl, Carl Read wrote: > > So, I've narrowed the error down to 'face being a function sometimes, > but while this... > > print type? :face > > gets round it for a word, I don't know how to do that for a function > in an object. ie, this doesn't work.. > > print type? :face/pa

[REBOL] Re: make-doc-pro viewer

2002-07-01 Thread Robert M. Muench
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: Monday, July 01, 2002 2:43 AM > To: [EMAIL PROTECTED] > Subject: [REBOL] Re: make-doc-pro viewer > I think he just wants something that will take a make-doc-pro document and >

[REBOL] Re: Examining the layout object

2002-07-01 Thread Volker Nitsch
Am Montag, 1. Juli 2002 05:37 schrieb Carl Read: > Hi all, > > I've been trying to write a script to examine layouts, but I always > get an error. Here's an example of the problem... > > REBOL [] > examine: func [face][ > print type? face > if not object? face [exit] > print type? fac

[REBOL] Re: Examining the layout object

2002-07-01 Thread Carl Read
Hi again, Just realised that it's the text-list that's causing the error. Replacing the text-lists with areas in the much bigger layout I'd been having the problems with allowed the script to look all through it. So, I've narrowed the error down to 'face being a function sometimes, but while th

[REBOL] Re: Examining the layout object

2002-07-01 Thread G. Scott Jones
From: "Carl Read" > I've been trying to write a script to examine layouts, but I always > get an error. Here's an example of the problem... > > REBOL [] > examine: func [face][ > print type? face > if not object? face [exit] > print type? face/pane > either block? face/pane [ >