Search found 57 matches
- Wed Feb 06, 2019 2:36 pm
- Forum: iOS Deployment
- Topic: Building Standalone App, Error with SDK
- Replies: 10
- Views: 6654
Re: Building Standalone App, Error with SDK
Hello all, As the error message says, you need Xcode 10.0 (which includes the iOS 12.0 SDK) to build iOS standalones with LC 9.0.2. You can download Xcode 10.0 from Apple's official downloads page: https://developer.apple.com/download/more/ Support for building with Xcode 10.1 is coming in LC 9.0.3...
- Tue Feb 05, 2019 5:59 pm
- Forum: iOS Deployment
- Topic: Building Standalone App, Error with SDK
- Replies: 10
- Views: 6654
Building Standalone App, Error with SDK
I have installed XCode 10.1, and have LiveCode 9.0.2. Trying to save stack as a standalone application and I get this error: Screenshot 2019-02-05 at 16.55.24.png When I try and add Xcode to the LiveCode SDK Preferences, I get this: Screenshot 2019-02-05 at 16.59.09.png Any help would be appreciated...
- Thu Sep 21, 2017 5:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sorting a 2D Array
- Replies: 12
- Views: 7126
Re: Sorting a 2D Array
Aha. You do not have an array, in LC parlance. You have a table. An array is a very specific type of variable, and we can talk about them some other time. A table is invariably constructed similar to an excel spreadsheet, that is, rows are delimited by returns, and fields are delimited by tabs. The...
- Wed Sep 20, 2017 1:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sorting a 2D Array
- Replies: 12
- Views: 7126
- Wed Sep 20, 2017 1:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sorting a 2D Array
- Replies: 12
- Views: 7126
Re: Sorting a 2D Array
The 2-D array I am using is the row column type, like a table it is the elements one. What I need to do, is sort the values in the third "column" for each row, and write the sorted "table", so each row and column in the array, to a text file. This stuffs sort of new to me: my understanding from the ...
- Mon Sep 18, 2017 7:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sorting a 2D Array
- Replies: 12
- Views: 7126
Sorting a 2D Array
I have a two-dimensional array, raceTimes. The times (integers) will be in the third position of each "row", if you like. I'm trying to find a simple method to sort the values that are stored at position 3, lowest at the first index of the array. I tried looking around the LiveCode lesson library, b...
- Fri Sep 15, 2017 6:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Parameters and Global Variables
- Replies: 3
- Views: 2792
Re: Parameters and Global Variables
Thanks guys! That really helps!
- Fri Sep 15, 2017 1:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Parameters and Global Variables
- Replies: 3
- Views: 2792
Parameters and Global Variables
So I have code within a button: global fileData, newData, on mouseUp put empty into fileData put empty into newData readFile @fileData, @newData end mouseUp on readFile @fileData, @newData //Ask the user for the file in question and use the location //of the file to put the contents into the variabl...
- Mon Nov 07, 2016 12:08 am
- Forum: Windows
- Topic: Windows 7 - Default Program
- Replies: 1
- Views: 3096
Windows 7 - Default Program
For a while I have had an issue of setting LiveCode as the default program to load ".livecode" files on my PC. I've recorded what I am 'trying' to do, but it never works.
https://www.youtube.com/watch?v=km1YU0f06zY
If anyone can suggest how I can resolve this, I would highly appreciate it.
Thanks
https://www.youtube.com/watch?v=km1YU0f06zY
If anyone can suggest how I can resolve this, I would highly appreciate it.
Thanks
- Mon Oct 17, 2016 2:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Number Format
- Replies: 5
- Views: 4687
Re: Number Format
Thanks a lot! Works a treat!
- Mon Oct 17, 2016 12:32 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Number Format
- Replies: 5
- Views: 4687
Number Format
I have this piece of code which works perfectly: set numberformat to "0.00" -- Not sure if this is correct. put "SELECT SUM(amount) FROM payments WHERE completed=1" into dbSQL put revDataFromQuery(tab,return,connectionID,dbSQL) into dbData if item 1 of dbData = "revbderr" then answer error "There wa...
- Mon Oct 17, 2016 12:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Defaults When Writing Files
- Replies: 5
- Views: 3905
Re: Defaults When Writing Files
The program will always output a text file, at least that is the idea.
- Wed Oct 12, 2016 5:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Defaults When Writing Files
- Replies: 5
- Views: 3905
Defaults When Writing Files
I have this piece of code: ask file "Please choose where you want to save the file..." if the result is not "Cancel" then put it into fileLocation end if put outputData into url("file:" &fileLocation) Is there a way I can change the defaults that are shown here: http://i.imgur.com/6ultAF2.png Thanks!
- Wed Oct 12, 2016 5:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reading CSV
- Replies: 2
- Views: 2443
Re: Reading CSV
Thanks! That makes more sense.
- Wed Oct 12, 2016 2:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reading CSV
- Replies: 2
- Views: 2443
Reading CSV
The code below is the start of me reading in a CSV file, the contents of the file are stored in the variable fileData however I would like to sort it a little more. The CSV file has 3 collumns, I would like to sort the data in each collum into their own seperate arrays. I was wondering how I could a...