@$%&%$#@ Hierarchy of chunks

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6179
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

@$%&%$#@ Hierarchy of chunks

Post by dunbarx » Wed Nov 11, 2015 5:48 pm

YOU KNOW, poor old HC never complained that there had to be some sort of "Smaller to Larger" hierarchy in chunk expressions. One could

Code: Select all

put line 3 of item 2 of var
But NOOO, LC believes items are always smaller than lines, and have to be, and will not compile the above. I NEED this flexibility.

I know this has been brought up before. I think by me. So I am ranting again. Is the parser so politically correct that it cannot bend at all? Who says items have to be smaller than lines? Hmmm? Who?

Scotland? Get ready for an enhancement request.

Craig Newman

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2123
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: @$%&%$#@ Hierarchy of chunks

Post by [-hh] » Wed Nov 11, 2015 9:42 pm

Hi Craig, Sir,

didn't test that in all LC versions, but in all I tried this works correctly:

Code: Select all

put line 3 of (item 2 of var)
Who learned me such things?
I think you gave me the tip a while ago ;-)
shiftLock happens

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6179
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: @$%&%$#@ Hierarchy of chunks

Post by dunbarx » Wed Nov 11, 2015 10:34 pm

Hermann.

I am getting old.

Anyway, even though it is a simple workaround. I still want the flexibility that HC had.

Thanks.

Craig

Post Reply

Return to “Feature Requests”