Resources and tutorials issue
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Resources and tutorials issue
I was disappointed to find the "Listing all unique words" Resources section no longer allows the code to be copied and the Tutorial for the same thing is incomplete and has bugs in it.
Does anyone have the working stack?
It isn't that I can't be bothered to work it out for myself, but it should be working and would speed up something I am working on.
Thank you all.
Does anyone have the working stack?
It isn't that I can't be bothered to work it out for myself, but it should be working and would speed up something I am working on.
Thank you all.
Re: Resources and tutorials issue
Do you mean this one:
http://lessons.livecode.com/m/2592/l/12 ... ce-of-text?
Hm, I can copy everything from that page!?
What am I missing?
http://lessons.livecode.com/m/2592/l/12 ... ce-of-text?
Hm, I can copy everything from that page!?
Code: Select all
function uniqueWords pString
local tWordsList
repeat for each word tWord in pString
add 1 to tWordsList[tWord]
end repeat
return the keys of tWordsList
end uniqueWords
Code: Select all
repeat with x = 1 to the number of words in pString
add 1 to wordsList[tWordsList x of pString]
end repeat
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Resources and tutorials issue
I think the OP is missing something with his/her browser as I certainly have no problem
copying from that page.
copying from that page.
Re: Resources and tutorials issue
Thank you, I suspect it is the Edge browser in win 10.
I will try another way.
I will try another way.
Re: Resources and tutorials issue
I am sure it isn't the Browser. I tried Internet Explorer and that doesn't work saving the code either.
The item that fails to work is this shown in screenshot.
This is different from the Lessons example.
The item that fails to work is this shown in screenshot.
This is different from the Lessons example.
Re: Resources and tutorials issue
Please provide a link!
Re: Resources and tutorials issue
Heh heh, that is the Resource center ajperks, which is a little different than copying from a browser per se.
When you click "Copy Script", setup a new stack (default size is more than adequate).
Then with the new stack selected and focused, either right click on it and choose "Paste Objects", or hit [ctrl + v] (win or lin) or I think it is [cmd + v] (mac).
At that point, you should see the following:
When you click "Copy Script", setup a new stack (default size is more than adequate).
Then with the new stack selected and focused, either right click on it and choose "Paste Objects", or hit [ctrl + v] (win or lin) or I think it is [cmd + v] (mac).
At that point, you should see the following:
Re: Resources and tutorials issue
Resource center, AHA!
Re: Resources and tutorials issue
<Seeing a light come on....>
Re: Resources and tutorials issue
Thank you for the most helpful guidance. How would a new Livecode user know that?
This must have changed from my early days here.
This must have changed from my early days here.
Re: Resources and tutorials issue
Your very welcome
A new user to program (x) would probably not know all the ways they can find help from program (x), I didn't know when I started, I wager many others did / do not either, you find out just like I did, by visiting your friendly neighborhood forums
Dunno when your "early days" were, the IDE has been (more or less) in this state since 2.8 or so, prior to that, resources like this were listed in either 'tips' or 'tutorials', or (2.7, which was a change over version) you could download a video or pdf of the tip. 1.1.1 and 2.2 are 2 of my favorite versions for how the tips / documentation were formatted, outside of MC.
A new user to program (x) would probably not know all the ways they can find help from program (x), I didn't know when I started, I wager many others did / do not either, you find out just like I did, by visiting your friendly neighborhood forums
Dunno when your "early days" were, the IDE has been (more or less) in this state since 2.8 or so, prior to that, resources like this were listed in either 'tips' or 'tutorials', or (2.7, which was a change over version) you could download a video or pdf of the tip. 1.1.1 and 2.2 are 2 of my favorite versions for how the tips / documentation were formatted, outside of MC.