Oh I see, so in Livecode the indentations and paragraphing does matter,
I think I'm ok for now, thanks!
Search found 6 matches
- Mon Aug 26, 2013 3:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: more than one action for if else
- Replies: 8
- Views: 8316
- Mon Aug 26, 2013 1:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: more than one action for if else
- Replies: 8
- Views: 8316
more than one action for if else
Hi
I have tried various programming languages and if/else is a neccessity in every language.
My question is, how do I perform more than one action using if/else statements?
For example:
if <condition>
then do <this>
and <this>
and <that>
else if <condition>
then do <this>
and <this>
and ...
I have tried various programming languages and if/else is a neccessity in every language.
My question is, how do I perform more than one action using if/else statements?
For example:
if <condition>
then do <this>
and <this>
and <that>
else if <condition>
then do <this>
and <this>
and ...
- Thu Aug 15, 2013 7:20 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Decrypting password in a database
- Replies: 1
- Views: 2127
Decrypting password in a database
Hi, I have a database file containing a table UaP with the fields of Username and Password
The password is salted and encrypted and then stored in the database.
However, when I try to take out the value and decrypt it, it doesnt return anything even though I could get the password
put ...
The password is salted and encrypted and then stored in the database.
However, when I try to take out the value and decrypt it, it doesnt return anything even though I could get the password
put ...
- Thu Aug 15, 2013 6:52 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Comparing variables
- Replies: 5
- Views: 4293
Re: Comparing variables
Oh, I see how I can apply that to my code.
Thanks a lot
Thanks a lot
- Thu Aug 15, 2013 10:47 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Comparing variables
- Replies: 5
- Views: 4293
Re: Comparing variables
Hi Simon,
I put "answer" because I wanted to check if the variable values match (answer displays "false"), however, that should not be the case as the variable values should match and "answer" should display true
I put "answer" because I wanted to check if the variable values match (answer displays "false"), however, that should not be the case as the variable values should match and "answer" should display true
- Thu Aug 15, 2013 8:05 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Comparing variables
- Replies: 5
- Views: 4293
Comparing variables
Hi everyone,
I am working on an code to check for errors, a simplified example is this:
get shell ("echo hello")
put it into h
answer h = "hello"
I am trying to take an error and match it to an appropriate hard coded string so that the program can respond accordingly.
However, it always returns ...
I am working on an code to check for errors, a simplified example is this:
get shell ("echo hello")
put it into h
answer h = "hello"
I am trying to take an error and match it to an appropriate hard coded string so that the program can respond accordingly.
However, it always returns ...