Hi Skip This is what I do when building for mobile:
> on savingMobileStandalone pTargetType, pAppBundle > put "vanilla-tmControl-app" into tStack > --name > put the cRevStandaloneSettings["name"] of stack tStack into tName > set the cName of stack "vanilla-tmControl-app" to tName > > --version > put the cRevStandaloneSettings["ios,bundle version"] of stack tStack > into tVersion > set the cVersion of stack "vanilla-tmControl-app" to tVersion > > --buildNumber > put the cBuildNumber of stack tStack into tBuild > repeat for each char zz in tBuild > if char 1 of zz = "0" then replace "0" with nothing in zz > end repeat > add 1 to tBuild > put the len of tBuild into tLen > switch tLen > case 1 > put "0000" before tBuild > break > case 2 > put "000" before tBuild > break > case 3 > put "00" before tBuild > break > case 4 > put "0" before tBuild > end switch > set the cBuildNumber of stack tStack to tBuild > > --buildDate > put the long date & " : " & the time into tBuildDate > set the cBuildDate of stack tStack to tBuildDate > > --save the stack with above changes > save stack tStack > end savingMobileStandalone ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Getting-a-version-number-tp4684508p4684509.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode