RunRev Tutorials
RunRev Features RunRev Tutorials RunRev Interviews RunRev Links
About revJournal
Files

Saving Data from Standalones
Sarah Reichelt
This article describes four common methods of saving data from LiveCode standalones. Among other great tips it includes a handy cross-platform handler for storing preferences.

Handy Handlers

#6: EnsurePath
A one-liner to make sure the folder you're witing to exists.

#5: Pack/Unpack
Modest file encryption with Base64 for Internet transport. Simpler than it sounds. Maybe even fun.

#4: IfX
Sometimes the handiest things are also the simplest.

#3: GetFileData revisted
More advanced version of #2.

#2: GetFileData - easy file I/O across platforms
Simple multi-platform routine for selecting files.

#1: Err - a generic error handler
To err us human, to catch it gracefully devine.

Scripting

Why Parentheses Are Useful in LiveCode
Richard Gaskin
Sure, parentheses can make code look more geeky, but they serve at least two valuable roles.

MouseStillDown and Other Mysteries
Richard Gaskin
An exploration of the oddity that is the mouseStillDown message, and related arcana of interest to LiveCode fans.

Benchmarking Performance in LiveCode
Richard Gaskin
Practical tips for testing the relative performance of different algorithms and making the most of the great performance the Rev engine offers.

Commands and Private Handlers
Sarah Reichelt
RunRev 2.8.1 introduced two new concepts in naming and using handlers: "command" and "private". This article explains what they're for and shows you how to use them effectively.

Everything You Know Is Wrong, Part 1
Mark Wieder
I've always distrusted "it" and "the result" as being too ephemeral to use without having them changed out from under me by who-knows-what. Now after some experimenting and some email conversations with Mark Waddingham, I think I've finally gotten things sorted out.

Using LiveCode's Script Colorization
Sarah Reichelt
As well as the conventional debugging tools like the Variable Watcher, Script Debugger, and Message Watcher, LiveCode offers another very easy way to check your scripts for simple errors and typos: Turn on Script Colorization!

Conditional Structures - Part 1: if/then/else
Eric Chatonet
This series on control structures in LiveCode kicks off with the ultimate beginner's guide to conditional expressions.

Images

Importing Images in LiveCode
Sandy Beadle
A great tutorial for getting starting with images, including backgrounds and blends.

Internet

MacAddict Forum Reader
Sarah Reichelt
Step-by-step guide to building a custom client application for a discussion forum.

© 2014 Fourth World Systems All rights reserved. Portions copyright by the original authors.