[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Holding and then retrieving a variable.
[calc] gets interpolated before it is eval'ed. Frankly, I'm surprised
you didn't get a 'bareword' error by not having [item description]
quoted.
[calc]
...
$MyFreeItems .= q{[item description]} . "\n";
...
$Scratch->{myfreeitem} = $MyFreeItems;
[/calc]
Glen and Rosanne Eustace wrote:
>
> I have a some code which includes the following, I thought it used to
> work in MV4 but it certainly doesn't in IC. How is one supposed to do
> this ?
>
> [calc]
> ...
> $MyFreeItems .= [item description] . "\n";
> ...
> [set myfreeitem]$MyFreeItems[/set]
> [/calc]
>
> in another part of etc/report I had
> [scratch myfreeitem]
>
> I get the literal '$MyFreeItem' in the order not the list I had build
> up.
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -=-=-=
> Glen and Rosanne Eustace,
> GodZone Internet Services, a division of AGRE Enterprises Ltd.,
> P.O. Box 8020, Palmerston North, New Zealand 5301
> Ph/Fax: +64 6 357 8168, Mob: +64 21 424 015
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Developer - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users