--UEbtx6mvDyyRl/If
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Daniel Carrera (dcarrera / math.umd.edu) wrote:

> On Sat, Feb 08, 2003 at 08:44:04AM +0900, Mark Slagell wrote:
>=20
> > >>>Math.PI
> >=20
> > Math::PI
>=20
> Oh.
> What's the difference between '.' and '::' ?
> I thought they were just alternate syntaxes.

only for methods, constants always use ::

--=20
Eric Hodel - drbrain / segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04


--UEbtx6mvDyyRl/If
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+RExZMypVHHlsnwQRAus7AJ9bfyzFehlTsmUNuE7xRcmdd4PyQQCg2ERE
IgCaRe5646F3AvWmd5gcQTw=
=djgm
-----END PGP SIGNATURE-----

--UEbtx6mvDyyRl/If--

Daniel Carrera (dcarrera / math.umd.edu) wrote:

> On Sat, Feb 08, 2003 at 08:44:04AM +0900, Mark Slagell wrote:
>=20
> > >>>Math.PI
> >=20
> > Math::PI
>=20
> Oh.
> What's the difference between '.' and '::' ?
> I thought they were just alternate syntaxes.

only for methods, constants always use ::

--=20
Eric Hodel - drbrain / segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+RExZMypVHHlsnwQRAus7AJ9bfyzFehlTsmUNuE7xRcmdd4PyQQCg2ERE
IgCaRe5646F3AvWmd5gcQTw=
=djgm
-----END PGP SIGNATURE-----