Search found 27 matches

by ninjabunny14
Thu Jul 18, 2013 10:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unable to build app for testing - Android
Replies: 0
Views: 1706

Unable to build app for testing - Android

When I was trying to build my app for an Android 2.2 emulator using LiveCode's Test function, it came up with this error: Unable to build app for testing: could not generate package mainfest What can I do to stop this from happening? I know my emulator is set up correctly in the preferences but I am...
by ninjabunny14
Sun Jun 23, 2013 2:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Error while saving standalone application
Replies: 2
Views: 4723

Re: Error while saving standalone application

Ok thank you. However, what I find odd is that about a year ago, just under, I created another app after doing all the things said in the lesson and it all worked fine. Have things been updated since then? Do you have to emulate it before you can save it?
by ninjabunny14
Mon Jun 17, 2013 7:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Error while saving standalone application
Replies: 2
Views: 4723

Error while saving standalone application

Hi guys, Have reached another problem in the final stages of completing my stack. I have been working on this project for a couple months now and it is finally complete. The aim of the app was for you (as the user) to be able to have a type of calculator which performed a certain sequence of sums on...
by ninjabunny14
Wed Jun 12, 2013 7:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a given result
Replies: 18
Views: 13780

Re: Using a given result

Yeah slight issue on my department.... it appears I either forgot to select private/company so I was turning out big figures. Thank you for all your help!! :D :D Is there any way I can make the UO %age say 4% for example (instead of 0.04) and the maths still working knowing that LiveCode doesn't kno...
by ninjabunny14
Tue Jun 11, 2013 7:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a given result
Replies: 18
Views: 13780

Re: Using a given result

I find this very strange... how come yours works and mine doesn't I got:
price: 525000
UO %age: 15
Uo: 7875000
ITS fee: 35437.5
Using the exact same lite stack I posted. Any ideas? Did you modify any code at all?
by ninjabunny14
Sun Jun 09, 2013 4:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a given result
Replies: 18
Views: 13780

Re: Using a given result

yes I know its a shrunk down version I forgot to remove all the code that was in the new version. you can choose to ignore it
by ninjabunny14
Sun Jun 09, 2013 11:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a given result
Replies: 18
Views: 13780

Re: Using a given result

Hi all. Thank you for your support. I have uploaded a lite version for you guys to work with. You can see the expected results in my previous posts.

Thank you for all the support,

ninjabunny14 :) :)
by ninjabunny14
Sat Jun 08, 2013 11:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a given result
Replies: 18
Views: 13780

Re: Using a given result

ok thanks guys. a test value would be price = 525000
should read UO %age: 4%
UO: 21000
ITSfee: 9450
VAT: 1890

sorry i keep reposting this I have a serious deadline that i am already overrunning :(
by ninjabunny14
Thu Jun 06, 2013 6:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a given result
Replies: 18
Views: 13780

Using a given result

Hi guys I am nearly finished with my whole app but the last part where I seem to be forever going wrong won't work. The basic idea is for the imputed price to be used to work out how big the percentage should be based on the price and then multiply the price by the percentage and for it to be displa...
by ninjabunny14
Tue Jun 04, 2013 7:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting the result into a field
Replies: 11
Views: 9125

Re: Putting the result into a field

Ok thanks will let you know if it all works (HOPEFULLY I DON'T MESS UP AGAIN :P) Ok that didn't work :P :( Here is the whole thing: Card "Stamp Duty Calculator" Script: function calculatePercentage pType, pPrice -- the parameters passed to this function have been given more meaningful names -- chec...
by ninjabunny14
Tue Jun 04, 2013 6:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting the result into a field
Replies: 11
Views: 9125

Re: Putting the result into a field

Ok thanks will let you know if it all works (HOPEFULLY I DON'T MESS UP AGAIN :P)
by ninjabunny14
Mon Jun 03, 2013 6:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting the result into a field
Replies: 11
Views: 9125

Re: Putting the result into a field

Thank You SparkOut this is of much help. This now works out the percentage but when I then try to multiply this percentage by another figure nothing happens. function calculatePercentage pType, pPrice -- the parameters passed to this function have been given more meaningful names -- check if the pTy...
by ninjabunny14
Sun Jun 02, 2013 10:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting the result into a field
Replies: 11
Views: 9125

Re: Putting the result into a field

Marek wrote:Change:
return "x%"
to:
put tG4 & " " & tG6 into field "UO %age"
in your if statement. Remove the last line.
Did that and suddenly the answer field started turning out massive numbers. All I am looking for is a way to find the returned result and put it in a field.
Thanks for the help
by ninjabunny14
Sun Jun 02, 2013 9:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting the result into a field
Replies: 11
Views: 9125

Re: Putting the result into a field

Ok thank you will try this out :)

Will let you know if anything bad happens D:
by ninjabunny14
Sun Jun 02, 2013 8:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting the result into a field
Replies: 11
Views: 9125

Putting the result into a field

Hi guys I have been working on a little project and I am now in the last stage of the proceedings but I have one small, probably very simple query Here is my code (well part of it): put the currentChoice of button "Purchase Type" into tG4 put field "Price Input" into tG6 if btn "Purchase type" = "Pr...