Page 1 of 1
Low Ceiling in v.8.1
Posted: Wed Sep 14, 2016 3:34 pm
by dunbarx
So I am trying to move forward, you know.
I opened a project that was developed in v6.7 into v 8.1. Same Mac. The following line threw an error:
Code: Select all
if the label of btn "ceiling" = "specLength" then put "0" into ceiling --A169
"Bad chunk" is the complaint. Changing the variable "ceiling" to "tCeiling" (or "xyzabc") fixes the error. But why? "Ceiling" is not a reserved word, I believe. Whether it is sane to use that word both as a literal and as a variable is a matter of style, no?
On another note, all my text and object labels are now crowded and often are too large and ungainly to fit where they used to sit just fine. Many of the IDE gadgetry suffers the same issues, such as most of the stuff in the preferences stack. Is there a property that will change all the new ugliness to the original beautifulness? I can alway go through each control and reset text properties, but, well, that will keep me in v.6x for quite a while.
Craig Newman
Re: Low Ceiling in v.8.1
Posted: Wed Sep 14, 2016 3:42 pm
by Klaus
Hi Craig,
confirmed on LC 8.1!
Since "ceiling" is not a reserved word, I think this is a bug!
Best
Klaus
Re: Low Ceiling in v.8.1
Posted: Wed Sep 14, 2016 4:02 pm
by dunbarx
Klaus.
Er, thanks. I assumed it had something to do with more stringent rules in v.8. as opposed to one random word in the english dictionary.I will let the team know.
Do you see overcrowding of button labels like I do? And clunkier text properties overall? And do you have to hack the IDE tool stacks to make their buttons large enough to display their default data? I am assuming that these details will be ironed out, but even the tool palette is still unbearably ugly. And I am not talking only about the widgets section. The whole thing is just poorly rendered.
Craig
Re: Low Ceiling in v.8.1
Posted: Wed Sep 14, 2016 4:23 pm
by dunbarx
Klaus.
It turns out that "ceiling" is a synonym for "ceil", a new math function. It just does not exist at all in the v.8.1 API. MaxV told the team about this, and it was reported fixed. Nope.
That is what threw me. I checked "ceiling" and got nothing. I did not pause while typing to notice that the string "ceil" popped up momentarily before disappearing again.
Craig
Re: Low Ceiling in v.8.1
Posted: Wed Sep 14, 2016 5:35 pm
by FourthWorld
Seems odd that only the abbrev form would be documented. May be good to submit a request to have the full form listed as well.
Re: Low Ceiling in v.8.1
Posted: Wed Sep 14, 2016 5:50 pm
by dunbarx
Richard.
Done. Confirmed and promised to be updated.
Craig
Re: Low Ceiling in v.8.1
Posted: Wed Sep 14, 2016 6:35 pm
by FourthWorld
Thanks for catching that, Craig, and for submitting the report.
Re: Low Ceiling in v.8.1
Posted: Thu Sep 15, 2016 12:01 am
by mwieder
Um. What?
"ceiling" is indeed a reserved word. As is "floor".
They're math functions, and I added them to the engine two years ago.
Re: Low Ceiling in v.8.1
Posted: Thu Sep 15, 2016 1:58 pm
by dunbarx
Mark.
Correct. It is just that the word "ceiling" does not appear in the 8.1 dictionary, only "ceil". This is to be fixed.
Craig
Re: Low Ceiling in v.8.1
Posted: Thu Sep 15, 2016 4:44 pm
by jacque
For the text sizes, font rendering was overhauled in LC 7, and in LC 8 the default font for everything is now the system font. There's a way to set it back to the old hard coded font values, it's something about setting the theme I believe, but I can't recall exactly what you need to set it to.
Re: Low Ceiling in v.8.1
Posted: Thu Sep 15, 2016 5:25 pm
by dunbarx
Jacque.
Thanks. "Native" and "Legacy" are the two theme options.
Craig