Can you help me learn? I can't understand it!

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

stam
Posts: 3060
Joined: Sun Jun 04, 2006 9:39 pm

Re: Can you help me learn? I can't understand it!

Post by stam » Tue Oct 18, 2022 1:22 am

richmond62 wrote:
Mon Oct 17, 2022 2:06 am
No, Craig: there is no 'wrongheaded'.

There are results.
Well, yes and no.

Fine if you want a quick small project out ASAP. And fine for a project you write for yourself, and not a project you take on for others.

In larger projects you can end up in a real pickle with spaghetti code all over the place - again it's fine if it works - right up to the point when you come back to it 6-12 months later and want to upgrade stuff. Then it's no so fine...

With larger projects it's often better to spend a bit of time planning it through first, in whatever way suits you but which leaves you with code you can go back to without having to re-invent the wheel... I learned that the hard way in projects i did in another dev environment and, well, never again ;)

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

Re: Can you help me learn? I can't understand it!

Post by dunbarx » Tue Oct 18, 2022 2:52 am

I make a real effort to to modularize code, to make sure handlers are just high enough in the hierarchy (sorry Jacque) to cover the controls they, er, control, and to offload functions and called handlers so that the main flow can, er, flow without being "interrupted" by lengthly gadgetry that simply pushes the next phase so far away that I lose the thread of the whole.

I think I make a good balance between millions of small function and command handlers and the monstrosity of a single long one. I am sure everyone knows what I am trying to get across.

So what I meant by mainly ignoring my one serious attempt at flowcharting was that, though I was able to plan the layout of the card itself, which did help, I could not plan the flow of the scripts. Until I was in the trenches, I could never have anticipated the methods and byways and hoops I had to go through to make the thing work.

Like I said, this is likely wrongheaded, lazy and shows a lack of formal training and rigor. Perhaps I could never work with a team in a large firm. Fortunately i do not have to.

Craig

Lorena
Posts: 9
Joined: Mon Oct 10, 2022 5:04 pm

Re: Can you help me learn? I can't understand it!

Post by Lorena » Thu Nov 03, 2022 9:49 pm

Thank you all for your loving support!
It's not boys, but finally some girls too!
I am sending you the "solution" I found not to throw away my messy stack. However practicing with buttons has made me learn so many things.
I try to answer everyone briefly....
Sorry for the scary delay but they cut an internet cable nearby and for days we didn't even have cell phone service!
Klaus wrote:
Tue Oct 11, 2022 7:01 pm
I can recommend to go through one or all of these stacks to get the basics of LC:
Thank you Klaus, very very interesting indeed, I downloaded everything and set out again to study all the stacks!
richmond62 wrote:
Tue Oct 11, 2022 7:57 pm
If I read your posting correctly, what you want to do should be 100% possible:
Thanks Richard, actually this would be the right method! You made me discover the command "send"!
FourthWorld wrote:
Tue Oct 11, 2022 8:18 pm
We have another member here who also speaks Italian and we share similar music tastes. Glad you like that one. Many hear the song as I do, a general metaphor for learning anything, but David Gilmour noted in an interview that it was quite literal, his reflections one learning to fly airplanes. :)

In one part of life or another, we're all learning to fly.

I didn't know that! I thought it was a metaphor too! Go figure! And I didn't even know there was an Italian-speaking user with such refined tastes :) I read about your battle for LiveCode at school and I wrote you a private message, so maybe we make friends and can communicate in a "faster" way since this is obviously not our mother tongue...
I also saw your nice site and "instructional" links for learning LiveCode (many are offline but I found almost all of them on archive dot org). Thank you very much!
dunbarx wrote:
Tue Oct 11, 2022 8:41 pm
My point is twofold. First, have fun with the process. Second, there are well over 2000 language elements, which cover a wide range of arenas, such as the web, Unicode, font nightmares, etc. You only need, to do real work, to know perhaps 50-75 of those and how to use them. You can then add as you need, depending on what you want to do. In other words, you can specialize.
Thanks Craig for the valuable suggestions. I am starting to use the guide although, of course, being a novice, I understand very little of everything...but I am stubborn!
stam wrote:
Wed Oct 12, 2022 11:13 am
An often unappreciated resource is also the LiveCode course on Udemy. It’s not free but it’s cheap and while focused mainly on mobile will get the basics in, if you prefer a video-style tutorial at beginner level.
The course is a little bit dated now so layout in the IDE may be a bit different but it’s quite useable.
Thanks stam, I will look it up now, although I am interested in the desktop for now.... Do you know if there are any video courses for beginners on Youtube? I've searched but can't find anything organic... at least from the Italian "bubble"...

richmond62 wrote:
Sat Oct 15, 2022 8:02 pm
If you are "really desperate", you can have a look here:
Oh Richmond! It would be really nice to see these Facebook resources but long ago Mark banned me because he disagreed with me about some art history paintings showing female nudes (!), crazy stuff! Anyway I try to enter with a friend of mine who doesn't have these problems instead com Mark.... Thanks for wanting to help us beginners!
dunbarx wrote:
Sat Oct 15, 2022 11:56 pm
Again, step by step.
Thank you for your advice...I feel that way, too..! :)
jacque wrote:
Sun Oct 16, 2022 5:44 pm
LC is versatile enough to do that.
Although I have no experience ... I would say I am living proof!

--------------------------------

I hope I haven't forgotten anyone...
In short, thank you all!
And thank you for making me feel comfortable!


Lorena
Attachments
Learning to fly II.zip
(875 Bytes) Downloaded 125 times

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

Re: Can you help me learn? I can't understand it!

Post by jacque » Fri Nov 04, 2022 2:10 am

Livecode has a great resource too:
https://lessons.livecode.com
Just type a question or a topic and there is often an answer. But read the User Guide to learn the basics first, it is available in the Help menu.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

stam
Posts: 3060
Joined: Sun Jun 04, 2006 9:39 pm

Re: Can you help me learn? I can't understand it!

Post by stam » Fri Nov 04, 2022 11:31 am

jacque wrote:
Fri Nov 04, 2022 2:10 am
But read the User Guide to learn the basics first, it is available in the Help menu.
I've been meaning to read it since I started working seriously with LC - still haven't managed to after 2 years ;)

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

Re: Can you help me learn? I can't understand it!

Post by jacque » Fri Nov 04, 2022 5:45 pm

stam wrote:
Fri Nov 04, 2022 11:31 am
I've been meaning to read it since I started working seriously with LC - still haven't managed to after 2 years ;)
Heh. I haven't read it completely either but if I can't find an answer in the dictionary, I check the User Guide before I get mad and irascible. Then I get crabby.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Can you help me learn? I can't understand it!

Post by Klaus » Fri Nov 04, 2022 5:53 pm

"irascible" and "crabby", two new words learned, thank you, Jacque! :-)

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 489
Joined: Thu Sep 04, 2008 6:23 am

Re: Can you help me learn? I can't understand it!

Post by jameshale » Sat Nov 05, 2022 12:53 am

The Guide tab of the dictionary in the IDE contains all the content from the user guide.
In fact the User Guide is simply a collation of these individual guides.
For those using Dash to read the docs, these are available on the “home” page of the LiveCode docset.
N.B. The user guide used to be a separate document but that was quite a few versions ago.

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

Re: Can you help me learn? I can't understand it!

Post by jacque » Sat Nov 05, 2022 2:34 am

Interesting. I think it must be both. When I choose the user guide from the Help menu, a PDF opens in Preview. It's nice to have choices.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 489
Joined: Thu Sep 04, 2008 6:23 am

Re: Can you help me learn? I can't understand it!

Post by jameshale » Sat Nov 05, 2022 6:23 am

Yes I think it is compiled on the fly from the parts.

Post Reply