Re: lingo-l Multiple statements in one line

2003-12-05 Thread Sbastien Portebois
Hi Peter

I wonder, can Director script window have multiple statements in one
line?
e.g.
instead of
varA = 5
varB = 10
yes you can, but is it totally inefficient ;¬)
Here's the stupid workaround:
  do(varA = 5  RETURN  varB = 10)

Now that you've readi it, you can forgot about it :¬)

cheers,
séb
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l Multiple statements in one line

2003-12-05 Thread Valentin Schmidt
hi peter,

you can easily simulate a multiline-command message window by your own
tool xtra. I've send you an example, just put lingo.dir in your xtras
folder, restart director and invoke it from the xtra menu. it supports
copy and paste, and instead of a slow do() command it uses a faster:

on mouseUp
member(foo).scripttext=on
fooreturnmember(input).textreturnend
foo()
end

as a simple test, type e.g.

repeat with i = 1 to 10
put 23
end repeat

in the window and press the GO button.

best,
valentin


Sébastien Portebois wrote:
 Hi Peter

 I wonder, can Director script window have multiple statements in one
 line?
 e.g.

 instead of
 varA = 5
 varB = 10

 yes you can, but is it totally inefficient ;¬)
 Here's the stupid workaround:

do(varA = 5  RETURN  varB = 10)

 Now that you've readi it, you can forgot about it :¬)

 cheers,
 séb
 [To remove yourself from this list, or to change to digest mode, go
 to http://www.penworks.com/lingo-l.cgi  To post messages to the list,
 email [EMAIL PROTECTED]  (Problems, email
 [EMAIL PROTECTED]). Lingo-L is for learning and helping with
 programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


RE: lingo-l Multiple statements in one line

2003-12-05 Thread Peter Bochan
Thanks all for the suggestions. Now I see, that I have to sacrifice
subtlety to expediency.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


lingo-l Multiple statements in one line

2003-12-04 Thread Peter Bochan
Hello,
I wonder, can Director script window have multiple statements in one
line?
e.g.

instead of
varA = 5
varB = 10

I'd like to use 
varA = 5; (or ,, .. // -+ whatever the sign could be) varB = 10

when declaring property variables you can separate them by commas. Can
that be done to the declaration of mere mortal variables? If not, I'd
like to have it in the next version of DMX.

Just felt like sharing my one kopiyka with you folks.
So long

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l Multiple statements in one line

2003-12-04 Thread Irv Kalb
Nope.  One statement per line.

And while you are at it, I find it much clearer when each property is 
declared on a seperate line.

Irv

At 11:01 PM +0200 12/4/03, Peter Bochan wrote:
Hello,
I wonder, can Director script window have multiple statements in one
line?
e.g.
instead of
varA = 5
varB = 10
I'd like to use
varA = 5; (or ,, .. // -+ whatever the sign could be) varB = 10
when declaring property variables you can separate them by commas. Can
that be done to the declaration of mere mortal variables? If not, I'd
like to have it in the next version of DMX.
Just felt like sharing my one kopiyka with you folks.
So long


--

Multimedia Wrangler.
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l Multiple statements in one line

2003-12-04 Thread Warren Ockrassa
On Dec 4, 2003, at 3:01 PM, Peter Bochan wrote:

I wonder, can Director script window have multiple statements in one
line?
Nope.

Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
 nightwares LLC | Consulting  Programming http://www.nightwares.com/
 Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Chapter samples | http://www.nightwares.com/director_beginners_guide/
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]