Hello,
as usual I turn here in complete despair after trying hard and remaining baffled.
I use figure and table counting variables. I insert the variable via Ctrl+T (so no mistyping). After that I see
Sure enough the output here is
but as you can see the using the variable at the bottom yields the desired result.
I played around with SETing the variable to 0 or 1 but the problem remains....
Also I wonder if the syntax in the help file is correct, beacuse it did nothing for me
Is the backslash correct here?
Thanks,
/Gerold
Invalid Variable Value
Moderators: Alexander Halser, Tim Green
-
- Posts: 113
- Joined: Fri Mar 06, 2015 12:09 pm
Invalid Variable Value
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 23156
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Invalid Variable Value
Hi Gerold,
Does it work when you remove the backslash from your variables?
No. That is just used to prevent variables from being evaluated in Help+Manual output. It's used in the documentation to enable the variables to be shown in examples and shouldn't be visible in the output. What's happening is that the backslash isn't being suppressed in the output when the sample variable has an additional modifier like the = character. I'll look into that. If you're using the backslash in your variables then they won't be evaluated, because it will actively prevent that.Is the backslash correct here?
Does it work when you remove the backslash from your variables?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 113
- Joined: Fri Mar 06, 2015 12:09 pm
Re: Invalid Variable Value
Hi Tim,
I see you are also bored on weekends
First, I was just hanging on to documentation as the last resort. This should IMHO work without any funmbling around (and it did). And ther is no explanantion for the 'INVALID VARIABLE VALUE' stuff.
When I do the setting
the PDF Outcome is
I see you are also bored on weekends
First, I was just hanging on to documentation as the last resort. This should IMHO work without any funmbling around (and it did). And ther is no explanantion for the 'INVALID VARIABLE VALUE' stuff.
When I do the setting
the PDF Outcome is
You do not have the required permissions to view the files attached to this post.
-
- Posts: 113
- Joined: Fri Mar 06, 2015 12:09 pm
Re: Invalid Variable Value
The only way to achieve what I want is to have an invisibe (white) caption block in the beginning explicitly setting the starting value to zero. So (keeping the first unneccessary caption readable for illustration purposes)
yields
.
If I'm not totally under 'Punsch'-Control (warm,sweet,high percentage alcohol drink) this looks like an unitialized variable problem to me.
Thnaks,
Gerold
yields
.
If I'm not totally under 'Punsch'-Control (warm,sweet,high percentage alcohol drink) this looks like an unitialized variable problem to me.
Thnaks,
Gerold
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 23156
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Invalid Variable Value
Hi Gerold,
Why not set the first instance of the variable to =1 and the second to -1 to force it to be the same number?
Why not set the first instance of the variable to =1 and the second to -1 to force it to be the same number?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 113
- Joined: Fri Mar 06, 2015 12:09 pm
Re: Invalid Variable Value
Hi Tim,
good idea, simple math. But is this the way it is designed?
Thx,
/gerold
good idea, simple math. But is this the way it is designed?
Thx,
/gerold
- Tim Green
- Site Admin
- Posts: 23156
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Invalid Variable Value
Pretty much so, yes. Each instance of a variable increments it, so if you use it twice in the same table you need to do something to prevent incrementation the second time.Gerold Krommer wrote: ↑Mon Nov 23, 2020 12:31 pm good idea, simple math. But is this the way it is designed?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.