[EMAIL PROTECTED] wrote:
> Yes please. In the case of 'simple things should be simple
> to do':
>
> probe system/options/args
> gets args
>
> probe system/options
> shows the options object
>
> probe system
> crashes rebol and requires me to use browse-system.r script???
This is not as st
>> >> probe system
>
>Have you ever read the FAQ? If you did, then you did indeed miss it.
It was long enough ago that I didn't make the connection to
'probe system' and 'print mold second system', especially
when doing probe system/script/args is used in the example,
and doing probe system/opti
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 13, 2000 5:42 AM
Subject: [REBOL] Command Line Args Re:(6)
> >> probe system
> >> crashes rebol and requires me to use browse-system.r script???
> >_never_
>> probe system
>> crashes rebol and requires me to use browse-system.r script???
>_never_ probe system/words !
Thats all well and good, but did I miss reading "don't do
*this*" in the documentation? If it is not in the
documentation how was I to know to _never_ do it? Seems
quite a logical
In einer eMail vom 12.03.00 15:33:15 (MEZ) Mitteleuropäische Zeit schreibt
[EMAIL PROTECTED]:
> Yes please. In the case of 'simple things should be simple
> to do':
>
> probe system/options/args
> gets args
>
> probe system/options
> shows the options object
>
> probe system
> c
>I don't know why they changed it, but let's believe RT had reasons to do so,
>while producing not so logical code, e.g.:
I assume that they did have good reason to change. But
nothing that can be typed at the system console should crash
the system. Doing 'probe system' or any thing similar,
s
[EMAIL PROTECTED] wrote:
>
> It would have been if I'd seen 'to-file' in the manual, I missed
> it in there. http://www.rebol.com/users/valfile.html Time
> to read it again I guess.
>
OK, do you know of 'what function? Just type "what" in your console. You can
save your output in following w
[EMAIL PROTECTED] wrote:
> >If you want to see the structure of system object, use Bo's
> >%browse-system.r script If you don't have it, I can send you a copy
> >...
>
> Yes please. In the case of 'simple things should be simple
> to do':
>
> probe system/options/args
> gets args
>
> prob
>btw: %1 and %2 are substituted with real filenames at the command line,
>right?
Right.
>> data: do read_file
>
>data: read to-file first args
>
>; above one line should be enough.
It would have been if I'd seen 'to-file' in the manual, I missed
it in there. http://www.rebol.com/users/valfile
>I just returned back, so I don't know exactly what is the discussion all
>about, but if you are looking for command line options, try:
You just missed the fact that the rebol.exe has never read
the rebol.doc file, specifically
http://www.rebol.com/users/operunning.html , where it says
use 'syst
[EMAIL PROTECTED] wrote:
> In article <02f401bf8a53$e4b74d40$7ac036d2@pavilion>, you wrote:
> >It may help to write a little test program, like this:
>
> Here is what I want to do:
> >From a DOS batch file that looks like this
> rebol -sqw trim.r %1 %2
As for .bat files, - they are synchronous
[EMAIL PROTECTED] wrote:
> >system/script/args is only for arguments passed with DO/ARGS.
> >system/options/args is for arguments passed from the command
> >line.
>
> I was going by what was in section
> http://www.rebol.com/users/operunning.html of Core User Guide
> 2.2.0.
>
> system/options/
In article <02f401bf8a53$e4b74d40$7ac036d2@pavilion>, you wrote:
>It may help to write a little test program, like this:
Here is what I want to do:
>From a DOS batch file that looks like this
rebol -sqw trim.r %1 %2
I want to run my script that trims the white space and
detabs the input file. T
>system/script/args is only for arguments passed with DO/ARGS.
>system/options/args is for arguments passed from the command
>line.
I was going by what was in section
http://www.rebol.com/users/operunning.html of Core User Guide
2.2.0.
system/options/ does not appear any place in that document
L PROTECTED]>
Sent: Friday, 10 March 2000 6:26 PM
Subject: [REBOL] Command Line Args Re:
>
> I tested it on my machine (running Win95) and it worked as advertised,
i.e.
> the arguments were available under system/script/args as a string.
>
> What did you expect would happen? Perh
Bo wrote:
> >system/script/args is only for arguments passed with DO/ARGS.
> >system/options/args is for arguments passed from the command line.
Elan wrote:
> Interesting enough, under Win95 system/script/args did contain the command
line args!
> Actually, they both worked!
Bug in Windows versio
Hi Bo,
>system/script/args is only for arguments passed with DO/ARGS.
>system/options/args is for arguments passed from the command
>line.
Interesting enough, under Win95 system/script/args did contain the command
line args!
Actually, they both worked! They both contained the same arguments.
Hi Bo,
>system/script/args is only for arguments passed with DO/ARGS.
>system/options/args is for arguments passed from the command
>line.
Interesting enough, under Win95 system/script/args did contain the command
line args!
Actually, they both worked!
;- Elan >> [: - )]
I tested it on my machine (running Win95) and it worked as advertised, i.e.
the arguments were available under system/script/args as a string.
What did you expect would happen? Perhaps the problem is with trim.r?
At 09:04 PM 3/9/00 -0500, you wrote:
>Can some one please send me a example of how
>Can some one please send me a example of how to deal with
>command lind arguments please?
And can someone tell me how I do command line arguments with the Macintosh
version?
Bruce.
bpaddock,
system/script/args is only for arguments passed with DO/ARGS.
system/options/args is for arguments passed from the command
line.
Have fun!
On 9-Mar-2000/21:04:02-5:00, [EMAIL PROTECTED] wrote:
>Can some one please send me a example of how to deal with
>command lind arguments please?
21 matches
Mail list logo