|
Hi
Remi,
Depends how you are using it.
I have
included a snippet from a previous email on this. Let me know if
you
need
more clarification.
cheers
Mike
There
was a bug fixed for 6.21 where get layer formula did not work at
all.
Now it
works, with the following limitation -
The
formula is not returned as a text string.
Basically this is due internal structure of a
formula.
It is
not reversable ie
to set
a formula you do
$formula = "i1 * 10"
and
then
set layer formula to
$formula ### or something
like this
which
sort of implies that you can do a
$text = get layer formula
println $text ### expect "i1 * 10" or
something
but
there are a few hidden steps inside set layer formula which
parses
the string into an expression which is then able to be
integrated
into
the data structure. Unfortunately there is no simple way to reverse
this
process. The only possible workaround is to save the formula
to
out to
disk and look at the text in the file. This is pretty clumsy (but
doable)...
---Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of rcorfini Sent: Monday, 14 January 2002 9:32 PM To: [EMAIL PROTECTED] Subject: Batch scripting
|
- Batch scripting rcorfini
- Mike Dunne
