on openStack
global theStart
local thetime
put the seconds into theStart
put the time into thetime
answer "Greetings!" & return & thetime titled "Hello World!"
timeup
end openStack
command timeup
global theStart
local theEnd
put the seconds into theEnd
answer "It took you " & (theEnd - theStart) & " seconds to tap that button!" titled "I was Counting"
namefun
end timeup
command namefun
local userName, theLen, theVowels, tLoop
ask "What's your name?"
put it into userName
put the length of userName into theLen
--
put 0 into theVowels
repeat with tLoop =1 to theLen
if character tLoop of userName is among the characters of "aeiou" then
add 1 to theVowels
end if
end repeat
answer "You have " & thelen & " letters in your name; " & theVowels & " of them are vowels"
end namefun
If you built for Mac Universal, you might want to consider Mac Intel. Look at the checkboxes on the top of the Mac tab of the standalone builder setup.
I made a Universal app with almost nothing in it, and it was 8.6 MBytes. Changing it to Intel only cut that down to 4.5 MB.
Remember that a working LC engine is integrated into your app. The stack itself that I made was 9K. A complex stack might be 900K, if it had no fancy stuff like embedded sounds and videos, but just lots of LC functionality.
DarScott wrote:If you built for Mac Universal, you might want to consider Mac Intel. Look at the checkboxes on the top of the Mac tab of the standalone builder setup.
I made a Universal app with almost nothing in it, and it was 8.6 MBytes. Changing it to Intel only cut that down to 4.5 MB.
Remember that a working LC engine is integrated into your app. The stack itself that I made was 9K. A complex stack might be 900K, if it had no fancy stuff like embedded sounds and videos, but just lots of LC functionality.
Hi blackangeldsf,
I read somewhere that liveCode 7.0 did make very large files (I think they are working on this).
Try liveCode 6.7, or the stable version of 6.6.1
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Simon wrote:Hi blackangeldsf,
I read somewhere that liveCode 7.0 did make very large files (I think they are working on this).
Try liveCode 6.7, or the stable version of 6.6.1