[REBOL] Re: Millennium + 1 ...

2001-01-05 Thread Ladislav Mecir
Hi, Gabriele wrote: > Yet, I think there would be a problem; imagine this scenario: > > f: func [ > "Does something" > series [series!] > i [integer!] > ; ... > /local element > ] [ > ; We do something here > element: pick series i - 1 > ; we do something with

[REBOL] Re: reb sites - Zork! thoughts

2001-01-05 Thread Ryan Cole
And make it game "browser" independent, so that Ryans Zork browser could browse the same world as my 3d sound enhanced game "browser". Much of the enhanced stuff would have to come from the client end. Minus the audio/visual effects, most of your 3d games of today are'nt much different than the

[REBOL] Re: reb sites - Zork! thoughts

2001-01-05 Thread Carl Read
On 06-Jan-01, Ryan C. Christiansen wrote: > One thought comes to mind: creating a massively distributed, > Internet-based role-playing game the likes of Zork! where the world > is created by anyone and everyone. Lovely idea. > Persons help to create their > little pieces of the world by uploadi

[REBOL] Re: reb sites - Zork! thoughts

2001-01-05 Thread Carl Read
On 06-Jan-01, [EMAIL PROTECTED] wrote: > I think the hard part of making it so distributed would be keeping > the game continuity. Two different people may design adjacent rooms, > one being a very futuristic space capsule while the other is some > bizarre, surreal room with chairs on the walls a

[REBOL] Re: csv files

2001-01-05 Thread Brett Handley
The one on this page is getting a bit long in the tooth now and could very probably benefit from a lot of tidying but here you go anyway. It allows you to import and export. http://www.codeconscious.com/rebol/rebol-scripts.html#CommaandTabdelimitedfi les Brett. - Original Message - From

[REBOL] Re: Simple Parser of HTML pages

2001-01-05 Thread Brett Handley
This is the technique I used to build a couple of scripts. I've gone a step further and parse out the tags as well so you can relatively easily extract tag attributes such as "href" as well. The scripts could use more attention, but you should find them useful the way they are. http://www.codeco

[REBOL] [UPDATE] standard-message-function-library.r

2001-01-05 Thread Ryan C. Christiansen
The XML-based Standard Message dialect page has been updated here... http://www.dangeroustechnology.com/ The Standard Message Function Library file has been renamed and can be viewed here... http://www.dangeroustechnology.com/standard-message-function-library.txt The routines and subroutine

[REBOL] Re: reb sites - Zork! thoughts

2001-01-05 Thread Ryan C. Christiansen
Not necessarily. One of the criteria built-in to the Reb-based "room editor" would be to choose the "type" of room you are creating. Of course, even that would be on the honor system. > I think the hard part of making it so distributed would be keeping the > game continuity. Two different peop

[REBOL] Re: Millennium + 1 ...

2001-01-05 Thread Elan
Hi Gabriele, 0 is the privileged neutral position of the counter, where left and right meet. Everything in a block is either to the left or to the right of the counter. Because there can be no element located at the privileged counter position, therefore pick block 0 always returns none. If you

[REBOL] Re: reb sites - Zork! thoughts

2001-01-05 Thread sterling
That's a cool idea. You would need to build the language parser and basic game engine. With 'parse, the language interpreter could be built pretty fast and easily extended. I think the hard part of making it so distributed would be keeping the game continuity. Two different people may design ad

[REBOL] Re: Simple Parser of HTML pages

2001-01-05 Thread Andrew Martin
Ryan wrote: > use load/markup > > This will load the entire HTML page as a string! and then separate the tags from the content, placing each item as a separate string! value in a block! Thanks for reminding me about load/markup, Ryan. It's made two of my projects much more easier. Andrew Martin

[REBOL] Re: Rebol at home

2001-01-05 Thread Vos, Doug
Just connect to AOL the usual way then run your REBOL scripts as normal... works fine last time I tested it. -Original Message- From: Earley, Walter [mailto:[EMAIL PROTECTED]] Sent: Friday, January 05, 2001 3:28 PM To: '[EMAIL PROTECTED]' Subject: [REBOL] Rebol at home Any documents d

[REBOL] reb sites - Zork! thoughts

2001-01-05 Thread Ryan C. Christiansen
I haven't downloaded a copy of /View since the first release, mainly due to the lack of current documentation. One of the fun things I discovered was the Reb Sites links. One thought comes to mind: creating a massively distributed, Internet-based role-playing game the likes of Zork! where the

[REBOL] Re: Simple Parser of HTML pages

2001-01-05 Thread Ryan C. Christiansen
use load/markup This will load the entire HTML page as a string! and then separate the tags from the content, placing each item as a separate string! value in a block! >> load/markup http://www.rebol.com connecting to: www.rebol.com == [ "^/" "^/" "^ /" subject, without the quotes. > --

[REBOL] Rebol at home

2001-01-05 Thread Earley, Walter
Any documents describe how, if at all, I can use Rebol at home, where the only network connection I have is AOL? Thanks... -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Simple Parser of HTML pages

2001-01-05 Thread Earley, Walter
I need a simple program that reads HTML pages and extracts each of the hypertext links. I need both the reference and the display text, without and control sequences , , etc. Don't want to have to parse the whole page if possible. Any help appreciated. -- To unsubscribe from this list, plea

[REBOL] Re: Bug - Pick gives different results depending upon it's data

2001-01-05 Thread Andrew Martin
> Andrew wrote: > > 'pick with an out of range index on a object or function should return none. Ladislav wrote: > I would prefer PICK to behave like the PICK-PROP I proposed earlier, i.e. to fire an error or evaluate the specified handler. We can get some of that functionality with: any

[REBOL] Re: Millennium + 1 ...

2001-01-05 Thread Gabriele Santilli
Hello Doug! On 04-Gen-01, you wrote: VD> Does this have anything to do with the VD> probe info? ftp://user:[EMAIL PROTECTED]/file.txt VD> 2001 problem I am having? That is more likely a bug in the code that parses the directory listing from the ftp server. Regards, Gabriele. -- Gabr

[REBOL] Re: Millennium + 1 ...

2001-01-05 Thread Gabriele Santilli
Hello Ladislav! On 04-Gen-01, you wrote: LM> To be more constructive, I can imagine a strategy: Yet, I think there would be a problem; imagine this scenario: f: func [ "Does something" series [series!] i [integer!] ; ... /local element ] [ ; We do something here

[REBOL] Re: Millennium + 1 ...

2001-01-05 Thread Gabriele Santilli
Hello Elan! On 05-Gen-01, you wrote: E> however, the way it is implemented is more consistent for a E> different reason. I'm not sure about this. The current implementation is probably closer to the human way of thinking, but it can introduce subtle problems. I'm not saying this is an import

[REBOL] Re: Advanced port stuff

2001-01-05 Thread Paul Tretter
When I say literal words I mean the actual set-word! that is used to define the port object. That is what I am trying to retrieve from the waitports block. For example when a user on irc initiates a dcc chat session with my script it takes their ip address and port and opens a connection (port)

[REBOL] Re: Bug - Pick gives different results depending upon it's data

2001-01-05 Thread Ladislav Mecir
Hi, Andrew wrote: > 'pick with an out of range index on a object or function should return none. > > Andrew Martin > ICQ: 26227169 http://members.nbci.com/AndrewMartin/ > -><- I would prefer PICK to behave like the PICK-PROP I proposed earlier, i.e. to fire an error or evaluate the specified ha

[REBOL] Re: Millennium + 1 ...

2001-01-05 Thread Ladislav Mecir
My point of view written in Rebol: pick-prop: function [ {Returns the value at the specified place in a series.} [catch throw] series [series!] index [integer!] /back {pick backwards} /or handler [block!] {exception handler} ] [to-sk

[REBOL] Re: help object!/func

2001-01-05 Thread Ryan C. Christiansen
Thanks. This version of 'help is invaluable. http://members.nbci.com/AndrewMartin/Rebol/Patches/help.r > > Is there any way to use 'help on a function which is a value in an > > object! > datatype? > > What you need is Nenad Rakocevic's modifications to 'help. -- To unsubscribe from this lis

[REBOL] Bug - Pick gives different results depending upon it's data

2001-01-05 Thread Andrew Martin
Sascha wrote: > i found this: What Sascha seems to be refering to is where 'pick on a block! and object! with zero returns different types of results: >> rebol/version == 2.4.39.3.1 >> b: [1 2] == [1 2] >> pick b 1 == 1 >> pick b 0; Note none result here. == none >> o: make object! [

[REBOL] Re: is_it_a_bug?

2001-01-05 Thread Andrew Martin
Sascha wrote: > (looking actually for easy listing of object members may be, rather silly idea - one knows his objects:-) Try: probe object > i found this: I'm fairly sure it's a bug as well. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ -><- -- To unsubscribe f

[REBOL] Re: help object!/func

2001-01-05 Thread Andrew Martin
Ryan wrote: > Is there any way to use 'help on a function which is a value in an object! datatype? What you need is Nenad Rakocevic's modifications to 'help. It's posted after my .sig with my own small modifications. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ -><- Rebol

[REBOL] help object!/func

2001-01-05 Thread Ryan C. Christiansen
Is there any way to use 'help on a function which is a value in an object! datatype? Using 'help only tells me the function is a path of the object! >> test: make object! [ [test-function: func [][ [print "test" [] [] >> test/test-function test >> help test/test-function

[REBOL] Re: Advanced port stuff

2001-01-05 Thread Paul Tretter
Ok, so far the answers relating to objects I have all ready known but appreciate your input. I think the complexity is that these objects are port objects that have been added to a block. The block is referenced by the word 'waitports. waitports contains the port objects which are appended to it

[REBOL] is_it_a_bug?

2001-01-05 Thread riachtchenko
Hi folks, as i sill playing with rebol and reading your good old mails- (btw, would it make sense to send the newcomers your http://www.escribe.com/internet/rebol/ url ar registration?) i found this: (looking actually for easy listing of object members may be, rather silly idea - one knows his ob

[REBOL] Re: csv files

2001-01-05 Thread Graham Chiu
On Fri, 5 Jan 2001 22:57:32 +1300 "Andrew Martin" <[EMAIL PROTECTED]> wrote: > > Bo's example in the Rebol script library doesn't take > into account the > situation where a "field" contains commas, and so is > enclosed by quotation > marks, and quotation marks contained within such fields > are

[REBOL] Re: csv files

2001-01-05 Thread Andrew Martin
Graham wrote: > Bo's example in the Rebol script library doesn't take into account the situation where a "field" contains commas, and so is enclosed by quotation marks, and quotation marks contained within such fields are escaped by a quotation mark. Can you give an example of this last example,

[REBOL] Re: csv files

2001-01-05 Thread Andrew Martin
> Does anyone have a routine to parse csv files? Yes. But it's not at my home computer where I am. I won't have access to this until Monday at the earliest. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ -><- -- To unsubscribe from this list, please send an email to [EMAIL

[REBOL] csv files

2001-01-05 Thread Graham Chiu
Does anyone have a routine to parse csv files? Bo's example in the Rebol script library doesn't take into account the situation where a "field" contains commas, and so is enclosed by quotation marks, and quotation marks contained within such fields are escaped by a quotation mark. -- Graham Chiu

[REBOL] Re: Advanced port stuff

2001-01-05 Thread Hayes Philip
Can you expand upon this ? Particularly 'which literal words' -Original Message- From: Paul Tretter [mailto:[EMAIL PROTECTED]] Sent: 05 January 2001 03:08 To: [EMAIL PROTECTED] Subject: [REBOL] Advanced port stuff I know I may not get an answer to this unless it falls on some real REB

[REBOL] Re: Advanced port stuff

2001-01-05 Thread Andrew Martin
Elan wrote: > 3. Your question bothers me. Why do you need to know which words reference these objects? I suspect that there may be a conceptual bug involved in your question. I.e. a more (REBOLlish) elegant = simpler solution may prevent this question from coming up altogether. I'd agree with th