Questions tagged [lingo]

Lingo is the embedded scripting language used in Adobe Director.

Lingo is the embedded scripting language used in Adobe Director – formerly Macromedia Director – for algorithmic manipulation of Director’s data types (e.g. sprites, “cast member” data resources, external “Xtra” extensions, Java objects).

It is not to be confused with the mathematical modelling language from Lindo systems, which is identically-named, but usually written in uppercase.

As of Macromedia Director 6, Lingo has two styles of syntax. The original style uses an English-like grammar reminiscent of HyperTalk and AppleScript:

if word 2 of paragraph 1 of the text is "dogg" then
    play frame "start"
end

… the newer “dot syntax” introduced in Director 6 looks more like Python or JavaScript:

if text.paragraph[1].word[2] == "dogg" then
    play frame "start"
end

The last version of Adobe Director (version 12) was released in 2013, and was formally discontinued in February 2017.

52 questions
1
vote
2 answers

linear programming in Lingo

I want to do a linear programming with Lingo, I have the solution but I want to improve the code. Here is what I want to do: SETS: SEMANA/ 1..12/: D, X, I, Y, Z, R, n; ENDSETS X(1)>=D(1);…
1
vote
1 answer

Understanding Lingo derived sets

I am completely new to LINGO and I found this example in LINGO. MODEL: ! A 6 Warehouse 8 Vendor Transportation Problem; SETS: WAREHOUSES / WH1 WH2 WH3 WH4 WH5 WH6/: CAPACITY; VENDORS / V1 V2 V3 V4 V5 V6 V7 V8/ : DEMAND; LINKS( WAREHOUSES, VENDORS):…
sam_rox
  • 739
  • 3
  • 14
  • 29
1
vote
2 answers

Lingo Code "[cc]" is coming up as a fault

The game is a word search game in an advanced lingo book and the lingo code is using [cc] which is coming up as a code fault. What is wrong or is this use of [cc] obsolete? And if so, how can it be corrected? on getPropertyDescriptionList me …
londonbird
  • 45
  • 1
  • 2
  • 7
1
vote
1 answer

creating a cluster from XML file

I am working on text analytics. I am using carrot2 api for Java through which I am reading an XML file and trying to generate the cluster. But I am unable to find any simple code snippet for the same. Can someone help me for the same. Thanks in…
Deepa Huddar
  • 321
  • 1
  • 4
  • 15
1
vote
1 answer

Director Lingo Problems - See Code

I am trying to use if statements to go to two different frames in the Director game project but eventhough I have go to frame 32 for one set and go to frame 31 for another, they are both going to the same frame 31. What am I doing wrong? I can't…
londonbird
  • 45
  • 1
  • 2
  • 7
1
vote
1 answer

What is this message when scrolling the mouse while the debugger is stopped?

Problem Using Director 11.5 and Windows 7, with MouseWheel Xtra (wheelmouse.zip), I have the folowing message in the message window when I scroll the mouse while the debugger is stopped: lcr_stk_PopFrame: unbalanced stk lcr_stk_PopFrame: unbalanced…
prossel
  • 111
  • 1
  • 7
0
votes
1 answer

Can Lingo 11 work in parallel

Can Lingo 11 work in parallel that utilizes multi-cores? Or can Lingo work with multithreading?
RandyTek
  • 4,374
  • 3
  • 23
  • 32
0
votes
1 answer

Lingo Filter for Doxygen?

Does anyone know of or have a Lingo filter for Doxygen? I have played with DocMaker, but it introduces dependencies on director and is not a flexible or full featured as Doxygen. -Marty
None
0
votes
1 answer

How to define a dependent sets on Lingo?

Does anyone know how to define dependent sets on Lingo? For example: A company has 5 plants. Each plant has a different number of machines, i.e., 3, 4, 5, 2, 3, respectively. The company gets 20 orders. They should assign each order to the plants…
0
votes
0 answers

Lingo linear programming - Add restriction to table

i need to relacionar una restriccion que relacione 3 productos aceite de cartamo, oliva y coco y que este conectada con los 3 clientes los cuales son mayoristas, industriales y exclusivos para cada mes junio julio agosto en lingo [This is a…
Hania
  • 1
  • 2
0
votes
0 answers

Can I make a LINGO SET have a variable number of members?

I would like to make a set variable in LINDO. Consider the following: SETS: Row /1, 2, 3, 4, 5, 6/; ENDSETS At present, there are 6 elements to this set. Is it possible to have more than 6, and/or less than six members in the same MODEL? If so,…
0
votes
0 answers

How to code if condition constraint in LINGO

sorry i have one problem to write if condition in LINGO, can anyone help me to code this simple if condition?
0
votes
0 answers

input parameter with three indices in LINGO software

i want to input parameter with three indices in LINGO software but i don't know how to input this parameter in sets. for example in following sets i want to input D parameter with p,m and t indices. can anyone help me how to define parameter…
ahmad
  • 73
  • 4
0
votes
0 answers

Defining binary variable in LINGO

I want to write this code in LINGO. Basically this is a MILP which involves two decision variable. First decision variable "x" is calculated then if "x" is nonzero "y" is assigned to 1 otherwise "y" is zero. Then value of "y" is used to calculate…
Shubha
  • 1
  • 2
0
votes
1 answer

Making a 3d Menu in Director or Flash (with selection) possible?

I need to do a Director project with a 3D style menu (to clarify, it's a study manual with a human body with several parts to be selected, for example, to study arm muscles you need to click the arm). I want to accomplish this with a 3D model,…
FoxLift
  • 433
  • 2
  • 16
  • 30