Hey, what %w exactly is (I mean, I know it's the string array creator part)?
A method? From what object?
Thanks!
- --
- ----------------------------
Eustáquio "TaQ" Rangel
eustaquiorangel@yahoo.com
http://beam.to/taq
Usuário GNU/Linux no. 224050
Its syntax (of the sugary variety).
Just think about as being in the same category as x = [ 1,2,3 ]
The [ and ,'s in this case aren't methods of anything persay, tis just the syntax for an array literal. %w is an alternate array literal syntax, it just does a bit more.
···
On Sep 21, 2005, at 5:16 PM, Eustaquio Rangel de Oliveira Jr. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey, what %w exactly is (I mean, I know it's the string array creator part)?
A method? From what object?
Thanks!
- --
- ----------------------------
Eustáquio "TaQ" Rangel
eustaquiorangel@yahoo.com
The easiest way to create, record and stream live video - Beings
Usuário GNU/Linux no. 224050
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
iD8DBQFDMc2+b6UiZnhJiLsRAj9SAJ9eO7x4Pnw2ceApWLKZII2cNEuxaQCeLbeI
cfhpQR0dCo8LHiAkFlcdqek=
=OUVs
-----END PGP SIGNATURE-----
Hi,
Its syntax (of the sugary variety).
and if you really want to see how it is implemented have a look at the function yylex() in the file parse.c.
You'll find something like:
case 'w':
lex_strterm = NEW_STRTERM(str_squote | STR_FUNC_QWORDS, term, paren);
do {c = nextc();} while (ISSPACE(c));
pushback(c);
return tQWORDS_BEG;
But I believe you were looking for Logans answer 
Lars
Hi!
> Its syntax (of the sugary variety).
and if you really want to see how it is implemented
have a look at the
function yylex() in the file parse.c.
But I believe you were looking for Logans answer 
To be honest, for both answers. 
Thanks Lars and Logan.
···
----------------------------
Eustáquio "TaQ" Rangel
eustaquiorangel@yahoo.com
Usuário GNU/Linux no. 224050