Re: Math question: How to compute the area of polygons

2003-03-21 Thread Raymond E. Griffith
on 3/20/03 12:54 PM, Ben Rubinstein at [EMAIL PROTECTED] wrote: on 20/3/03 4:24 pm, Malte Brill wrote Even though I start thinking I´m not smart enough to code a solution on my own at the moment ...snip... I'm still very interested in computing areas of polygons and their unions I know

Re: Use of Revolution ...

2003-03-21 Thread Bernard Sauterel
Hi Monte Depending on the amount of data you may want to look at a db back end. The 3D graphics is the only curly one. Do you mean real 3D or just charts with a 3D look? Charts with 3D look ... I am looking for pre-existing 2D/3D charts components but I didn't see some for Revolution. About a

Re: Externals CGI

2003-03-21 Thread Kevin Miller
On 21/3/03 2:59 am, Monte Goulding [EMAIL PROTECTED] wrote: I'm wondering if the 2.0 externals will work for CGI as well I'm particularly interested in the XML MySQL externals. Our own external libraries will work in the 2.0 CGI specific engine. So you will be able to do databases and

re: Math question: How to compute the area of polygons

2003-03-21 Thread Heather Williams
One more solution for you all to consider. Tomas had some posting troubles so he asked me to post this for him. From: Tomas Nally, P.E. on behalf of Tomas Nally, P.E. Sent: Tue 3/18/2003 9:10 AM To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Cc: Subject: Math question: How

Streaming media [was:Scripted musical notation available ]

2003-03-21 Thread Malte Brill
Erik wrote: in the future i hope to use Rev on websites to send video to dancers who can study at home, maximizing expensive rehearsal time. as well as for the fun of it. there are 30 half hour episodes of Street Dancers Alternative To Violence, my community tv show. that will have to await

Re: Scripted musical notation available

2003-03-21 Thread Luigi Di Martino
Hi Erik Yes I think I get what it is you are up to now. I love it! It is definately a positive direction to take because it makes what can seem very daunting as a cool bit of fun. Life is for having fun right?!!! A dance orientated program for teaching maths and computor programming would help

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Malte Brill
Thanks a lot again. :-) Jim, your solutions is more than close to what I am lokking for. (I just would need variable numbers of sides and bob is my uncle. I´m really happy, so I don´t know if I can get this silly grin from my face today. ;-) ) I had to put a comment mark on the two scripst,

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Malte Brill
Please excuse my terrible spelling in my last post. Seems as if I left my brain at home today... Thanks a lot again. :-) Jim, your solution is more than close to what I am looking for. (I just would need variable numbers of sides and bob is my uncle. I´m really happy, so I don´t know if I can

T-shirts and the Americans

2003-03-21 Thread Mathewson
Some of us are Scots (RunRev, is, after all, a Scottish thing!) and wonder why we have to order T-shirts from 'over there' - can we not order them from somewhere over here in Pounds Sterling, or, heaven forfend, Euros ? Richmond Mathewson

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Jim Hurley
Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com| Fax : +44 (0)1273-728866 Here is a little routine I have written that will accurately calculate the area of irregular polygons so long as there

Re: revdb_movenext

2003-03-21 Thread Chris Sheffield
That did it. Thanks! I actually though of trying that, but the example in the documentation didn't specify that. I guess I should have known since it's a function. Thanks again, Chris Sheffield Read Naturally --- Sarah [EMAIL PROTECTED] wrote: Chris, I think your problem is that

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Robert Presender
Hi Malte, I did a Google search for 'polygon'. This a complicated subject especially when not regular. The following URL's are just a few of what is available showing the complexity. http://www.cs.unc.edu/~dm/CODE/GEM/chapter.html#Haines94 http://www.cs.man.ac.uk/aig/staff/alan/software/

Re: Fiddling in the Frustrating, Finnicky, Full Filepath Fo

2003-03-21 Thread Ken Norris
*** Date: Thu, 20 Mar 2003 17:03:54 -0800 Subject: Re: Fiddling in the Frustrating, Finnicky, Full Filepath Fog From: Scott Rossi [EMAIL PROTECTED] Probably because in all the problem cases you cite, you refer to the filename like this: KybdUp2.JPG/. You can't have a trailing

save as - dialog

2003-03-21 Thread [EMAIL PROTECTED]
How can I get a dialog similar to the save as dialog where user can choose a folder and write the name of a file. Using answer folder I can not insert the name of a file. Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED]

custom buttons

2003-03-21 Thread Chris Sheffield
Why is it that if I use a transparent button with a custom image, I can't get the button label to look right? If I enter a label such as Exit for my button, and select the Show Name property, the label displays below the custom graphic, not centered on it. I can adjust the margins so that the

Re: T-shirts and the Americans

2003-03-21 Thread Heather Williams
Message: 8 From: Mathewson [EMAIL PROTECTED] Subject: T-shirts and the Americans To: [EMAIL PROTECTED] Date: Fri, 21 Mar 2003 08:27:25 -0500 Reply-To: [EMAIL PROTECTED] Some of us are Scots (RunRev, is, after all, a Scottish thing!) and wonder why we have to order T-shirts from 'over

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Dar Scott
On Thursday, March 20, 2003, at 11:52 AM, Raymond E. Griffith wrote: Here is a little routine I have written that will accurately calculate the area of irregular polygons so long as there are no crossed lines. You can have irregular shapes as funky as you like and this will work -- provided

re: Math question: How to compute the area of polygons

2003-03-21 Thread Jim Hurley
Tomas Nally, P.E. on behalf of Tomas Nally, P.E. wrote: (snip) -- Now, going clockwise around the perimeter of the polygon, -- find the area of the virtual trapezoid under each line segment. -- A line segment is defined as the segment connecting -- the ith node and the (i +

Re: save as dialog

2003-03-21 Thread Dan Friedman
Paolo Mazza, Try: On mouseUp ask file Save File As: End mouseUp How can I get a dialog similar to the save as dialog where user can choose a folder and write the name of a file. Using answer folder I can not insert the name of a file. Ciao Paolo Mazza

Re: custom buttons

2003-03-21 Thread Scott Rossi
Recently, Chris Sheffield wrote: Why is it that if I use a transparent button with a custom image, I can't get the button label to look right? If I enter a label such as Exit for my button, and select the Show Name property, the label displays below the custom graphic, not centered on it.

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Dar Scott
On Friday, March 21, 2003, at 10:46 AM, Jim Hurley wrote: For anyone interested, this BASIC program is equivalent to the Transcript program I posted last Tuesday: Whoops. I missed that. (My kids call it goldfish-syndrome; my memory is no longer than the time it takes for me to walk around the

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Jim Hurley
Message: 6 Date: Fri, 21 Mar 2003 13:32:29 +0100 Subject: Re: Math question: How to compute the area of polygons From: [EMAIL PROTECTED] (Malte Brill) To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Thanks a lot again. :-) Jim, your solutions is more than close to what I am lokking for. (I just

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Dar Scott
On Friday, March 21, 2003, at 10:23 AM, Dar Scott wrote: However, if Tomas Nally's method was optimized, it would take only one multiply, one subtract and two adds per edge. And this applies to Jim's, too. After pondering on this, I think this might be reduced to three arithmetic operations

point is within the rect of object

2003-03-21 Thread Alex Rice
Is there a way to do the opposite of point is within the rect of object. That is, to find the object at a point? I think I've seen a one liner to do this before. Or is it like this? click at point x,y get the selectedObject Alex Rice, Software Developer Architectural Research Consultants, Inc.

Re: custom buttons

2003-03-21 Thread Chris Sheffield
Thanks, Scott. I'll give that a try. Chris Sheffield Read Naturally --- Scott Rossi [EMAIL PROTECTED] wrote: Recently, Chris Sheffield wrote: Why is it that if I use a transparent button with a custom image, I can't get the button label to look right? If I enter a label such as Exit

Re: Rev and mySQL

2003-03-21 Thread runrev
I use mysql Server for both web and internal processing along with Revolution as the front end (client server environment) for our company processes. However, I use the ODBC connector vs. the Revolution MYSQL because I do not have that version. To my understanding, the Revolution license that

Re: Rev and mySQL

2003-03-21 Thread Alex Rice
On Friday, March 21, 2003, at 12:26 PM, [EMAIL PROTECTED] wrote: To use embedded, I figure the use of libmySQL.dll is required, and for the life of me, have not been able to get Revolution 1.1.1 to connect to external windows dll's. Rev cannot connect to any DLL. Although Rev externals on

setting up password fields

2003-03-21 Thread Chris Sheffield
You're all going to be sick of me by the end of the day! :-) I'm just getting into the nitty gritty of my GUI. And since I'm new to Revolution, I've got lots of questions. I know this one has been discussed a while back. I found some posts in an old archive, but I was wondering if anyone has

RE: can revolution apps run without a gui?

2003-03-21 Thread Zac Elston
[EMAIL PROTECTED] wrote: Absolutely. In fact one of Rev's implementations is as a CGI app you'd put on a web server. that is a runtime interpreted script like perl and while it will work, it's not exactly what I was asking I want to be able to run a standalone app without a gui on the

Re: point is within the rect of object

2003-03-21 Thread erik hansen
Is there a way to do the opposite of "point is within the rect of object". That is, to find the object at a point? I think I've seen a one liner to do this before. Or is it like this?click at point "x,y"get the selectedObjectAlex Rice, Software DeveloperArchitectural Research Consultants,

Re: can revolution apps run without a gui?

2003-03-21 Thread Dar Scott
On Friday, March 21, 2003, at 01:39 PM, Zac Elston wrote: I want to be able to run a standalone app without a gui on the command line. Can one develop an application in the rev gui enviroment, save it for many OS's and run them as command line apps? On Windows and OS X you can run a standalone

RE: setting up password fields

2003-03-21 Thread Jim Lambert
I was wondering if anyone has a better (newer) way of setting up a regular field to accept a password entry (i.e. put a '*' in place of each character). I know it's a dialog not a field but might this excerpt from the Trnscript dictionary help? The ask password command displays a dialog box

RE: Externals CGI

2003-03-21 Thread Monte Goulding
I'm wondering if the 2.0 externals will work for CGI as well I'm particularly interested in the XML MySQL externals. Our own external libraries will work in the 2.0 CGI specific engine. So you will be able to do databases and XML. Great! Thanks Kevin

RE: setting up password fields

2003-03-21 Thread Chris Sheffield
I really would rather not do that if I don't have to. Not only is it kind of ugly, but the dialog pops up over the top of other graphics and text that I have on the screen, which I don't want. Chris Sheffield --- Jim Lambert [EMAIL PROTECTED] wrote: I was wondering if anyone has a better

Re: use-revolution digest, Vol 1 #1231 - 14 msgs

2003-03-21 Thread Tuviah M Snyder
Does anyone have a good example of using Revolution with a mySQL database? I'm looking specifically for something that uses embedded mySQL because we'd like the database to be as transparent as possible. We don't want to require that users start up a database server anytime they want to

RE: Use of Revolution ...

2003-03-21 Thread Monte Goulding
Depending on the amount of data you may want to look at a db back end. The 3D graphics is the only curly one. Do you mean real 3D or just charts with a 3D look? Charts with 3D look ... I am looking for pre-existing 2D/3D charts components but I didn't see some for Revolution. I

RE: setting up password fields

2003-03-21 Thread Monte Goulding
Try typing this in the message box and take what you need: edit the script of cd 1 stack Ask Dialog Cheers Monte I really would rather not do that if I don't have to. Not only is it kind of ugly, but the dialog pops up over the top of other graphics and text that I have on the screen,

RE: setting up password fields

2003-03-21 Thread Chipp Walters
on keydown whichKey global thisPassword put whichKey after thisPassword put * after field password end keyDown on backspaceKey global thisPassword put empty into field password put into thisPassword end backspaceKey on deleteKey global thisPassword put empty into field password

What's the best way to find out if a file exists?

2003-03-21 Thread Graham Samuel
I want to do the most straightforward thing to implement the logic if exists(file someFilePath) then do something else do something else end if I read in the Transcript Dictionary that you can't in fact use the 'exists' construct on files, but that if you open a file for reading and it

RE: setting up password fields

2003-03-21 Thread Chris Sheffield
Thanks a ton! That should get me started. Chris Sheffield --- Monte Goulding [EMAIL PROTECTED] wrote: Try typing this in the message box and take what you need: edit the script of cd 1 stack Ask Dialog Cheers Monte I really would rather not do that if I don't have to. Not

QT player object problems

2003-03-21 Thread Graham Samuel
I have a couple of player objects with QT movies in them. My user is allowed to drag these player objects around the screen - during the drag, the movies will not actually be playing. When the user lets go the mouse, the movie begins to play in the loc it's ended up in, This is all very easy

Re: What's the best way to find out if a file exists?

2003-03-21 Thread Alex Rice
On Friday, March 21, 2003, at 04:08 PM, Graham Samuel wrote: if exists(file someFilePath) then do something else do something else end if See there is a operator, which works with files and folders in addition to objects. Alex Rice, Software Developer Architectural Research

Re: Scripted musical notation available

2003-03-21 Thread erik hansen
--- Luigi Di Martino [EMAIL PROTECTED] wrote: Hi Erik Yes I think I get what it is you are up to now. I love it! It is definately a positive direction to take because it makes what can seem very daunting as a cool bit of fun. Life is for having fun right?!!! A dance orientated

Re: What's the best way to find out if a file exists?

2003-03-21 Thread Graham Samuel
On Fri, 21 Mar 2003 16:50:18 -0700 Alex Rice [EMAIL PROTECTED] wrote (and thanks for the amazingly speedy reply!): On Friday, March 21, 2003, at 04:08 PM, Graham Samuel wrote: if exists(file someFilePath) then do something else do something else end if See there is a operator,

Re: What's the best way to find out if a file exists?

2003-03-21 Thread Alex Rice
On Friday, March 21, 2003, at 05:21 PM, Graham Samuel wrote: Dang! I was dimly aware of the there is a construct but I thought it was synonymous with exists (I might perhaps be forgiven for thinking so...). Anyway, thanks Alex, that's just what I wanted to know! No worries, I went through the

Re: setting up password fields

2003-03-21 Thread Dave Cragg
At 12:39 pm -0800 21/3/03, Chris Sheffield wrote: I know this one has been discussed a while back. I found some posts in an old archive, but I was wondering if anyone has a better (newer) way of setting up a regular field to accept a password entry (i.e. put a '*' in place of each character). I

Re: Fiddling in the Frustrating, Finnicky, Full Filepath Fog

2003-03-21 Thread Geoff Canyon
Desktop Folder _is_ the folder's name. It's just commonly referred to as the desktop. On Thursday, March 20, 2003, at 08:50 PM, Ken Norris wrote: Got it. Thanks to everyone, Monte, Robert, et al. What I found out was that you can call all folders by name EXCEPT the desktop which MUST be called

Re: Math question: How to compute the area of polygons

2003-03-21 Thread Jim Hurley
Jim Hurley wrote: on mouseUp put field 1 into tList put 0 into area put line 1 of tList into pOld repeat with i = 1 to the number of lines in tList put line i of tList into pNew add thisToArea(pNew,pOld) to area put pNew into pOld end repeat put area