UK Pensioners Forum
- Your forum for all OAP issues.
Email:
contact@pensionersforum.co.uk
Home
Help
Login
Register
Pensioners Forum
»
Main Boards
»
Hobbies and Interests
»
Computers & Technology
»
Let's Learn LiveCode computer programming
Print
Pages:
1
...
7
8
[
9
]
10
11
...
21
Author
Topic: Let's Learn LiveCode computer programming (Read 17861 times)
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #120 on:
Dec 15, 2019, 04:33:24 PM »
Let's open our
stack
from
yesterday
:
And
copy
the
GATHER INFO
button, and then
paste
that button into today's
stack
:
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #121 on:
Dec 15, 2019, 04:34:56 PM »
You should now have the
GATHER INFO
button in a silly place on today's
stack
.
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #122 on:
Dec 15, 2019, 04:40:56 PM »
We need to steal the
script
from the
GATHER INFO
button:
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #123 on:
Dec 15, 2019, 04:41:39 PM »
Let's
copy
the
selected
part of the
script
:
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #124 on:
Dec 15, 2019, 04:52:33 PM »
Before
we paste the script into our
GET DATA 2
button we need to prepare for that:
Whenever we start a line with two dashes
--
that line does not count as code;
this is useful for separating sections of code and for writing comments.
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #125 on:
Dec 15, 2019, 04:53:17 PM »
Now we can
paste
our copied
script
between the two lines:
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #126 on:
Dec 15, 2019, 04:55:05 PM »
Save
your
stack
.
Now
delete
the
GATHER INFO
button that we no longer need.
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #127 on:
Dec 15, 2019, 05:08:01 PM »
Now, we need to
modify
the
script
of button
GET DATA 2:
This is a
repeat loop
so that each time a new
data set
is entered
it ends up in a new
line
in the
scrolling list field
.The second modification makes sure the
data
goes into the
empty
line.
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #128 on:
Dec 15, 2019, 05:10:18 PM »
Save
your
stack
.
Now try entering a few
data sets
.
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #129 on:
Dec 15, 2019, 05:14:10 PM »
Well, I hope I didn't mislead you too much.
Next weekend I'll start on
data-sorting
.
Logged
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #130 on:
Dec 15, 2019, 05:30:28 PM »
Here's the link to
download
the completed exercise.
https://www.dropbox.com/s/a60p44up2f8wtlc/Day4_stage2.livecode.zip?dl=0
Logged
Yellowbird
Hero Member
Posts: 2480
Re: Let's Learn LiveCode computer programming
«
Reply #131 on:
Dec 15, 2019, 07:01:14 PM »
He Richmond the livecode programme it goes to download and keeps downloading megab but where the amount to be loaded is there is a question mark
Logged
Born sceptic grown even more sceptic sadly
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #132 on:
Dec 15, 2019, 07:44:36 PM »
OK,
Yellowbird
, let's take things slowly.
1. What version of the Mac Operating system are you using?
2. Is your problem with downloading LiveCode?
If you can answer those questions first that would be a great help.
Logged
Yellowbird
Hero Member
Posts: 2480
Re: Let's Learn LiveCode computer programming
«
Reply #133 on:
Dec 16, 2019, 01:01:43 PM »
Hi Richmond. I have a MacBook Air(13-inch, early 2015) running macOS Catalina version 10.15.Livecode starts to download there is a ? about the amount to be downloaded and it appears to down indefinitely until I finally have to delete. I’m about to give up
Logged
Born sceptic grown even more sceptic sadly
richmond62
Hero Member
Posts: 9193
Re: Let's Learn LiveCode computer programming
«
Reply #134 on:
Dec 16, 2019, 06:53:45 PM »
I'm sorry I took so long to respond: just had supper after a long, slightly bl**dy day at the chalk face.
That's very queer indeed.
Are you downloading this version?
Logged
Print
Pages:
1
...
7
8
[
9
]
10
11
...
21
Pensioners Forum
»
Main Boards
»
Hobbies and Interests
»
Computers & Technology
»
Let's Learn LiveCode computer programming
Please join us (its free).