Thanks Romano!
My object browser's sliders sometimes make it hard to get to every item in
the list (if it's a long list like system/words), so I missed ctx-prefs.
Now, the other question is, does ctx-prefs get turned into an object
automatically, and what causes that? I tried a couple quick
Hi Gregg,
Now, the other question is, does ctx-prefs get turned into an object
automatically, and what causes that? I tried a couple quick tests, but it
stayed a block. It's easy enough to make an object from the spec, but I'm
sure you shouldn't have to.
This is where become an object:
Hi Gregg
There are win? and unix? system words, but I don't know what context they
live in to make use of them.
ctx-prefs
is-win?: does [system/version/4 = 3]
is-mac?: does [all [system/version/4 = 2 system/version/5 = 3]]
is-unix?: does [not any [is-win? is-mac?]]
win?:
Hi Romano,
On Monday, July 08, 2002, 1:21:49 AM, you wrote:
RPT is-unix?: does [not any [is-win? is-mac?]]
Oh well, is the Amiga Unix? ;-)
Regards,
Gabriele.
--
Gabriele Santilli [EMAIL PROTECTED] -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
Hi Romano,
On Monday, July 08, 2002, 1:21:49 AM, you wrote:
RPT is-unix?: does [not any [is-win? is-mac?]]
Oh well, is the Amiga Unix? ;-)
EAW - Extend At Will ;)
Regards,
Gabriele.
--
Gabriele Santilli [EMAIL PROTECTED] -- REBOL Programmer
Amigan -- AGI L'Aquila --
Hi Oldes,
does anybody has/know some script for detecting type of operating
system rebol is running in?
There are win? and unix? system words, but I don't know what context they
live in to make use of them.
--Gregg
--
To unsubscribe from this list, please send an email to
[EMAIL
Hi,
switch system/version/4 [
1 [print I'm on AmigaOS]
2 [print I'm on MacOS]
3 [print I'm on Windows]
4 [print I'm on Linux Libc6]
...
]
See http://www.rebol.com/platforms.html for a complete list.
HTH,
-DocKimbel.
Gregg Irwin wrote:
Hi Oldes,
does anybody
Hi Oldes,
system/version can tell you.
It looks like the platform is encoded into the
version tuple at positions four and (usually) five.
MS Windows is 3.1
If you go to
http://www.rebol.com/view-platforms.html
you can see:
Microsoft Windows (All) iX86 1.2.1.3.1 view-pro031.zip
So a
Hi, Oldes,
RebOldes wrote:
Hello rebol-list,
does anybody has/know some script for detecting type of operating
system rebol is running in?
I think the following information will help you. It was snarfed
from the REBOL script embedded in
http://www.rebol.com/releases.html