Transform IP address to String
[1/6] from: laurent:bois:free at: 27-Nov-2002 1:00
Content-Type: Text/Plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,=0D
=0D
I'm newbie in Rebol.=0D
I'd like to transform my Local IP address to a string (text formatted) to
include it in a mail body.=0D
Has someone an example to do this?=0D
=0D
Thank You=0D
=0D
Laurent
-- Binary/unsupported file stripped by Listar --
-- Type: image/gif
-- File: IMSTP.gif
[2/6] from: greggirwin:mindspring at: 26-Nov-2002 17:32
Hi Laurent,
LB> I'd like to transform my Local IP address to a string (text formatted) to
LB> include it in a mail body.
Is this what you want?
>> to string! system/network/host-address
== "169.254.209.147"
or
>> form system/network/host-address
== "169.254.209.147"
-- Gregg
[3/6] from: laurent::bois::free::fr at: 27-Nov-2002 11:25
En réponse à Gregg Irwin <[greggirwin--mindspring--com]>:
Thanx Gregg
Do you know good tutorials for Rebol.
I checked the ones on Rebol.com website : are there others?
Laurent
[4/6] from: lmecir:mbox:vol:cz at: 27-Nov-2002 12:00
Hi Laurent,
> Do you know good tutorials for Rebol.
>
> I checked the ones on Rebol.com website : are there others?
>
> Laurent
Check www.rebolforces.com
-L
[5/6] from: greggirwin:mindspring at: 27-Nov-2002 11:14
Hi laurent,
lbff> Do you know good tutorials for Rebol.
lbff> I checked the ones on Rebol.com website : are there others?
As Ladislav said, REBOLForces is good. CodeConscious is another good
site. Hit the various reb sites from the View desktop to see what some
others have done, and stay on this ML. :) I found the Core docs on the
REBOL site to be most helpful when getting started but this list is
the best resource for fast answers.
Happy REBOLing!
-- Gregg
[6/6] from: christophe:coussement:mil:be at: 27-Nov-2002 14:36
try:
>> ? form
USAGE:
FORM value
DESCRIPTION:
Converts a value to a string.
FORM is a native value.
ARGUMENTS:
value -- The value to form (Type: any)
==christophe