You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by SainTiss <sa...@gmx.net> on 2003/10/31 12:37:48 UTC

RHS of #set directive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just read the Users Guide on the website, and something seems contradictory 
to me...

Somewhere in the beginning, it's stated that
"with Velocity there is no confusion about data types, as only strings 
(text-based information) may be passed to variables. "

Yet, a bit furthur on, it seems that integers and variable references, among 
others, can also be assigned to variables...

Am I understanding this the wrong way, or is this an error in the guide?

Cheers,

Hans

- -- 
Ark Linux - Linux for the Masses (http://arklinux.org)

Capitalism: 
You don't have any cows. The bank will not lend you money to buy cows, 
because you don't have any cows to put up as collateral.

Representative Democracy:
You have two cows. Your neighbors pick someone to tell you who gets the milk. 

In a world without walls and fences, who needs windows and gates?

Hans Schippers
2LIC INF
UA 2003-2004
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/okmMXlnUYIbmLOQRArH/AJ9yw+gZpEGy7B+xyzK5KEJ7m2JAmwCfds5u
re90bo6xPK+nmQUtuKf4Abc=
=G6nz
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: RHS of #set directive

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On Friday, October 31, 2003, at 06:37 AM, SainTiss wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I just read the Users Guide on the website, and something seems 
> contradictory
> to me...
>
> Somewhere in the beginning, it's stated that
> "with Velocity there is no confusion about data types, as only strings
> (text-based information) may be passed to variables. "
>
> Yet, a bit furthur on, it seems that integers and variable references, 
> among
> others, can also be assigned to variables...
>
> Am I understanding this the wrong way, or is this an error in the 
> guide?

That's baffling.  Anything can be assigned.  We'll fix that now.

>
> Cheers,
>
> Hans
>
> - --
> Ark Linux - Linux for the Masses (http://arklinux.org)
>
> Capitalism:
> You don't have any cows. The bank will not lend you money to buy cows,
> because you don't have any cows to put up as collateral.
>
> Representative Democracy:
> You have two cows. Your neighbors pick someone to tell you who gets 
> the milk.
>
> In a world without walls and fences, who needs windows and gates?
>
> Hans Schippers
> 2LIC INF
> UA 2003-2004
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQE/okmMXlnUYIbmLOQRArH/AJ9yw+gZpEGy7B+xyzK5KEJ7m2JAmwCfds5u
> re90bo6xPK+nmQUtuKf4Abc=
> =G6nz
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geirm@optonline.net


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org