ANN: rebol-framework-006
[1/35] from: robert:muench:robertmuench at: 15-Jan-2003 20:38
Hi, yes it's finally done! Took quite some time but I think it was
worth... Hope you think so too.
Well, what's new:
*Complete new GUI
*Left / Richt click to address master / detail side (use to select BOT)
*multiple data-file support (new, load)
*private data-file support (create private files with name: private/...)
*more datatypes in BOT dialect
*actions & reports (only the first function will be called, see RFM
file)
*better search with click-able list-view for multiple-hits
*start for BOT versioning
*lot more stuff I just can't remember...
You can download the new version from my homepage.
Special thanks go to: Cyphre for doing the new GUI and to all who helped
me with little functions, tipps, brainstorming on AltME etc.
I hope we keep up the work to improve RFM and that more people will join
the development.
Let me know what you think, problems, ideas, bugs, you-name-it. Robert
[2/35] from: petr::krenzelok::trz::cz at: 16-Jan-2003 0:50
Hi,
1) the link is once again incorrect ... it refers to 0.5 version .zip
file ... so be carefull when downloading new version ...
2) nowhere I can see stated, what version of rebol should be used? Link?
View? Old one? Beta? A "library hell" equivalent in myriads of rebol
executables containing various feature sets? :-)
3) running from Link I get:
->> do %rebol-framework.r
** Script Error: object-factory has no value
** Where: connect-to-link
** Near: database!: object-factory [
4) running from View beta (1.2.8) I get:
->> do %rebol-framework.r
** Script Error: split-path expected target argument of type: file url
** Near: second split-path system/options/script
maybe next time (... and I wanted to see it today :-)
-pekr-
Robert M. Muench wrote:
[3/35] from: robert:muench:robertmuench at: 16-Jan-2003 9:39
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 4>>
> 1) the link is once again incorrect ... it refers to 0.5 version .zip
> file ... so be carefull when downloading new version ...
Hi, ups ;-)) damnd cut & paste. Fixed.
> 2) nowhere I can see stated, what version of rebol should be used?
Link?
> View? Old one? Beta? A "library hell" equivalent in myriads of rebol
> executables containing various feature sets? :-)
It should work with /View & /Link. I don't have the old releases here,
so I don't expect it to work with them... Perhaps someone can try this.
> 3) running from Link I get:
>
> ->> do %rebol-framework.r
>
> maybe next time (... and I wanted to see it today :-)
Well, I thought it's clear that your need to start: rfm-gui.r ;-)) or do
you only want to have the framework? I added a note to the web-page.
Robert
[4/35] from: petr:krenzelok:trz:cz at: 16-Jan-2003 10:31
>
>>maybe next time (... and I wanted to see it today :-)
>>
>>
>
>Well, I thought it's clear that your need to start: rfm-gui.r ;-)) or do
>you only want to have the framework? I added a note to the web-page.
>Robert
>
1) - it was not clear :-)
2) I tried to investigate code, but don't know what is that
system/options/script about .... of course I tried to run rfm-gui.r, but
result was the same ....
-pekr-
[5/35] from: petr:krenzelok:trz:cz at: 16-Jan-2003 11:40
Petr Krenzelok wrote:
>>
>>
<<quoted lines omitted: 11>>
> system/options/script about .... of course I tried to run rfm-gui.r,
> but result was the same ....
the problem, at least on my machine, is - that system/options/script is
always none .... I don't know why, as Robert told me, that it works for
him, Cyphre and Ammon ...
Anyone?
Thanks,
-pekr-
[6/35] from: ammon:addept:ws at: 16-Jan-2003 4:45
How are you executing the script? And what is your platform?
Enjoy!!
Ammon Johnson
CIO of Addept ---------- (www.addept.ws)
435.616.2322 ---------- (ammon AT addept.ws)
[7/35] from: petr:krenzelok:trz:cz at: 16-Jan-2003 13:11
Ammon Johnson wrote:
>How are you executing the script? And what is your platform?
>
Hi, I tried several ways, several versions .... Link, beta 1.2.8 View,
Win2K here.
I tried to 'change-dir %rfm and 'do %rfm-gui.r ... nothing spectacular ...
It seems to me like system/options/script would be forbiden here :-)
-pekr-
[8/35] from: ammon:addept:ws at: 16-Jan-2003 6:18
Did you try just double clicking the script? I don't think that DOing it
from the console loads it's header unless of course you to a LOAD/HEADER...
Enjoy!!
Ammon Johnson
CIO of Addept ---------- (www.addept.ws)
435.616.2322 ---------- (ammon AT addept.ws)
[9/35] from: petr:krenzelok:trz:cz at: 16-Jan-2003 14:48
Ammon Johnson wrote:
>Did you try just double clicking the script? I don't think that DOing it
>from the console loads it's header unless of course you to a LOAD/HEADER...
>
no, why should I? If it is the case, it should be changed ...
-pekr-
[10/35] from: louisaturk:coxinet at: 16-Jan-2003 23:17
pekr,
The sub-directories have to be preserved when you unzip.
Louis
At 02:48 PM 1/16/2003 +0100, you wrote:
[11/35] from: petr:krenzelok:trz:cz at: 17-Jan-2003 8:43
Louis A. Turk wrote:
> pekr,
>
> The sub-directories have to be preserved when you unzip.
I don't unzip :-) I use clever file managers like Windows (Total)
Commander which treats archives just like normal directories .... so I
just enter the archive and copy stuff out ... simplicity, you know .. :-)
anyway ... I just commented some stuff so it now works for me ...
Well, now I tried just "clicking" .r script ... Robert, come on?! Is
that really the way you guys work? Clicking the script and rely upon
registry settting and .r association? What if I want to have .r
associated to my text editor? As for me, I will never get used to
concepts like drag & drop, at least not for rebol scripting purposes ....
-pekr-
[12/35] from: rebolek:seznam:cz at: 17-Jan-2003 11:47
Hi pekr,
so you don't unzip, you use WinCMD (yes Total for legal reasons I
know...) for extracting and then you go to console and you DO NOT double
click on unpacked scripts right in WinCMD? :) Well, people are different
;)
But I tried it both from console and from WindowsCommander and I'm not
able to run it.
Different errors from console and from windows, strange.
when I double click %rebol-framework.r I've got
** Script Error: object-factory has no value
** Where: do-boot
** Near: database!: object-factory [
file-format-version: make tuple! 0.0.1
data: graph!/new []
bot: graph!/new []
]
and when I run RFM from console I've got
** Script Error: split-path expected target argument of type: file url
** Near: second split-path system/options/script
when I run rfm-gui.r from WinCMD I've got this error
Saving databse none
Loading new file data/example.rfm_graph
** Access Error: Cannot open /c/view/rfm/gfx/arrow-up-c.png
** Where: forever
** Near: load %gfx/arrow-up-c.png load %gfx/arrow-dn-c.png load
and yes, there's no directory %gfx in rfm folder.
Something must be wrong with RFM. It's the first version I've tried,
maybe succesful people tried some version before and now they've got
some needed files on their disks which are not present in 0.0.6 ? I
don't know.
PS: Oh, directory %styles/ is full of Cyphre's styles I was forbidden to
redistribute as part of Bunkas. As I said, people are different. And
some are allowed to do something what the others are not allowed to do.
Good to know. Or maybe Bunkas just weren't so 'proffesional' and
'representative' for Cyph's styles?
bye, bolek
> pekr,
>
> The sub-directories have to be preserved when you unzip.
I don't unzip :-) I use clever file managers like Windows (Total)
Commander which treats archives just like normal directories .... so I
just enter the archive and copy stuff out ... simplicity, you know ..
:-)
anyway ... I just commented some stuff so it now works for me ...
Well, now I tried just "clicking" .r script ... Robert, come on?! Is
that really the way you guys work? Clicking the script and rely upon
registry settting and .r association? What if I want to have .r
associated to my text editor? As for me, I will never get used to
concepts like drag & drop, at least not for rebol scripting purposes
....
-pekr-
>
> Louis
--
To unsubscribe from this list, please send an email to
[rebol-request--rebol--com] with "unsubscribe" in the
subject, without the quotes.
---
P=F8=EDchoz=ED zpr=E1va neobsahuje viry.
Zkontrolov=E1no antivirov=FDm syst=E9mem AVG (http://www.grisoft.cz).
Verze: 6.0.443 / Virov=E1 b=E1ze: 248 - datum vyd=E1n=ED: 10.1.2003
---
Odchoz=ED zpr=E1va neobsahuje viry.
Zkontrolov=E1no antivirov=FDm syst=E9mem AVG (http://www.grisoft.cz).
Verze: 6.0.443 / Virov=E1 b=E1ze: 248 - datum vyd=E1n=ED: 10.1.2003
[13/35] from: petr:krenzelok:trz:cz at: 17-Jan-2003 13:17
Boleslav Brezovsky wrote:
>Hi pekr,
>
>so you don't unzip, you use WinCMD (yes Total for legal reasons I
>know...)
>
yes ...
>for extracting and then you go to console and you DO NOT double
>click on unpacked scripts right in WinCMD? :)
>
What do you smile at? Each of use uses own patterns we follow while
working with computer. I have plenty of windows opened. In quick-launch
panel I have two rebol icons - IOS and View, so I went to View console -
I then use tab key as a name completion feature. I often use console as
kind of a rebol shell ...
> Well, people are different
>;)
>
Maybe I would not be different, if I would not was forced to use
different rebol kernels. Which one am I supposed to associate my .r
files to? Is that old view? View beta? Link? Command/View? Heh? So, I
will wait once there is rebol/base only executable for all rebol
language products + set of components and their versioning - then I will
associate my .r file to one and only rebol.exe file ... maybe :-) I
think it will not happen though .... and some ppl here will suddenly
try to reming me of so called "dll hell" principle, while they are not
afraid incompatibilities across various rebol kernels available ... ;-)
>But I tried it both from console and from WindowsCommander and I'm not
>able to run it.
<<quoted lines omitted: 10>>
>** Script Error: split-path expected target argument of type: file url
>** Near: second split-path system/options/script
yes, this one happens because Robert applies 'split-path to
system/script/options ... the field is always 'none, unless you
double-click the script and let your association launch rebol for you
... at least it works here that way ...
>when I run rfm-gui.r from WinCMD I've got this error
>Saving databse none
<<quoted lines omitted: 3>>
>** Near: load %gfx/arrow-up-c.png load %gfx/arrow-dn-c.png load
>and yes, there's no directory %gfx in rfm folder.
there is styles/gfx subdir ... hmm, I wonder what is going on as it
works here ...
>Something must be wrong with RFM. It's the first version I've tried,
>maybe succesful people tried some version before and now they've got
<<quoted lines omitted: 5>>
>Good to know. Or maybe Bunkas just weren't so 'proffesional' and
>'representative' for Cyph's styles?
ask Cyphre ... I think that you should talk one to each other, rather
then talk via PS: field of email messages :-) Have you asked Cyphre if
you can use his stuff for your work or you just used it "silently"
without letting him know or giving him a credit in your Bunkas work? Is
Cyphre's stuff publicly released? If not, you should ask him ... I can
see no reason why he would not allow you to use his work ... :-)
Cheers,
-pekr-
[14/35] from: g:santilli:tiscalinet:it at: 17-Jan-2003 15:48
Hi Boleslav,
On Friday, January 17, 2003, 11:47:57 AM, you wrote:
BB> and yes, there's no directory %gfx in rfm folder.
I had to copy rfm/styles/gfx to rfm/ and to rfm/sgfx too. Then it
ran; however, I didn't quickly find out how to insert a record,
and I had not too much time to play with it, so wasn't able to do
anything with it. :-) I'll try again later...
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[15/35] from: nitsch-lists:netcologne at: 17-Jan-2003 18:13
Petr Krenzelok wrote:
> Louis A. Turk wrote:
>> pekr,
<<quoted lines omitted: 9>>
> associated to my text editor? As for me, I will never get used to
> concepts like drag & drop, at least not for rebol scripting purposes ....
try
do system/options/script: clean-path %file.r
(make a little function around)
sometimes its usefull to know which is the "main-script",
and thats stored in system/options/script by default.
> -pekr-
>
>>
>>
>> Louis
>
-Volker
[16/35] from: cyphre:seznam:cz at: 18-Jan-2003 20:58
Hi Bolek,
----- Original Message -----
From: "Boleslav Brezovsky" <[rebolek--seznam--cz]>
To: <[rebol-list--rebol--com]>
Sent: Friday, January 17, 2003 4:54 PM
Subject: [REBOL] Re: [REBOL] Re: ANN: rebol-framework-006
Dne 17. leden 2003, <[rebol-list--rebol--com]> napsal:
...
>I've asked Cyph about using his styles. He said that I can use them
>but I cannot publish anything what is using his styles. The reason
<<quoted lines omitted: 13>>
>this", I won't distribute it, even if I can think anything about it
>;).
You are right, In the time you asked me for some of my styles I did one
styleset for a commercial application...unfortunately, this project seems to
be dead so the situation is different...moreover those styles you have found
in th RFM release were mostly developed for the VID1.3 project which is
non-comercial. I just wanted to wait a little bit with the public release
because all those styles are still in beta stage and was afraid to spread
inconsistent stlyes into wide public but I changed my mind...Now you can use
them aso you like in any project for free but don't blame me for any
problems, bugs etc. just report them to me and I will try to do something
with it;). I believe that the VID project will continue in the very near
future so finally everyone will be able to use all my(and others) work I put
into it either in the upcomming Rebol/View or just as a kind of extension...
I know that in current situation there is not much oportunities to develop
in Rebol for money but i still believe that one day...;)
regards,
Cyphre
[17/35] from: rebol-list2:seznam:cz at: 18-Jan-2003 12:55
Hello Petr,
Friday, January 17, 2003, 1:17:44 PM, you wrote:
PK> What do you smile at? Each of use uses own patterns we follow while
PK> working with computer. I have plenty of windows opened. In quick-launch
PK> panel I have two rebol icons - IOS and View, so I went to View console -
PK> I then use tab key as a name completion feature. I often use console as
PK> kind of a rebol shell ...
You have only two rebol icons in quick-launch? I have 5 of them (IOS,
View1.2.1, View1.2.8, Core and Base:) and usually from one up to ten
Red icons as opened windows, I still wait if it will be possible to
open Rebol window with other icon but it looks that it's (or will be?)
one of the expensive paid features from RT:( At least some of the
window titles don't start with "REBOL -" so I'm able to locate the
corect one quickly :) -- and when I look at my taskbar panel I can see
that I have one small rED icon in the tray as well:))
and... I prefere to run scripts from console as well... sometimes I
dream about colors in the console but as I don't have enough space to
have Linux installed at this moment I have to cool down my colored
wishes:(
>> Well, people are different
(Not only poeple, everything is different:)
PK> ask Cyphre ... I think that you should talk one to each other, rather
PK> then talk via PS: field of email messages :-) Have you asked Cyphre if
PK> you can use his stuff for your work or you just used it "silently"
PK> without letting him know or giving him a credit in your Bunkas work? Is
PK> Cyphre's stuff publicly released? If not, you should ask him ... I can
PK> see no reason why he would not allow you to use his work ... :-)
:)) maybe they live too close each other to communicate :)) And when
I'm talking about "too close" I mean distances in "meters"!
cheers Oldes.
[18/35] from: robert:muench:robertmuench at: 20-Jan-2003 8:30
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: ANN: rebol-framework-006
> The sub-directories have to be preserved when you unzip.
Hi, right. I'm going to answer the rest of all your posts today. I was
on a trip and just returned... Need to go to the next meeting now.
Robert
[19/35] from: robert:muench:robertmuench at: 20-Jan-2003 10:33
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: ANN: rebol-framework-006
> anyway ... I just commented some stuff so it now works for me ...
Hi, well at least it's a start.
> Well, now I tried just "clicking" .r script ... Robert, come on?! Is
> that really the way you guys work? Clicking the script and rely upon
> registry settting and .r association?
No, of course not :-)). I'm using Link and I start this stuff from Link,
so that's why I don't have a problem with .r associations. I see your
point and we will change it. Robert
[20/35] from: robert:muench:robertmuench at: 20-Jan-2003 14:25
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 10>>
> bot: graph!/new []
> ]
Hi, you have to click on %rfm-gui.r (rebol-framework.r is the engine...
I think we will rename the files).
> ** Script Error: split-path expected target argument of type: file url
> ** Near: second split-path system/options/script
Hmm... It's really annoying that Rebol sets fields depending on the
start method you used. We use this to find out with additional files to
load. Because Cyphre and I are doing distributed development, we have 3
versions: Cyphre's, mine and our base release. The idea is, that if
Cyphre starts his version, his library version etc. will be loaded too.
> when I run rfm-gui.r from WinCMD I've got this error
> Saving databse none
<<quoted lines omitted: 3>>
> ** Near: load %gfx/arrow-up-c.png load %gfx/arrow-dn-c.png load
> and yes, there's no directory %gfx in rfm folder.
For about 1h there was a ZIP online, that had a wrong path in one of the
style files. Maybe a new download solves this.
> Something must be wrong with RFM.
:-) I think I can negate this... (not yet).
> It's the first version I've
> tried, maybe succesful people tried some version before and
> now they've got some needed files on their disks which are
> not present in 0.0.6 ? I don't know.
No, you should have everything that's needed. Robert
[21/35] from: robert:muench:robertmuench at: 20-Jan-2003 14:25
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: ANN: rebol-framework-006
> I had to copy rfm/styles/gfx to rfm/ and to rfm/sgfx too. Then it
ran.
Hi, hmm... Strange.
> however, I didn't quickly find out how to
> insert a record, and I had not too much time to play with
> it, so wasn't able to do anything with it. :-) I'll try again later...
Just select a BOT (left- or right-click to bring it to master- or
detai-side), fill-in the data and press save. That's it. You should see
a record ID now.
Try: search with part of known content or use * You can limit search to
specific BOT by first selecting the BOT and than doing the search.
No-Object BOT will search all objects. Robert
[22/35] from: g:santilli:tiscalinet:it at: 20-Jan-2003 17:05
Hi Robert,
On Monday, January 20, 2003, 2:25:10 PM, you wrote:
RMM> Just select a BOT (left- or right-click to bring it to master- or
RMM> detai-side), fill-in the data and press save. That's it. You should see
RMM> a record ID now.
RMM> Try: search with part of known content or use * You can limit search to
RMM> specific BOT by first selecting the BOT and than doing the search.
RMM> No-Object BOT will search all objects. Robert
This worked fine. However, the graph is acting very strange here,
it continues to expand and nodes go soon out of window so that I
can no more select them; also, what should happen when I click a
node?
How does the report button work?
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[23/35] from: robert:muench:robertmuench at: 21-Jan-2003 9:47
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: ANN: rebol-framework-006
> This worked fine.
Hi, great so the first step is done :-))
> However, the graph is acting very strange
> here, it continues to expand and nodes go soon out of window
> so that I can no more select them;
Hmm... How does your graph look like? Can you send me the data-file? The
graph-layout is really something that needs to be improved. It's more a
demonstration where RFM should go to. I want to add different layouters.
> also, what should happen when I click a node?
That's buggy: It should bring up the BOT on the input page (that works),
lookup the clicked record and fillin the record data into the BOT form.
> How does the report button work?
;-)) That's more an internal test feature. Report and Action always
execute the first function from the BOTs. Look into the BOT definition
there you see a function for the news BOT and a report for the
effort_time BOT.
The idea is that you get a list of possible actions and reports that
make sense with the actual choosen BOT. Robert
[24/35] from: petr:krenzelok:trz:cz at: 21-Jan-2003 10:30
Robert M. Muench wrote:
>>However, the graph is acting very strange
>>here, it continues to expand and nodes go soon out of window
<<quoted lines omitted: 4>>
>graph-layout is really something that needs to be improved. It's more a
>demonstration where RFM should go to. I want to add different layouters.
hmm, I think that problem is simly related to old View usage. Do you
remember, Robert? I reported similart thing to you and you suggested me
to use Link IOS client - so - Gabriele - you could try another View
version or IOS client? ...
-pekr-
[25/35] from: g:santilli:tiscalinet:it at: 21-Jan-2003 13:01
Hi Robert,
On Tuesday, January 21, 2003, 9:47:50 AM, you wrote:
RMM> Hmm... How does your graph look like?
Well, I just tried to input a couple records and associate them.
Maybe it needs more nodes to work correctly... Or, is it possible
that having unassociated nodes creates problems? (I don't remember
if I have associated all the nodes I have created...)
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[26/35] from: g:santilli:tiscalinet:it at: 21-Jan-2003 13:11
Hi Petr,
On Tuesday, January 21, 2003, 10:30:11 AM, you wrote:
PK> hmm, I think that problem is simly related to old View usage. Do you
PK> remember, Robert? I reported similart thing to you and you suggested me
PK> to use Link IOS client - so - Gabriele - you could try another View
PK> version or IOS client? ...
It is the same with all versions (does not run on 1.2.1, no
differences in rendering the graph in 1.2.8 or Link 1.0.2, 1.0.5,
1.0.6).
BTW Robert, why don't you use system/script/path instead of
system/options/script? system/options/script is intended to be set
to the script REBOL has been launched with. system/script/path is
the path for the current script.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[27/35] from: robert:muench:robertmuench at: 21-Jan-2003 15:06
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 4>>
> hmm, I think that problem is simly related to old View usage. Do you
> remember, Robert? I reported similart thing to you
Hi, I don't remember me exactly. But Gabriele's description sounds to me
as the layout algorithm is handling a non-connected graph (two or more
pieces).
But Petr could be right.
> and you suggested me to use Link IOS client - so - Gabriele - you
> could try another View version or IOS client?
The view beta should work. If this effect is still present than it's
most likely a bug ;-)) Robert
[28/35] from: robert:muench:robertmuench at: 21-Jan-2003 15:10
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 5>>
> 1.2.1, no differences in rendering the graph in 1.2.8 or
> Link 1.0.2, 1.0.5, 1.0.6).
Hi, just send the data-file over to me so I can have a look at it.
> BTW Robert, why don't you use system/script/path
> ...
This will be changed in the next version. What I need is the name of the
script-file (not only the path), that's why I used the first system/...
thing I found that contained the path & script-name. ;-) Robert
[29/35] from: g:santilli:tiscalinet:it at: 21-Jan-2003 15:46
Hi Robert,
On Tuesday, January 21, 2003, 3:10:50 PM, you wrote:
RMM> Hi, just send the data-file over to me so I can have a look at it.
I'm doing it.
RMM> This will be changed in the next version. What I need is the name of the
RMM> script-file (not only the path), that's why I used the first system/...
RMM> thing I found that contained the path & script-name. ;-) Robert
Hmm, as long as system/script/header/file is correct you can use
that. :-) Probably REBOL should place the file name too in
system/script/path.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[30/35] from: anton:lexicon at: 22-Jan-2003 17:53
I agree with Gabriele.
I wrote two scripts which print out the following:
-------------
system/script/header/file: %script-name.r
system/script/path: /D/Anton/Dev/Rebol/View/local/demo/
system/options/script: none
-------------
system/script/header/file: %script-name-2.r
system/script/path: /D/Anton/Dev/Rebol/View/local/demo/
system/options/script: none
The first script prints out the first three lines,
and then calls the second script, which does the
same thing.
The above is what you get when you start in the console.
I made an icon for the desktop, and here you see the
output is slightly different:
-------------
system/script/header/file: %script-name.r
system/script/path: /d/anton/dev/rebol/view/local/demo/
system/options/script: /d/anton/dev/rebol/view/local/demo/script-name.r
-------------
system/script/header/file: %script-name-2.r
system/script/path: /d/anton/dev/rebol/view/local/demo/
system/options/script: /d/anton/dev/rebol/view/local/demo/script-name.r
As you can see, if you expect your users might launch
your program from the console, don't use system/options/script.
Anton.
[31/35] from: robert:muench:robertmuench at: 22-Jan-2003 8:23
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 4>>
> I agree with Gabriele.
> I wrote two scripts which print out the following:
Hi, thanks to you both. A system/... Documentation would realy help.
I'm going to change this for the next release. Hey Petr, than it will
even work for you ;-)) Robert
[32/35] from: petr:krenzelok:trz:cz at: 22-Jan-2003 9:00
Robert M. Muench wrote:
>>-----Original Message-----
>>From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 11>>
>I'm going to change this for the next release. Hey Petr, than it will
>even work for you ;-)) Robert
I edited scripts and adapted it to my conditions, so it worked :-)
btw - how can I add new BOTs? I can see some predefined, I can enter
some data, but how do I actually add new BOT? And also - what is storing
graphs good for? Does it "save" state of your BOT sea at a given time?
-pekr-
[33/35] from: robert:muench:robertmuench at: 22-Jan-2003 9:36
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: ANN: rebol-framework-006
> I edited scripts and adapted it to my conditions, so it worked :-)
Hi, good to hear that it's working.
> btw - how can I add new BOTs? I can see some predefined, I can enter
> some data, but how do I actually add new BOT?
Look into the object-templates.rfm file. There are all BOTs defined.
Simple structure that should mostly be self-explaining.
> And also - what is storing graphs good for?
> Does it "save" state of your BOT sea at a given time?
?? Sorry can't following you. Of course you want to store your data, no?
Robert
[34/35] from: petr:krenzelok:trz:cz at: 22-Jan-2003 10:21
Robert M. Muench wrote:
>>-----Original Message-----
>>From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 14>>
>Look into the object-templates.rfm file. There are all BOTs defined.
>Simple structure that should mostly be self-explaining.
Ah, of course - I just miss some button "Add new BOT" :-)
>>And also - what is storing graphs good for?
>>Does it "save" state of your BOT sea at a given time?
>>
>>
>
>?? Sorry can't following you. Of course you want to store your data, no?
>
hmm, I can understand I expressed myself unlcearly :-) Well - what I
mean was - there are two buttons - Add new graph and Load graph - so -
what is graph loading good for? So that was my question - does it load
certain state of database at the time graph was saved? And? When is the
graph database state saved then? Am I clearer now? Simply - what is the
purpose of graph storage?
-pekr-
[35/35] from: robert:muench:robertmuench at: 22-Jan-2003 11:37
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: ANN: rebol-framework-006
> Well - what I mean was - there are two buttons - Add new graph and
Load
> graph - so - what is graph loading good for?
Each graph is like a "database". So you see the available databases and
can load (connect) to the one you like. All change relevant actions will
than be performed on this database.
> So that was my question - does it load
> certain state of database at the time graph was saved?
State? Well, it just loads the nodes and edges.
> And? When is the graph database state saved then?
You can look at the text console to see when databases are saved (IIRC)
if not the state is saved after each change at the moment. So you won't
loose any work if RFM crashs. Robert
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted