local ticketsales, arraycustomerID, arrayticketID, arrayticketno, arraymethod, MyText
on mouseUp
initialise
get_file
read_file MyText, ticketsales, arraycustomerID, arrayticketID, arrayticketno, arraymethod
calculate_popular
calculate_total
display_data
export_data
end mouseUp
on ...
Search found 12 matches
- Wed Jan 11, 2017 3:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Wont display
- Replies: 7
- Views: 5584
- Wed Jan 11, 2017 2:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Wont display
- Replies: 7
- Views: 5584
Re: Wont display
Thank you Klaus, I appreciate the help.
- Tue Jan 10, 2017 1:10 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Wont display
- Replies: 7
- Views: 5584
Wont display
on mouseUp
initialise
get_file MyText
read_file MyText, ticketsales, arraycustomerID, arrayticketid, arrayticketno, arraymethod
calculate_popular arraymethod, mostused
calculate_total MyText, arraytickets, totalsale
display_data mostused, totalsale
export_data
end mouseUp
on initialise ...
- Fri Dec 09, 2016 2:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Not displaying the correct way.
- Replies: 3
- Views: 3441
Not displaying the correct way.
i have to make my code display in this format..
The most popular method of sales is XXXXX
The total money raised for charity is £XXXXX
But i am unsure how to do this as the help i was given did not format it in this way.
on mouseUp
initialise
read_in MyText
display_answer buyerinfo ...
The most popular method of sales is XXXXX
The total money raised for charity is £XXXXX
But i am unsure how to do this as the help i was given did not format it in this way.
on mouseUp
initialise
read_in MyText
display_answer buyerinfo ...
- Fri Dec 02, 2016 3:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Coursework
- Replies: 14
- Views: 9672
Re: Coursework
Thank you, it is working now.
- Fri Dec 02, 2016 3:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Coursework
- Replies: 14
- Views: 9672
Re: Coursework
Code: Select all
display_answer buyerinfo, buyername, buyersurname, numbertickets
- Fri Dec 02, 2016 2:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Coursework
- Replies: 14
- Views: 9672
Re: Coursework
It works now but theres a problem with the top of the code.
button "Get amount of tickets": execution error at line 25 (Handler: error in parameter expression) near "display_answer", char 1
button "Get amount of tickets": execution error at line 25 (Handler: error in parameter expression) near "display_answer", char 1
- Wed Nov 30, 2016 3:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Coursework
- Replies: 14
- Views: 9672
Coursework
I need to add up all of the "s" and "W" in a file, how can i do this?
this is what ive done so far.
on mouseUp
initialise
read_in MyText
display_answer buyerinfo, buyername, buyersurname, numbertickets
findingsales arraym
end mouseUp
on initialise
put "" into MyText
put "" into buyerinfo ...
this is what ive done so far.
on mouseUp
initialise
read_in MyText
display_answer buyerinfo, buyername, buyersurname, numbertickets
findingsales arraym
end mouseUp
on initialise
put "" into MyText
put "" into buyerinfo ...
- Tue Nov 22, 2016 12:20 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Not displaying the percentage.
- Replies: 6
- Views: 5263
Re: Not displaying the percentage.
How can I put the file into myText?
- Fri Nov 18, 2016 11:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Not displaying the percentage.
- Replies: 6
- Views: 5263
Re: Not displaying the percentage.
Thanks for the help, I will try what you have told me when I get the chance.
Michaella
Michaella
- Fri Nov 18, 2016 3:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Not displaying the percentage.
- Replies: 6
- Views: 5263
Not displaying the percentage.
on mouseUp
initialise myText, arrayname, arraymark, arraypercentage, student
getfile myText
readfile student, arrayname, arraymark, arraypercentage
end mouseUp
on initialise @myText, @student, @arrayname, @arraymark, @arraypercentage
put "" into myText
put 0 into student
put "" into ...
initialise myText, arrayname, arraymark, arraypercentage, student
getfile myText
readfile student, arrayname, arraymark, arraypercentage
end mouseUp
on initialise @myText, @student, @arrayname, @arraymark, @arraypercentage
put "" into myText
put 0 into student
put "" into ...
- Tue Nov 15, 2016 12:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problem
- Replies: 10
- Views: 60281
Problem
When I am trying to execute the code an error appears stating:
(Repeat: error in 'with' end condition expression)
I am unsure of what this means, could someone help?
(Repeat: error in 'with' end condition expression)
I am unsure of what this means, could someone help?