Search Results
-
Updated on: Oct 13, 2010
How do I Search an Array?
This lesson describes two frequently used algorithms for finding entries in an array. Sample code is also provided.
-
Updated on: Oct 13, 2010
How do I Store an Array Variable Inside of Another Array Variable?
This lesson describes how to create two dimensional arrays in the context of a simple board game. Data extraction and visualization examples are provided as part of the sample code.
-
Updated on: Nov 23, 2011
How do I Create an 8-Puzzle Game?
This lesson describes how to create a simple interactive 8-Puzzle game. Sample code is provided that can be placed in and run from the main stack. The board and game tiles are automatically generated.
-
Updated on: Aug 04, 2011
File and Folders Part 1
A very common task when writing a program is to get a list of files or folders and either display it for the user to choose one, or go through each file or folder and perform some action. This lesson shows some simple methods of listing and sorting files and gives some hints on the relevant Li...
-
Updated on: Sep 23, 2010
Files and Folders Part 2
In Part 1 of this lesson we looked at how to list files and folders in LiveCode. In this lesson we will extend on what we have already learned by using recursion. Recursion is simply the name given to the process where a handler or function calls itself.
Recursion can allow problems t...
-
Updated on: Nov 11, 2010
Repeating a text string
In this lesson we will see how to write a custom function that builds a string by repeating a given string a certain number of times.
-
Updated on: Feb 04, 2011
How to count upper and lower case characters
This lesson will show how to count the number of upper case characters and lower case characters in a string.
