Comments in Actions

Is there a way to add comment lines in Actions?

By this I mean comments about the Action itself that are totally
ignored and don’t make it into the html. I don’t remember seeing one
documented.

David


David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden
www.ivdcs.co.uk


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi David,
Within your blocks you can use normal JavaScript
comments;

// this is a commented line

/*
This is a block of
commented text
that spans several
lines
*/

You can also add comments outside of the blocks as
Freeway will normally ignore anything it doesn’t understand.

<!action This is a comment that can be placed in an action and outside  
of a action-javascript block />

Regards,
Tim.

On 7 Jul 2010, at 11:42, David Ledger wrote:

Is there a way to add comment lines in Actions?

By this I mean comments about the Action itself that are totally
ignored and don’t make it into the html. I don’t remember seeing one
documented.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

At 11:48 +0100 7/7/10, Tim Plumb wrote:

Will using ‘<! stuff />’ prevent Action processing from expanding any
$variables or &Text; sequences that happen to be in ‘stuff’?

As in will

<!action section that puts &Item; into variable $item />

trip anything up, be recognised as if it were an illegal nested
action, or cause any evaluation or substitution of
&Item; or $item ?

As usual with me there is something highly devious going on here.

David

Hi David,
Within your blocks you can use normal JavaScript comments;

// this is a commented line

/*
This is a block of
commented text
that spans several
lines
*/

You can also add comments outside of the blocks
as Freeway will normally ignore anything it doesn’t understand.

<!action This is a comment that can be placed in an action and 
outside of a action-javascript block />

Regards,
Tim.

On 7 Jul 2010, at 11:42, David Ledger wrote:

Is there a way to add comment lines in Actions?

By this I mean comments about the Action itself that are totally
ignored and don’t make it into the html. I don’t remember seeing
one documented.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden
www.ivdcs.co.uk


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options