Re: Getting separate parts of a number

2004-09-02 Thread Carl West
Carl West wrote:
...
splitList = 
[[integer(pVal+[.5,-.5][1+(pVal>0)]),pVal-integer(pVal+[.5,-.5][1+(pVal>0)])],[0,0]][1+(pVal=0)] 
Oh never mind, Colin's answer can be made into one line and it beats the 
pants off us:

splitList = [bitor(pVal,0),pVal- bitor(pVal,0)]
4x faster than mine which was 1.5x faster than Pedja's
--
Carl West
mailto:[EMAIL PROTECTED]
http://carl.west.home.comcast.net
[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: baOpenFile, a level up

2004-09-02 Thread Alex da Franca
At 10:38 Uhr +1200 03.09.2004, Sean Wilson wrote:
you can't use the "@" identifier for the moviepath with xtras.
With version 3.6 (Windows), Buddy API added support for the @ operator.
I stand corrected, somehow I missed that.
--
  |||
a¿ex
 --
[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: Getting separate parts of a number

2004-09-02 Thread Carl West
Carl West wrote:
...
splitList = 
[integer([pVal+[.5,-.5][1+(pVal>0)],0][1+(pVal=0)]),pVal-integer([pVal+[.5,-.5][1+(pVal>0)],0][1+(pVal=0)])] 
I moved the zero-check to just once on the outside:
splitList = 
[[integer(pVal+[.5,-.5][1+(pVal>0)]),pVal-integer(pVal+[.5,-.5][1+(pVal>0)])],[0,0]][1+(pVal=0)]

which makes an additional 5% improvement.
And it's .6 of _that_ when pVal is zero.
try it for speed.
--
Carl West
mailto:[EMAIL PROTECTED]
http://carl.west.home.comcast.net
[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: Getting separate parts of a number

2004-09-02 Thread Troy Rollins
On Sep 3, 2004, at 1:19 AM, Carl West wrote:
I'd hate to have to de-bug this kind of code.
No doubt. Great fun as list-code, but in reality a few short concise 
lines is preferable for real work.

Still, nice lingo-flexing you guys.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[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: Getting separate parts of a number

2004-09-02 Thread Carl West
Pedja wrote:

Damn...I've got it now with maths(ish)! 
It's a single liner and works with both positive and negative numbers
correctly.

 pVal = -18267.8932
  splitList = [integer((abs(pVal)-(abs(pVal) - integer(abs(pVal)-0.5)))*
integer(getNormalized(vector(pVal,0,0))[1])),(abs(pVal) -
integer(abs(pVal)-0.5)) * integer(getNormalized(vector(pVal,0,0))[1])]
 put splitList
 -- [-18267, -0.8932]
I've just done a quick test and this approach is 9.5 times faster than
the string approach...I've checked on 200 iterations. 
Without the vector math it gets 15.5 times faster but that was the only
way I could determine if the number is positive or negative without an
if statement:))) If someone knows an easier mathematical method to get
the positive/negative value let me know as this is something that is
bugging me for a long time and I bloody do intend to use it!

Try this, it uses the 'if'-less 'if' of lists*.
splitList = 
[integer([pVal+[.5,-.5][1+(pVal>0)],0][1+(pVal=0)]),pVal-integer([pVal+[.5,-.5][1+(pVal>0)],0][1+(pVal=0)])]

It would be shorter if I could ignore the special case of zero:
splitList = 
[integer(pVal+[.5,-.5][1+(pVal>0)]),pVal-integer(pVal+[.5,-.5][1+(pVal>0)])]

* With care you can even make it a 'case'-less 'case'. Ick.
I'd hate to have to de-bug this kind of code.
--
Carl West
mailto:[EMAIL PROTECTED]
http://carl.west.home.comcast.net
[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: Getting separate parts of a number

2004-09-02 Thread Troy Rollins
On Sep 2, 2004, at 7:50 PM, Pedja wrote:
Okidoki...don't like my vectors!?
You've asked for it..here's a refined version and 2x faster then with
vectors:)
pVal = -18267.8932
splitList = [integer((abs(pVal)-(abs(pVal) -
integer(abs(pVal)-0.5* (pVal/sqrt(power(pVal,2))),(abs(pVal) -
integer(abs(pVal)-0.5))* (pVal/sqrt(power(pVal,2)))]
 put splitList
If you can make it better just with bloody Lingo let me know...
Nope. You kicked it. I still kind of like the Preg_ex approach for the 
simplicity, but I don't doubt the parenthetical power of your 
lingo-based solution.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

[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: Getting separate parts of a number

2004-09-02 Thread Pedja
Forgot to include a fail safe for zero value.

pVal = -7852.8932

splitList = [integer((abs(pVal)-(abs(pVal) -
integer(abs(pVal)-0.5*
(pVal+0.1)/(sqrt(power(pVal+0.1,2))),(abs(pVal) -
integer(abs(pVal)-0.5))* (pVal+0.1)/(sqrt(power(pVal+0.1,2)))]

It will return [-1.,1.] if you feed it with 0


[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!]


Shockwave public beta updated

2004-09-02 Thread Thomas Higgins
All,
I'd like to let you know that we've recently updated the Shockwave Player
public beta installers, the most notable new additions as of late are Mac
slim installers and the Multiuser Xtra is back in as part of the slim
default set of Xtras. You can download the beta from the following URL:

http://www.macromedia.com/software/shockwaveplayer/beta/

We've had some good feedback so far, please give the latest bits a test and
let us know about any new bugs or issues you find, thanks!

Feel free to post any questions in reply.


Cheers,
Tom Higgins 
Product Manager - Director

http://www.markme.com/thiggins/

... 
[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: Getting separate parts of a number

2004-09-02 Thread Pedja
Okidoki...don't like my vectors!? 
You've asked for it..here's a refined version and 2x faster then with
vectors:)

pVal = -18267.8932

splitList = [integer((abs(pVal)-(abs(pVal) -
integer(abs(pVal)-0.5* (pVal/sqrt(power(pVal,2))),(abs(pVal) -
integer(abs(pVal)-0.5))* (pVal/sqrt(power(pVal,2)))]

 put splitList

If you can make it better just with bloody Lingo let me know...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Troy Rollins
Sent: 02 September 2004 22:24
To: [EMAIL PROTECTED]
Subject: Re:  Getting separate parts of a number



On Sep 2, 2004, at 5:18 PM, Pedja wrote:

>  pVal = -18267.8932
>
>   splitList = [integer((abs(pVal)-(abs(pVal) -
> integer(abs(pVal)-0.5)))*
> integer(getNormalized(vector(pVal,0,0))[1])),(abs(pVal) -
> integer(abs(pVal)-0.5)) * integer(getNormalized(vector(pVal,0,0))[1])]
>
>  put splitList
>  -- [-18267, -0.8932]

Just when things couldn't get any uglier... vector math.  ;-)

Well done!
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

[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: baOpenFile, a level up

2004-09-02 Thread Sean Wilson

you can't use the "@" identifier for the moviepath with xtras.
With version 3.6 (Windows), Buddy API added support for the @ operator.
-Sean.  

[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: Director MX 2004 Mac OS X UI problems

2004-09-02 Thread Tony Bray
The saga. Cross posted to Lingo-L
I use Director MX on OS X 10.2.6 and I don't have any problems with 
the UI.
From my experiences:
Director 9 (MX) UI works with Mac OS X 10.1.x and 10.2.x
Director 10 (MX 2004) UI works with Mac 10.3.x
Director 9 (MX) UI does NOT work with Mac OS X 10.3.x.
Macromedia told me, when I updated from OS X 10.2 to OS X 10.3 (with 
Director 9 installed) that I shouldn't expect their program to work 
with a new operating system.

HTH
Tony Bray
"I came into this world with nothing.
Fortunately I have got most of it left."
[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: Getting separate parts of a number

2004-09-02 Thread Troy Rollins
On Sep 2, 2004, at 5:18 PM, Pedja wrote:
 pVal = -18267.8932
  splitList = [integer((abs(pVal)-(abs(pVal) - 
integer(abs(pVal)-0.5)))*
integer(getNormalized(vector(pVal,0,0))[1])),(abs(pVal) -
integer(abs(pVal)-0.5)) * integer(getNormalized(vector(pVal,0,0))[1])]

 put splitList
 -- [-18267, -0.8932]
Just when things couldn't get any uglier... vector math.  ;-)
Well done!
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[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: Getting separate parts of a number

2004-09-02 Thread Pedja
Damn...I've got it now with maths(ish)! 
It's a single liner and works with both positive and negative numbers
correctly.

 pVal = -18267.8932

  splitList = [integer((abs(pVal)-(abs(pVal) - integer(abs(pVal)-0.5)))*
integer(getNormalized(vector(pVal,0,0))[1])),(abs(pVal) -
integer(abs(pVal)-0.5)) * integer(getNormalized(vector(pVal,0,0))[1])]

 put splitList
 -- [-18267, -0.8932]

I've just done a quick test and this approach is 9.5 times faster than
the string approach...I've checked on 200 iterations. 
Without the vector math it gets 15.5 times faster but that was the only
way I could determine if the number is positive or negative without an
if statement:))) If someone knows an easier mathematical method to get
the positive/negative value let me know as this is something that is
bugging me for a long time and I bloody do intend to use it!

cheerio


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carl West
Sent: 02 September 2004 20:14
To: [EMAIL PROTECTED]
Subject: Re:  Getting separate parts of a number


Troy Rollins wrote:

> 
> On Sep 2, 2004, at 7:42 AM, Colin Holgate wrote:
> 
>>> convert to a string, set the delimeter to a period, grab the last
>>> chunk and convertint it back to float and save to add back on
>>
>>
>> That sounds like a lot more work than my two lines.
> 
> 
> Yep. So it my offset routine.

Any routine that coerces the number to text, processes the text and 
coerces it back to a number is going to be pretty darn slow relative to 
manipulating the number as a number.

If you're only doing it every now and then, it's probably not a problem.

If you're doing it a lot, streamline it.


-- 

Carl West
mailto:[EMAIL PROTECTED]
http://carl.west.home.comcast.net

[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: Getting Started

2004-09-02 Thread Troy Rollins
On Sep 2, 2004, at 4:53 PM, Fred Westermeyer wrote:
I have V12 for about two years now have not started to work in it,
where is a good starting place to get started?
1) Join the V12 mailing list. A number of helpful folks there.
2) Download a couple of the samples from INM, and have a look through 
them to get an understanding of the approach.
3) Start out with a simple goal. Maybe use the V12 tool to build up a 
small DB that you can tap into from Director. That way you can explore 
your own data, which you already have familiarity with.

The cool part about such techniques, is working with small databases is 
exactly the same as working with large databases. Keep that in mind, 
and you'll have fun. Once you master the little stuff, you find out 
that the big stuff is no different.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[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!]


Getting Started

2004-09-02 Thread Fred Westermeyer
Lingo,

I have V12 for about two years now have not started to work in it,
where is a good starting place to get started?




Fred Westermeyer
Technical Manager, Slot
[EMAIL PROTECTED]
(702) 731-7589 Office
(702) 591-6307 Cell
(702)389-4268 Pager
3570 Las Vegas Blvd., South
Las Vegas, Nevada 89109
[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: Getting separate parts of a number

2004-09-02 Thread Troy Rollins
On Sep 2, 2004, at 4:18 PM, Pedja wrote:
For Christ sake...it's a single liner people!:)))
 pVal = 1234.90899
 splitList =
[value(string(pVal).char[1..(offset(".",string(pVal))) 
-1]),value(string(
pVal).char[(offset(".",string(pVal)))..string(pVal).char.count])]

 put splitList
Nice. Hideous, but nice.
I had this -
 pVal = 1234.90899
testArray = (PRegEx_Split([string(pVal)], "\.")
But note that it only gives a list of strings representing the numbers.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[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: Getting separate parts of a number

2004-09-02 Thread Pedja
For Christ sake...it's a single liner people!:))) 

 pVal = 1234.90899
 splitList =
[value(string(pVal).char[1..(offset(".",string(pVal)))-1]),value(string(
pVal).char[(offset(".",string(pVal)))..string(pVal).char.count])]

 put splitList 

Covert the pVal to a string first and it gets even faster...just
joking..it's crap code but it's in a single line:)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Troy Rollins
Sent: 02 September 2004 19:47
To: [EMAIL PROTECTED]
Subject: Re:  Getting separate parts of a number



On Sep 2, 2004, at 2:39 PM, Colin Holgate wrote:

> anArray = string(float).split(".")
>
> That's pseudo ActionScript!

Does that not actually leave out some steps though?

I don't know of any Lingo "split" function. You'd need to instantiate 
an object, etc. to get access to that method, no?
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

[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: baOpenFile, a level up

2004-09-02 Thread Alex da Franca
At 12:20 Uhr -0400 02.09.2004, Baker, Geoff wrote:
I'm trying to open a pdf that is one level up from the current movie via:
baOpenFile("@//M1T2_03_210a.pdf" , "" ) or baOpenFile("@::M1T2_03_210a.pdf"
, "" )
I've tried a bare bones movie using the message window.
I've tried using the moviepath and lingo's open command.
Seems I can't open a fine that is up a level, yet a go to movie
"@//test.dir" works.
If I move the pdf next to the movie and do baOpenFile("M1T2_03_210a.pdf" ,
"" ) of course it's fine.
How do you open a file a level up with buddy or lingo's open command?
Thanks in advance.
you can't use the "@" identifier for the 
moviepath with xtras. that's a director lingo 
only identifier for the moviepath.

with most xtras (except fileio, which is 
maintained by macr to my knowledge) you must use 
the moviepath and compose relative paths yourself.

but it is not that hard to do the same with some lingo like this:
on mTranslateRelativePath aPath
  mp = the moviepath
  delim = the last char of mp
  delimList = ["\", "/", ":"]
  delimList.deleteOne(delim)
  repeat with thisDelim in delimList
offs =  offset(thisDelim, aPath)
repeat while offs > 0
  put delim into char offs of aPath
  offs =  offset(thisDelim, aPath)
end repeat
  end repeat
  if char 1 of aPath = "@" then delete char 1 of aPath
  if char 2 of aPath = delim then
delete char 1 of aPath
olddelim = the itemdelimiter
the itemdelimiter = delim
delete the last item of mp
repeat while char 1 of aPath = delim
  delete char 1 of aPath
  delete the last item of mp
end repeat
put delim after mp
  end if
  if char 1 of aPath = delim then delete char 1 of aPath
  return mp & aPath
end
now try:
baOpenFile(mTranslateRelativePath("@//M1T2_03_210a.pdf") , "" )
--
  |||
a¿ex
 --
[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: Getting separate parts of a number

2004-09-02 Thread Carl West
Troy Rollins wrote:
On Sep 2, 2004, at 7:42 AM, Colin Holgate wrote:
convert to a string, set the delimeter to a period, grab the last 
chunk and convertint it back to float and save to add back on

That sounds like a lot more work than my two lines.

Yep. So it my offset routine.
Any routine that coerces the number to text, processes the text and 
coerces it back to a number is going to be pretty darn slow relative to 
manipulating the number as a number.

If you're only doing it every now and then, it's probably not a problem. 
If you're doing it a lot, streamline it.

--
Carl West
mailto:[EMAIL PROTECTED]
http://carl.west.home.comcast.net
[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: Getting separate parts of a number

2004-09-02 Thread Colin Holgate
At 2:47 PM -0400 9/2/04, Troy Rollins wrote:
I don't know of any Lingo "split" function. You'd need to 
instantiate an object, etc. to get access to that method, no?
Don't let reality get in the way.
[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: Getting separate parts of a number

2004-09-02 Thread Troy Rollins
On Sep 2, 2004, at 2:39 PM, Colin Holgate wrote:
anArray = string(float).split(".")
That's pseudo ActionScript!
Does that not actually leave out some steps though?
I don't know of any Lingo "split" function. You'd need to instantiate 
an object, etc. to get access to that method, no?
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

[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: Getting separate parts of a number

2004-09-02 Thread Colin Holgate
At 11:46 AM -0400 9/2/04, Troy Rollins wrote:
I was hoping to see you get it to one line though.
Sounds like a challenge:
anArray = string(float).split(".")
That's pseudo ActionScript!
[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: Getting separate parts of a number

2004-09-02 Thread Troy Rollins
On Sep 2, 2004, at 7:42 AM, Colin Holgate wrote:
convert to a string, set the delimeter to a period, grab the last 
chunk and convertint it back to float and save to add back on
That sounds like a lot more work than my two lines.
Yep. So it my offset routine.
I was hoping to see you get it to one line though.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[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!]


Job - Interactive Designer £18 - 22k dependent on experience (UK, london area)

2004-09-02 Thread Lewis Fleming

Interactive Designer 

Expanding design agency are looking for a talented, versatile designer to work across 
multimedia projects. Based at Pinewood Studios, you will work as part of a team from 
concept to production. 
You should be highly creative, multi skilled with particular knowledge of Director, 
Photoshop and Illustrator. A knowledge of Shockwave 3D would be a bonus but not 
essential. 
Excellent opportunity for an ambitious and proactive creative looking to join a 
successful studio. 
Salary £18 - 22k dependent on experience.
Please send CV's/Portfolio to [EMAIL PROTECTED]

http://www.bbc.co.uk/ - World Wide Wonderland

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.

[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: Getting separate parts of a number

2004-09-02 Thread Carl West
Tab Julius wrote:
This is all you need:
  intPart =integer(myFloat - .5)
  floatPart =myFloat - intPart

Unless myFloat is negative.
It's the whole rounding-up/-down/truncating thread again. With a twist.

At 10:32 PM 9/1/04, John Waller wrote:
Hi,
I have a floating point number, e.g. 45.6200, and I want to be able to 
store the whole number part and the fraction part separately,...

--
Carl West
mailto:[EMAIL PROTECTED]
http://carl.west.home.comcast.net
[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!]


baOpenFile, a level up

2004-09-02 Thread Baker, Geoff
I'm trying to open a pdf that is one level up from the current movie via:

baOpenFile("@//M1T2_03_210a.pdf" , "" ) or baOpenFile("@::M1T2_03_210a.pdf"
, "" ) 

I've tried a bare bones movie using the message window.

I've tried using the moviepath and lingo's open command.

Seems I can't open a fine that is up a level, yet a go to movie
"@//test.dir" works.

If I move the pdf next to the movie and do baOpenFile("M1T2_03_210a.pdf" ,
"" ) of course it's fine.

How do you open a file a level up with buddy or lingo's open command?

Thanks in advance.

GSB

___
Geoffrey S. Baker
Programmer
Accelera
300 E. Lombard Street
Baltimore, MD 21202
__
[EMAIL PROTECTED] 
tel:  443-451-3800 
fax: 443-451-3810

[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: Getting separate parts of a number

2004-09-02 Thread Tab Julius
This is all you need:
  intPart =integer(myFloat - .5)
  floatPart =myFloat - intPart
- Tab
At 10:32 PM 9/1/04, John Waller wrote:
Hi,
I have a floating point number, e.g. 45.6200, and I want to be able to 
store the whole number part and the fraction part separately, so that I 
can increment an integer value and keep the remainder (the fraction part) 
to be added on to a later increment value.

Does anyone know if there are any lingo commands for doing any of this - 
or have any ideas how else I might do this?

Maybe I could convert to a string and search for decimal point and extract 
numbers before that etc. but this seems a bit long winded.

Thanks in advance,
John
[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: Getting separate parts of a number

2004-09-02 Thread Colin Holgate
convert to a string, set the delimeter to a period, grab the last 
chunk and convertint it back to float and save to add back on
That sounds like a lot more work than my two lines.
[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!]