Low Ceiling in v.8.1

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Low Ceiling in v.8.1

Post by dunbarx » Wed Sep 14, 2016 3:34 pm

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

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Low Ceiling in v.8.1

Post by Klaus » Wed Sep 14, 2016 3:42 pm

Hi Craig,

confirmed on LC 8.1!
Since "ceiling" is not a reserved word, I think this is a bug!


Best

Klaus

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: Low Ceiling in v.8.1

Post by dunbarx » Wed Sep 14, 2016 4:02 pm

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

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: Low Ceiling in v.8.1

Post by dunbarx » Wed Sep 14, 2016 4:23 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Low Ceiling in v.8.1

Post by FourthWorld » Wed Sep 14, 2016 5:35 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: Low Ceiling in v.8.1

Post by dunbarx » Wed Sep 14, 2016 5:50 pm

Richard.

Done. Confirmed and promised to be updated.

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Low Ceiling in v.8.1

Post by FourthWorld » Wed Sep 14, 2016 6:35 pm

Thanks for catching that, Craig, and for submitting the report.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Low Ceiling in v.8.1

Post by mwieder » Thu Sep 15, 2016 12:01 am

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.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: Low Ceiling in v.8.1

Post by dunbarx » Thu Sep 15, 2016 1:58 pm

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

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Low Ceiling in v.8.1

Post by jacque » Thu Sep 15, 2016 4:44 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: Low Ceiling in v.8.1

Post by dunbarx » Thu Sep 15, 2016 5:25 pm

Jacque.

Thanks. "Native" and "Legacy" are the two theme options.

Craig

Post Reply