Lingo in a Nutshell: A Desktop Quick Reference by Bruce A. Epstein

By Bruce A. Epstein

This better half e-book to Director in a Nutshell covers all points of Lingo, Director's strong scripting language, and is the booklet for which either Director clients and gear Lingo programmers were craving. a vital software for either new and skilled Lingo programmers, this concise advisor explains how Lingo "thinks" and comprises many programming examples in addition to undocumented instructions. In regular nutshell type, Lingo in a Nutshell explores the syntax, constitution, and instructions of the language. It comprises a variety of precious Lingo examples, corrects many blunders present in Macromedia's Lingo documentation, and info dozens of misdocumented and undocumented Lingo key phrases that are passed over from Macromedia's manuals and third-party books. precise chapters describe messages, occasions, scripts, handlers, variables, lists, dossier I/O, Behaviors, baby gadgets, Xtras, and extra. Lingo in a Nutshell caters to the large pool of Director clients trying to bridge the Lingo hole, but presents the main points for the skilled Linguist which are missing in different Lingo books.

Show description

Read Online or Download Lingo in a Nutshell: A Desktop Quick Reference PDF

Best object-oriented design books

Pro Active Record: Databases with Ruby and Rails

Seasoned energetic checklist is helping you are taking good thing about the entire strength of your database engine from inside your Ruby courses and Rails functions. ActiveRecord, a part of the magic that makes the Rails framework so robust and straightforward to take advantage of, is the version portion of Rails model/view/controller framework. Its an object-relational mapping library allowing you to have interaction with databases from either Ruby and Rails purposes.

Liferay 6.2 User Interface Development

Liferay employs a really expert theming method which will switch the appear and feel of the consumer interfaces. Liferay Portal presents format templates as a way to describe how numerous columns and rows are prepared to exhibit portlets. It additionally offers subject matters that may be used to customise the final feel and appear of sites and web content.

Control flow semantics

Keep an eye on stream Semantics provides a unified, formal therapy of the semantics of a large spectrum of regulate circulate notions as present in sequential, concurrent, common sense, object-oriented, and practical programming languages. while in additional conventional techniques one makes a speciality of input/output habit, during this paintings equivalent cognizance is dedicated to finite and countless computations, the latter inspired via the becoming value of reactive platforms.

Apache Camel Developer's Cookbook

Apache Camel is a de-facto commonplace for constructing integrations in Java, and is predicated on well-understood firm Integration styles. it truly is used inside of many advertisement and open resource integration items. Camel makes universal integration projects effortless whereas nonetheless offering the developer with the ability to customise the framework whilst the placement calls for it.

Extra resources for Lingo in a Nutshell: A Desktop Quick Reference

Sample text

Globals are necessary when you want a variable to outlive the handler in which it is used or to send information between two handlers that are not otherwise connected. In this example, gOne and gTwo are global variables shared by two handlers. Example 1-11: Using Global Variables on startMovie global gOne, gTwo set gOne = "Hello" set gTwo = 7 end This handler can be in a different script than startMovie: on mouseUp global gOne, gTwo if gTwo = 7 then put gOne end Lingo globals are declared, by convention, at the top of a handler immediately under the handler name; declaring globals in the middle of a handler is allowed but discouraged.

How Lingo Thinks on finishGame global gUserTries set gUserTries = gameOver (gUserTries) end finishGame on gameOver inValue return (inValue + 1) end gameOver La Persistencia de la Memoria Recall that each time a handler is called, any local variables are discarded when the handler finishes. If you want a variable’s value to persist over repeated calls to a handler, you must declare it as a global or property variable. ) Example 1-15 counts the number of times that countMe is called. Don’t forget to reset the global as needed, as shown in testCount.

Use Cmd-Shift-> and Cmd-Shift-< (Mac) or Ctrl-Shift-> and CtrlShift-< (Windows) to comment or uncomment the currently highlighted line(s). ) Use the Comment and Uncomment options under the context-sensitive pop-up menu in the Script Window, Ctrl-click (Mac) or right click (Windows). A good rule of thumb is one comment for every three lines of Lingo code. Use self-explanatory variable, symbol, and handler names to improve your code’s readability. You can use the Lingo command nothing as a placeholder when you don’t want to execute any commands.

Download PDF sample

Rated 4.74 of 5 – based on 48 votes