in realtà l'ho pubblicato, se hai fatto caso ai post a cui tu hai risposto.
Comunque eccolo di nuovo
I do my apologies for the delay with which I answer, fault of a difficult time with the Covid.
In the end I chose an intermediate solution, which is this:
on mouseUp pButtonNumber
put the text ...
Search found 90 matches
- Thu Apr 14, 2022 9:20 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to use an array?
- Replies: 24
- Views: 16936
- Thu Apr 14, 2022 8:51 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to use an array?
- Replies: 24
- Views: 16936
Re: How to use an array?
The fact is that I am taking advantage of this thing that came to me to resolve the problems meeting in doing it, language problems. In other words it is a way to learn how to use LiveCode to do what I want to do.
I thank you very much for the inspiration you gave me, I'll keep it in mind if I won ...
I thank you very much for the inspiration you gave me, I'll keep it in mind if I won ...
- Thu Apr 14, 2022 5:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to use an array?
- Replies: 24
- Views: 16936
Re: How to use an array?
Not sure i understand what you're trying to do...?
I get that you want to represent letters as numbers - and that's been discussed above.
I don't understand the role of the 'special chars'?
The special characters do not have much importance for the purposes of what I want to do, they are just ...
- Thu Apr 14, 2022 3:50 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to use an array?
- Replies: 24
- Views: 16936
Re: How to use an array?
I do my apologies for the delay with which I answer, fault of a difficult time with the Covid.
In the end I chose an intermediate solution, which is this:
on mouseUp pButtonNumber
put the text of field "txtSeeds" into seed
put 1 into counter
repeat for each words temp in seed
put Encode ...
In the end I chose an intermediate solution, which is this:
on mouseUp pButtonNumber
put the text of field "txtSeeds" into seed
put 1 into counter
repeat for each words temp in seed
put Encode ...
- Fri Mar 25, 2022 8:47 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to use an array?
- Replies: 24
- Views: 16936
How to use an array?
Salutations,
I would like to replace the letters of the alphabet with numbers.
A = 1 b = 2 c = 3 ...
I thought I was using an array instead of a switch, 26 possibilities are too many, to find out what the letter is and extract its number.
However, I cannot implement it correctly. Could I have a ...
I would like to replace the letters of the alphabet with numbers.
A = 1 b = 2 c = 3 ...
I thought I was using an array instead of a switch, 26 possibilities are too many, to find out what the letter is and extract its number.
However, I cannot implement it correctly. Could I have a ...
- Thu Apr 09, 2020 7:50 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Combination of list of word
- Replies: 3
- Views: 4188
Re: Combination of list of word
It is enough for me to insert it in a text file, but there are eighteen words and I believe that the number of combinations will be quite high, I don't know if there will be problems to do it.
- Wed Apr 08, 2020 9:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Combination of list of word
- Replies: 3
- Views: 4188
Combination of list of word
Hi to all,
I have a list of words:
mario
andrea
gianni
watermelon
apple
pear
...
...
what I would like is to find every possible sorting combination:
andrea
mario
watermelon
pear
apple
gianni
...
...
mario
gianni
pear
andrea
watermelon
apple
...
...
can anyone give me ...
I have a list of words:
mario
andrea
gianni
watermelon
apple
pear
...
...
what I would like is to find every possible sorting combination:
andrea
mario
watermelon
pear
apple
gianni
...
...
mario
gianni
pear
andrea
watermelon
apple
...
...
can anyone give me ...
- Thu May 09, 2019 7:05 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Modify date
- Replies: 6
- Views: 5949
Re: Modify date
Iff you want to convert your dates to this format: Day-Month-Year I suppose you could do this:
set the itemDel to tab
repeat with x = 1 to the number of lines of myArray
answer item 2 of line x of myArray
put item 2 of line x of myArray into miadata
set the itemDel to "-"
put item 1 of ...
- Thu May 09, 2019 7:03 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Modify date
- Replies: 6
- Views: 5949
Re: Modify date
Hi Alessio,
Maybe this lesson will help you understand the conversion a bit better.
The date and the short date are identical, by the way.
The date form returns the month number, the day of the month, and the last two digits of the year, separated by slashes (/).
The short date form returns ...
- Thu May 09, 2019 7:02 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Modify date
- Replies: 6
- Views: 5949
Re: Modify date
Buongiorno Alessio,
and do not confuse yourself:
put revDataFromQuery(, , conn, sqlGodute) into myArray
revdatafromquery() does NOT return an ARRAY, but a CR and TAB delimited simple list of text!
:D
Best
Klaus
Yes Klaus. I took an example on how to extract the data from the database ...
- Wed May 08, 2019 6:36 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Modify date
- Replies: 6
- Views: 5949
Modify date
Hello
I'm back to you with a question of mine, simple for everyone but hard for me :D
I have this data which I retrieve from a database
put revDataFromQuery(, , conn, sqlGodute) into myArray
which contains this
21 2018-12-23 7 Ferie
22 2018-12-22 8 ROL
24 2019-03-27 1 ROL
30 2019-04-29 4 ...
I'm back to you with a question of mine, simple for everyone but hard for me :D
I have this data which I retrieve from a database
put revDataFromQuery(, , conn, sqlGodute) into myArray
which contains this
21 2018-12-23 7 Ferie
22 2018-12-22 8 ROL
24 2019-03-27 1 ROL
30 2019-04-29 4 ...
- Thu Apr 25, 2019 6:37 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Use images of a stack in another stack
- Replies: 19
- Views: 12523
Re: Use images of a stack in another stack
It's nice that my questions give way to debates that are always so shared
Turning to the question, given that the images are few and I use them in some buttons, could it be corrected if I recreated the card in the new stack or is it wrong?
Turning to the question, given that the images are few and I use them in some buttons, could it be corrected if I recreated the card in the new stack or is it wrong?
- Wed Apr 24, 2019 8:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Use images of a stack in another stack
- Replies: 19
- Views: 12523
Use images of a stack in another stack
Hello,
I have images in a card that I use without problems through the property inspector.
I would like to use them also in another card of a different stack, but from the property inspector do not appear, do I have to duplicate the card in the stack in use or do I have to call them by code ...
I have images in a card that I use without problems through the property inspector.
I would like to use them also in another card of a different stack, but from the property inspector do not appear, do I have to duplicate the card in the stack in use or do I have to call them by code ...
- Mon Apr 15, 2019 3:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: tabKey o exitField
- Replies: 5
- Views: 5605
Re: tabKey o exitField
You're right, I will do so.FourthWorld wrote: Sun Apr 14, 2019 7:59 pm You might consider closeField rather than exitField. closeField is sent when leaving a field after the contents have changed, while exitField is sent when the field has not changed. Probably not much validation needed when the field doesn't change.![]()
Thanks
- Sun Apr 14, 2019 10:21 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: tabKey o exitField
- Replies: 5
- Views: 5605
tabKey o exitField
Hi everyone,
I have a text validation function in a field that I call when I go to the next field.
Since I wish I could use both the tab key and the mouse to move, I call it both on tabKey and on exitField (if I use the mouse).
The fact is that after tabKey is still called exitField (which is ...
I have a text validation function in a field that I call when I go to the next field.
Since I wish I could use both the tab key and the mouse to move, I call it both on tabKey and on exitField (if I use the mouse).
The fact is that after tabKey is still called exitField (which is ...