Re: Rounding in LiveCode vs Excel

2022-01-18 Thread Andreas Bergendal via use-livecode
Just to follow up on the rounding issue: Panos has now confirmed that round(5,-1) = 0 is indeed a bug, since at least LC 6(!!!): https://quality.livecode.com/show_bug.cgi?id=23522 /Andreas ___

Re: Rounding in LiveCode vs Excel

2022-01-09 Thread Andreas Bergendal via use-livecode
> Will using "statround()" instead of "round()" give you an Excel-comparable > outcome? Unfortunately not, I tried that too. /Andreas ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Rounding in LiveCode vs Excel

2022-01-09 Thread Andreas Bergendal via use-livecode
Hi all, TLDR; In LC: round(0.5,0) = 1 (Excel agrees) round(5,-1) = 0 (Excel disagrees and makes that 10!) I agree with Excel, I want the latter rounded to 10, not 0. Is LC doing it ’wrong’ and if so, why? Long version: I’m building software for a client that will do some calculations that

Re: Invalid mac/ios standalone engine file

2021-12-31 Thread Andreas Bergendal via use-livecode
Hi Panos, I had set the minimum deployment target to 15.0 or later. Changing it to 9.0 or later solved the problem! The new standalone was successfully deployed to device, as well as submitted for review on AppStore. I got this warning feedback (on top of the traditional "ITMS-90078: Missing

Invalid mac/ios standalone engine file

2021-12-31 Thread Andreas Bergendal via use-livecode
Hi all, So, following the release of LC 9.6.6 rc1, I took the plunge and upgraded my Mac to Monterey (12.1) and Xcode to 13.2.1. I now want to build an iOS15 version of my app and upload to AppStore, to prevent the crashing that has occurred for users with the iOS14 version. Everything works

iphoneDeviceModel lookup library

2021-10-04 Thread Andreas Bergendal via use-livecode
Status update: I've updated the library with a minor correction (two iPhone 11 versions with notch that weren't included in the script constants). I've also improved the demo stack a lot, so that it now works in the Simulator, if you indicate which device you will simulate, before deploying.

iphoneDeviceModel lookup library

2021-10-03 Thread Andreas Bergendal via use-livecode
Hi guys, This is for those of you who develop for iOS. We all know the challenge of getting the layout right for various iOS screens. ”The notch” (camera area at the top) is especially annoying, since there’s no easy way of knowing if the user’s device has one or not, and how many pixels it is

Re: Testers wanted for score tracking app

2021-09-30 Thread Andreas Bergendal via use-livecode
Thanks Mark! Here is a decent video on how to play (less than 2 minutes) https://www.youtube.com/watch?v=3fwtBomGp7Q And here are the basics in text: --- 12 wooden pins, numbered 1-12, are set up close together. Players stand 3-4 meters away and

Testers wanted for score tracking app

2021-09-30 Thread Andreas Bergendal via use-livecode
Hi all, I’ll soon release an app made with LiveCode to the App Store, but I’d like to have a few more external testers first to catch whatever I’ve missed. The app is called MölkkyMaster and is used for tracking the score when playing the outdoor throwing game Mölkky. The game is popular in

Re: numberformat question

2021-03-23 Thread Andreas Bergendal via use-livecode
A few years back I needed calculation to a precision of 300 decimals. I found a js solution by -hh in the forum, which solved my need: https://forums.livecode.com/viewtopic.php?f=93=29018=30 It runs in a browser widget, with easy input

Re: LC iOS Command 'mergPopActivity'

2020-10-19 Thread Andreas Bergendal via use-livecode
Graham wrote: ”[…] iOS Deployment, for me a nightmare compared with simply coding and debugging.” Indeed - I know the feeling, as do many of us, I believe. I wise man (Richard Gaskin actually) once said: ”Mobile development is like building a ship in a bottle.” I find that a very apt and

Re: Modal stacks cpu usage

2020-10-05 Thread Andreas Bergendal via use-livecode
Indeed, when I open the Message box and click the Pending messages tab, two messages always keep running there: _EnsureAccept (seems to have to do with the remote debugger library?) _revInternal_SavePreferences Just LC 9.6.1 running, no stacks. I’m also on Mojave. J. Landman Gay via

Re: iOS app erratically freezing up when loading audio files

2020-09-30 Thread Andreas Bergendal via use-livecode
Unfortunately, it didn’t work. It actually crashes the app in Simulator after doing it twice(!). On the first go, it's loading the audio file, by first setting the path to empty, then to the actual path. All is fine. Going back to gallery card, the player is stopped and deleted (as intended,

Re: iOS app erratically freezing up when loading audio files

2020-09-30 Thread Andreas Bergendal via use-livecode
Thanks Jacqueline, I’ll try that! I use LC business 9.6.1 stable, Xcode 11.3.1 J. Landman Gay via use-livecode Tue, 29 Sep 2020 22:17:57 -0700

iOS app erratically freezing up when loading audio files

2020-09-29 Thread Andreas Bergendal via use-livecode
Hi folks, I really need your help now. I’m developing a simple app for a client, to be run on iPads in an exhibition starting 8th Oct. It consists of two cards: a gallery card, with 16 photos a profile card which you go to by clicking a photo on the gallery card On the profile card this is

Re: Which git service suits a LiveCoder best?

2020-04-27 Thread Andreas Bergendal via use-livecode
As to the ’how’, I planned to move into script-only stacks more anyway, and will also test the Levure framework, and/or Script Tracker. I’m not sure if those two are compatible though? I mean, if I use Levure framework I can’t (needn’t?) use Script Tracker as well, right? Anyway, with the help

Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Andreas Bergendal via use-livecode
Thanks everyone for your feedback and insights. Nothing speaks against GitHub, it seems, so I’ll give that a try then. Andreas ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Which git service suits a LiveCoder best?

2020-04-22 Thread Andreas Bergendal via use-livecode
Hi everybody, first time posting to this list, so I hope I get it right… :) I need your wisdom on a slightly off-topic issue, though seen in the LiveCode perspective: I’ve never used git, but I want to start now. I’m working on several LC projects, some with co-developers, several with