Re: Massive XML docs

2006-02-08 Thread Bruce Robertson
> Hello Everyone. > > I have some very large XML files ( 100mb or more) that I would to > parse. And this thing has to be fast. I mean FAST. Since I have done > almost no work with rev and XML, I am looking for advice on how to > proceed I've been asking the same questions of Emmanuel over at Sa

Re: massive xml docs

2006-02-08 Thread Bruce Robertson
> > On Feb 8, 2006, at 9:44 PM, [EMAIL PROTECTED] wrote: > >> You can use revcreatexmltree, and just tell it to not build the dom >> tree/or keep the document in memory, and handle the messages. >> >> revCreateXMLTree(field "XML Data",true,false,true) > > But won't that still choke on something

Re: massive xml docs

2006-02-08 Thread Todd Geist
On Feb 8, 2006, at 11:15 PM, Ken Ray wrote: If I read it correctly, the answer is "no" - basically, with "true" as the last param, you're telling the DLL to send you a message when it's about to start parsing the tree, when it encounters each node (so you can extract attributes from the

Re: massive xml docs

2006-02-08 Thread Ken Ray
On 2/8/06 11:26 PM, "Todd Geist" <[EMAIL PROTECTED]> wrote: > > On Feb 8, 2006, at 9:44 PM, [EMAIL PROTECTED] wrote: > >> You can use revcreatexmltree, and just tell it to not build the dom >> tree/or keep the document in memory, and handle the messages. >> >> revCreateXMLTree(field "XML Data",

Re: massive xml docs

2006-02-08 Thread Todd Geist
On Feb 8, 2006, at 9:44 PM, [EMAIL PROTECTED] wrote: You can use revcreatexmltree, and just tell it to not build the dom tree/or keep the document in memory, and handle the messages. revCreateXMLTree(field "XML Data",true,false,true) But won't that still choke on something as big as 100MB?

RE: SpeechLab

2006-02-08 Thread MisterX
Jeff that was "somewhat" possible in MacOS 7.5-9.x but I stopped searching for it since I switched OS... There's lots of speech input systems out there now, one would need something that's rev compatible... cheers Xavier > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAI

Re: massive xml docs

2006-02-08 Thread tsnyder
>can write a SAX processor, in which case you won't have the whole tree >in memory, but your sp You can use revcreatexmltree, and just tell it to not build the dom tree/or keep the document in memory, and handle the messages. revCreateXMLTree(field "XML Data",true,false,true) Tuviah Snyder www.md

Re: use-revolution Digest, Vol 29, Issue 18

2006-02-08 Thread tsnyder
>can write a SAX processor, in which case you won't have the whole tree >in memory, but your sp You can use revcreatexmltree, and just tell it to not build the dom tree/or keep the document in memory, and handle the messages. revCreateXMLTree(field "XML Data",true,false,true) Tuviah Snyder www.md

Re: Odd Even Numbers

2006-02-08 Thread Geoff Canyon
Using a function makes it easier to call from different places. isOdd is self-documenting, where inline code might not be. If error- detection code (checking that the value is a number, etc.) is necessary, putting it into a function once is better than adding it everywhere. That said, ther

RE: Enterprise problem

2006-02-08 Thread MisterX
Jim, I want to use "supported tools"... Also if I do this in a shell, I might as well do the whole thing... If I can avoid using shell... I will... Thanks for the ideas Xavier > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault > Sent: Wed

Re: Opening other applications from within Revolution

2006-02-08 Thread Alex Shaw
hi Had the same problem in the past.. Found the best solution (so far) is to use an external command launcher, at the mo i use.. on Windows: runfile.exe http://www.winsite.com/bin/Info?50001891 on OS X: launch http://web.sabi.net/nriley/software/ .. and use rev's shell command to launch

Re: Difficulty using shell in Ubuntu Linux

2006-02-08 Thread Bob Warren
Stephen: As a complement to what Gordon said, and now that the shell has magically begun working in my Ubuntu Linux, here is how I am managing to read the floppy in Ubuntu. The problem in Ubuntu is that although you can read the diskette by clicking on an icon, which automatically mounts the

Re: Odd Even Numbers

2006-02-08 Thread Mark Smith
Excellent! Mark On 8 Feb 2006, at 22:04, Raymond Griffith wrote: Or function isOdd tNumber return tNumber mod 2 = 1 end isOdd On 2/8/06 9:37 AM, "Mark Smith" <[EMAIL PROTECTED]> wrote: function isOdd tNumber if tNumber mod 2 = 0 then return false else return true e

Re: Opening other applications from within Revolution

2006-02-08 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote: > I'm not interested in importing data from the Excel sheet into Rev, just > opening an existing Excel application from a command in Rev. I still can't > seem to do this. I've put the Excel file (and also the Excel application) > into the same folder as the R

Opening other applications from within Revolution

2006-02-08 Thread Stgoldberg
Hi Phil, No, I'm not interested in importing data from the Excel sheet into Rev, just opening an existing Excel application from a command in Rev. I still can't seem to do this. I've put the Excel file (and also the Excel application) into the same folder as the Revolution stack and just iss

Re: Incoming command line parameters?

2006-02-08 Thread Garrett Hylltun
Thank you Ken, -Garrett On Feb 8, 2006, at 3:35 PM, Ken Ray wrote: On 2/8/06 4:53 PM, "Garrett Hylltun" <[EMAIL PROTECTED]> wrote: Greetings, How to grab command line parameters that are sent to my rev app when it's launched? They come in as $1, $2, etc. $0 is the path of the application

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
On 2/8/06 5:32 PM, "Thomas McCarthy" <[EMAIL PROTECTED]> wrote: > > Ken, > could you have the library check for something that would only return a value > when running from a desktop? > how about quicktime verstion, screenrec? Thanks, Tom... you must have missed my post - it turns out that y

Re: Incoming command line parameters?

2006-02-08 Thread Ken Ray
On 2/8/06 4:53 PM, "Garrett Hylltun" <[EMAIL PROTECTED]> wrote: > Greetings, > > How to grab command line parameters that are sent to my rev app when > it's launched? They come in as $1, $2, etc. $0 is the path of the application itself: on openStack put $0 into theAppPath put $1 into theDo

RE: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Thomas McCarthy
Ken, could you have the library check for something that would only return a value when running from a desktop? how about quicktime verstion, screenrec? tm ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!

Re: Get file name from full path and name?

2006-02-08 Thread Ken Ray
On 2/8/06 4:46 PM, "Garrett Hylltun" <[EMAIL PROTECTED]> wrote: > Greetings, > > Searched the docs for anything that might do this, but can't find > anything > > Does anyone know how to extract a file name and extension from a full > path, such as from "answer file" ? Here's another one (th

Re: Get file name from full path and name?

2006-02-08 Thread Klaus Major
Hi Garrett, Excellent! And I actually understand that too! Great :-) Thank you Klaus, You're welcome! -Garrett On Feb 8, 2006, at 2:50 PM, Klaus Major wrote: Hi Garrett, Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to

Re: [a] Get file name from full path and name?

2006-02-08 Thread Jerry Muelver
From: "Garrett Hylltun" Does anyone know how to extract a file name and extension from a full path, such as from "answer file" ? Here's what I use in WikiRev: put it into curFileName set the itemDelimiter to "/" put the last item of curFileName into shortCurFileName put item 1 to -2 of curF

Re: Get file name from full path and name?

2006-02-08 Thread Garrett Hylltun
M Doughnut This is good too. Thanks J. -Garrett On Feb 8, 2006, at 2:53 PM, J. Landman Gay wrote: Garrett Hylltun wrote: Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a

Re: Get file name from full path and name?

2006-02-08 Thread Eric Chatonet
Hi Garret, function FullPathToShortFileName pPath set the itemDel to slash return last item of pPath end FullPathToShortFileName And (for instance): put FullPathToFileName(the filename of this stack) into tStackShortFileName Le 8 févr. 06 à 23:46, Garrett Hylltun a écrit : Searched the

Re: Get file name from full path and name?

2006-02-08 Thread Garrett Hylltun
Excellent! And I actually understand that too! Thank you Klaus, -Garrett On Feb 8, 2006, at 2:50 PM, Klaus Major wrote: Hi Garrett, Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a

Re: Blured Printout of Textfield Over Image

2006-02-08 Thread Mark Waddingham
Hi Thomas, Text in a textfield that is placed on top of an image gets an ugly shadow if it is printed out. When I "print" it as a pdf-file and have a closer lock, I see two things: - the text nice and scaleable - a dropback of the text in pixels of the original screen-resolution. The same

Re: Get file name from full path and name?

2006-02-08 Thread J. Landman Gay
Garrett Hylltun wrote: Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from "answer file" ? Like so: set the itemdelimiter to "/" put last item of "my/long/filep

Incoming command line parameters?

2006-02-08 Thread Garrett Hylltun
Greetings, How to grab command line parameters that are sent to my rev app when it's launched? Thanks, -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscript

Re: Get file name from full path and name?

2006-02-08 Thread Klaus Major
Hi Garrett, Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from "answer file" ? ... answer file "Is there any beer left?" if it = empty then exit mouseup ##or w

Re: Blured Printout of Textfield Over Image

2006-02-08 Thread J. Landman Gay
Thomas Bähler wrote: Dear List Text in a textfield that is placed on top of an image gets an ugly shadow if it is printed out. When I "print" it as a pdf-file and have a closer lock, I see two things: - the text nice and scaleable - a dropback of the text in pixels of the original screen-res

Get file name from full path and name?

2006-02-08 Thread Garrett Hylltun
Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from "answer file" ? Thanks, -Garrett ___ use-revolution mailing list u

Re: Odd Even Numbers

2006-02-08 Thread Raymond Griffith
Or function isOdd tNumber return tNumber mod 2 = 1 end isOdd On 2/8/06 9:37 AM, "Mark Smith" <[EMAIL PROTECTED]> wrote: > function isOdd tNumber >if tNumber mod 2 = 0 then > return false >else > return true >end if > end isOdd > > if isOdd(x) then set the the textCo

Re: SpeechLab - Granny Mckay's steam-driven computer

2006-02-08 Thread Charles Hartman
On Feb 8, 2006, at 3:34 PM, Mathewson wrote: but, hey, how many real women say things like "Your hard disk is badly fragmented" in a voice that really means "lets hop in the sack for a quick one"?) You're just not moving in the right circles. Charles ___

Re: Odd Even Numbers

2006-02-08 Thread Jim Ault
The original premise was that x would be a field line number. I always set up my fields to avoid having put "$0.0021" into line 5.20 of field 1.03 of card 4.15 of stack almostmainstack Left over from the old day when I used my fingers to count. Jim Ault Las Vegas On 2/8/06 12:55 PM, "[EMAIL PR

Re: Massive XML docs

2006-02-08 Thread Ruslan Zasukhin
On 2/8/06 8:59 PM, "Mark Wieder" <[EMAIL PROTECTED]> wrote: Hi Mark, Hi Todd, > Todd- > > I'm with Ruslan on this one. DOM is the fastest way to access xml information, > but the tree size will be huge (are you talking about a single 100MB file > rather than multiple files adding up to 100MB?).

Re: Odd Even Numbers

2006-02-08 Thread FlexibleLearning
hmmm... trunc(x/2)=x/2 and x mod 2 =0... Is 5.20 an even number? /H ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mai

SpeechLab - Granny Mckay's steam-driven computer

2006-02-08 Thread Mathewson
Yes, Ken Norris is correct and I am slightly wrong: My statement that RR leverages "any speech capabilities that may be present in the host operating system" is correct insofar as those speech capabilities are part of the OS itself (Macintosh speech has, as Norris points out, been present since ma

[REQ] Testers for database library

2006-02-08 Thread Sean Shao
I will be looking for people who would be interested in testing a database library that abstracts the built-in RunRev database commands. It's made for beginners and/or people with very little SQL knowledge. Supports inserting, updating, deleting and selecting data from a table in the database. Y

Blured Printout of Textfield Over Image

2006-02-08 Thread Thomas Bähler
Dear List Text in a textfield that is placed on top of an image gets an ugly shadow if it is printed out. When I "print" it as a pdf-file and have a closer lock, I see two things: - the text nice and scaleable - a dropback of the text in pixels of the original screen-resolution. The same te

Re: SpeechLab - Granny Mckay's steam-driven computer

2006-02-08 Thread Ken Norris
Hi Richard, On Feb 8, 2006, at 10:00, [EMAIL PROTECTED] wrote: Date: Wed, 08 Feb 2006 13:16:30 -0500 From: "Mathewson" <[EMAIL PROTECTED]> Subject: SpeechLab - Granny Mckay's steam-driven computer As far as I understand things, RR does not have "strong speech capabilities"; what it does have i

Re: Enterprise problem

2006-02-08 Thread Jim Ault
On 2/8/06 9:44 AM, "MisterX" <[EMAIL PROTECTED]> wrote:> >. Rev is the perfect answer but it's crashing! > The read file operation is not using get url file: but open file, read from > file, close file > > Each open, read and close is monitored for errors. > > open file thisfile > if the re

Re: Opening other applications from within Revolution

2006-02-08 Thread Jim Ault
On 2/8/06 6:24 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I have an Excel file on my hard drive that I would like to access from within > revolution (just like I can access the Internet through RevGoUrl). What > command can issue to open and see the file? I am having some trouble try

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
On 2/8/06 12:12 PM, "Ken Ray" <[EMAIL PROTECTED]> wrote: > Actually, I also found that if you ask for "the environment" you get > "command line"... I think I'll use that instead... This should also be documented (which would help) - right now the docs for 'environment' don't mention "command line

Re: Difficulty using shell in Ubuntu Linux

2006-02-08 Thread Gordon Tillman
Stephen I don't think so.. On Feb 8, 2006, at 13:11, Stephen Barncard wrote: just a thought - does one have to be 'root' or at least set some permissions to use shell? I'm using it from a non-root account, although it *is* an account that can "sudo" if it needs to execute something as root

Re: Difficulty using shell in Ubuntu Linux

2006-02-08 Thread Stephen Barncard
just a thought - does one have to be 'root' or at least set some permissions to use shell? I am using Ubuntu Linux (#5.04 - "Hoary Hedgehog")*** with Rev 2.6.1. No matter what I try, I cannot get the function/commands "shell", "launch" or "open process" to work. I have checked that the path to

RE: Enterprise problem

2006-02-08 Thread MisterX
Mark im not sure this is it... or it wouldn't crash on files after a certain point, pass the same files where it crashed before and crash on files later. Files have not changed since archival, they were virus checked before. Still worth the check but not it IMOHO... thanks for the though in the

Re: Massive XML docs

2006-02-08 Thread Mark Wieder
Todd- I'm with Ruslan on this one. DOM is the fastest way to access xml information, but the tree size will be huge (are you talking about a single 100MB file rather than multiple files adding up to 100MB?). You can write a SAX processor, in which case you won't have the whole tree in memory, but

Re: FTP

2006-02-08 Thread Sivakatirswami
Aloha Pierre: This is pretty sophisticated! But intriguing and clearly very powerful. Questions: 1) Can you share some scripts from the client side app that shows this in action? 2) Are you doing this from the terminal and the switching to the Rev app? Or are you managing the entire hands

Re: Enterprise problem

2006-02-08 Thread Mark Wieder
X- Wednesday, February 8, 2006, 9:44:35 AM, you wrote: > The stack is nothing complex. It's 5 KBs without data and it tries to read > the first KB of every file in a 4000 files list. List is 240KBs roughly. So, > for each file, it opens the file, reads 1024 bytes, closes the file. Sounds like t

More about Granny Mckay's steam-driven computer

2006-02-08 Thread Mathewson
This is not quite as OT as it may at first seem . . . If one wants to be really cynical one can chop people in the world up into various groupings: Class #1. Those who have computers which they regularly upgrade and/or exchange - equipped with reasonably up-to-date operating systems. Class #2.

SpeechLab - Granny Mckay's steam-driven computer

2006-02-08 Thread Mathewson
As far as I understand things, RR does not have "strong speech capabilities"; what it does have is the ability to leverage any speech capabilities that may be present in the host operating system. My Masters thesis was an attempt to write an Agent-like GUI for people who knew nothing about compute

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
On 2/8/06 11:58 AM, "Trevor DeVore" <[EMAIL PROTECTED]> wrote: > On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: > >> Hi, I have a library that I want my CGI to 'start using', but it is >> important that the library know whether it is being loaded from a >> CGI, or >> whether it's being loaded from a

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
On 2/8/06 11:58 AM, "Trevor DeVore" <[EMAIL PROTECTED]> wrote: > On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: > >> Hi, I have a library that I want my CGI to 'start using', but it is >> important that the library know whether it is being loaded from a >> CGI, or >> whether it's being loaded from a

Re: Opening other applications from within Revolution

2006-02-08 Thread Phil Davis
After reading Mathewson's post and re-reading yours, Steve, I'm guessing I mis-answered earlier. You would rather get spreadsheet data out of the spreadsheet and into Rev, right? It might be possible to write a vbscript that reaches out and asks Excel to give it the tab-delimited text of some

Re: SpeechLab

2006-02-08 Thread Charles Hartman
text -> speech is easy (relatively; still very poor) speech -> text is hard On Feb 8, 2006, at 11:42 AM, Jeff Honken wrote: The MonsieurX.com site has a fun application called SpeechLab that allow you to type in a sentence and it will voice it back to you. Does Revolution have the reverse c

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread J. Landman Gay
Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a "normal" stack. What can a stack do to test whether it's being loaded from a CGI or not? Does your cgi r

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Dave Cragg
On 8 Feb 2006, at 17:06, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a "normal" stack. What can a stack do to test whether it's being loaded from a

Re: Enterprise problem

2006-02-08 Thread Mark Smith
Just a thought, and it's certainly outside of my experience, but since you mention aliases... if there is a file (the aliasReference of file fName) Mark On 8 Feb 2006, at 17:44, MisterX wrote: Hi everyone i have a "serious" problem... Time is limited for these tests and i have to get

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Trevor DeVore
On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a "normal" stack. What can a stack do to test whether it's being loaded from

RE: PayPal, Kagi, esellerate. Splitting revenue

2006-02-08 Thread Lynn Fredricks
> Perhaps a point of clarification > > I was thinking a lot about tools that are targeted at folks > who use shareware all the time. Developers and power users. I > do not think this approach would work well for end user, > consumer or professional. > But how many of you out there make so

Re: Odd Even Numbers

2006-02-08 Thread Jonathan Lynch
if trunc(X/2) = X/2 On 2/8/06, Jim Ault <[EMAIL PROTECTED]> wrote: > > Rather than a function, why not use (assuming integer line numbers only) > get "blue" > if x mod 2 = 0 then get "red" > put it into colorChoice > > Jim Ault > Las Vegas > > On 2/8/06 6:44 AM, "Geoff Canyon" <[EMAIL PROTECTED]>

Enterprise problem

2006-02-08 Thread MisterX
Hi everyone i have a "serious" problem... Time is limited for these tests and i have to get them out tomorow if possible. Hopefully you can guide me to resolve this... Rev is the perfect answer but it's crashing! I've had a major series of crashes today, i've had a lot of issues with network a

Opening other applications from within Revolution

2006-02-08 Thread Mathewson
Maybe I'm a bit stupid - but this seems rather redundant; unless one is building a sort of TaskBar with RR. What is much more interesting, to my mind, is the ability of RR stacks to import data from documents/files generated by other applications (cf RR's database capabilities), process it, and, i

Re: Difficulty using shell in Ubuntu Linux

2006-02-08 Thread Bob Warren
Thanks Gordon. No, that's not the trouble. My default shellCommand is also correctly set to "/bin/sh". I've got the awful feeling I'm committting a goof somewhere, but that I'm too blind to see it... As a result of your mention of the ShellCommand, I've just had the inspiration of setting

How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a "normal" stack. What can a stack do to test whether it's being loaded from a CGI or not? Ken Ray Sons of Thunder Software

Re: PayPal, Kagi, esellerate. Splitting revenue

2006-02-08 Thread Todd Geist
On Feb 8, 2006, at 8:41 AM, Lynn Fredricks wrote: I think it's a good idea to decide where you want to go with your software business when making this kind of decision. If you do not see yourself turning your software business into a full time endeavor AND you arent selling an infrastructure

Re: Write File From Cache Really Slow?

2006-02-08 Thread J. Landman Gay
Ken Ray wrote: Hi, I'm downloading files via HTTP with 'load URL' and then I'm writing them to disk with "put url... into binfile". Everything works fine, but it takes a really long time to write the data to disk. For example, if I download a 12MB file into the cache, it takes well over a minute

Re: Write File From Cache Really Slow?

2006-02-08 Thread Ken Ray
On 2/8/06 3:47 AM, "Dave Cragg" <[EMAIL PROTECTED]> wrote: > On 8 Feb 2006, at 08:47, Ken Ray wrote: > >> Hi, >> >> I'm downloading files via HTTP with 'load URL' and then I'm writing >> them to >> disk with "put url... into binfile". Everything works fine, but it >> takes a >> really long time

SpeechLab

2006-02-08 Thread Jeff Honken
The MonsieurX.com site has a fun application called SpeechLab that allow you to type in a sentence and it will voice it back to you. Does Revolution have the reverse capabilities so that an application can be written that you can speak into a microphone on the computer and it dictates the sentence

RE: PayPal, Kagi, esellerate. Splitting revenue

2006-02-08 Thread Lynn Fredricks
> Each Item that we sell through esellerate is automatically split to > as many individuals as we want, based on a formula that we can set. > There is absolutely zero work on our end once the system is > in place. At the end of each month, a check sent to each of > us. Since esellerate is

Re: Massive XML docs

2006-02-08 Thread Ruslan Zasukhin
On 2/8/06 5:50 PM, "Todd Geist" <[EMAIL PROTECTED]> wrote: Hi Todd, > Hello Everyone. > > I have some very large XML files ( 100mb or more) that I would to > parse. And this thing has to be fast. I mean FAST. Since I have done > almost no work with rev and XML, I am looking for advice on how to

Re: Odd Even Numbers

2006-02-08 Thread Jim Ault
Rather than a function, why not use (assuming integer line numbers only) get "blue" if x mod 2 = 0 then get "red" put it into colorChoice Jim Ault Las Vegas On 2/8/06 6:44 AM, "Geoff Canyon" <[EMAIL PROTECTED]> wrote: > function isOdd x >if x mod 2 is 1 then return true else return false > e

Re: Opening other applications from within Revolution

2006-02-08 Thread Phil Davis
Hi Steve! You can use the "launch" command for this. Here's a basic script I just put together and used to open a PDF file with Acrobat Reader: on mouseUp answer file "file?" if it = empty then exit mouseUp put it into tFile answer file "app?" if it = empty then exit mouseUp put i

RE: [ANN] Speechlab

2006-02-08 Thread MisterX
with a little script, this program even raps!!! Now, I haven't seen something this fun in a long time! on mouseUp put "TAlk to me" into A put "Shut up" into B send "mouseup" to btn A wait 400 milliseconds send "mouseup" to btn B repeat 2 times send "mouseup" to btn A wait 300

Massive XML docs

2006-02-08 Thread Todd Geist
Hello Everyone. I have some very large XML files ( 100mb or more) that I would to parse. And this thing has to be fast. I mean FAST. Since I have done almost no work with rev and XML, I am looking for advice on how to proceed The user experience needs to be some thing like this... I sel

Re: Odd Even Numbers

2006-02-08 Thread Eric Chatonet
Sorry Robert, I had misunderstood the sense of your question :-( Bad English as usual :-) Le 8 févr. 06 à 15:37, Eric Chatonet a écrit : Hi Robert, If the lineNumber of line x of fld "List" is not a number... If the lineNumber of line x of fld "List" is not an integer... Le 8 févr. 06 à 15:

Re: Odd Even Numbers

2006-02-08 Thread Geoff Canyon
function isOdd x if x mod 2 is 1 then return true else return false end isOdd function isEven x if x mod 2 is 0 then return true else return false end isEven Note that for these functions, 2.5 is neither odd nor even, and non- numbers cause an error. To be safe you would use: function isO

Re: Difficulty using shell in Ubuntu Linux

2006-02-08 Thread Gordon Tillman
On Feb 8, 2006, at 08:03, Bob Warren wrote: I am using Ubuntu Linux (#5.04 - "Hoary Hedgehog")*** with Rev 2.6.1. No matter what I try, I cannot get the function/commands "shell", "launch" or "open process" to work. I have checked that the path to the standalone folder for launching is corre

Re: Odd Even Numbers

2006-02-08 Thread Eric Chatonet
Hi Robert, If the lineNumber of line x of fld "List" is not a number... If the lineNumber of line x of fld "List" is not an integer... Le 8 févr. 06 à 15:28, Robert Presender a écrit : How does one determine if a number is odd or even? For example I would like to do something like this: If

Re: Odd Even Numbers

2006-02-08 Thread Mark Smith
function isOdd tNumber if tNumber mod 2 = 0 then return false else return true end if end isOdd if isOdd(x) then set the the textColor of line x of fld "List" to red Hope this helps, Mark On 8 Feb 2006, at 14:28, Robert Presender wrote: How does one determine if a number is od

Odd Even Numbers

2006-02-08 Thread Robert Presender
How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld "List" is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution

Opening other applications from within Revolution

2006-02-08 Thread Stgoldberg
I have an Excel file on my hard drive that I would like to access from within revolution (just like I can access the Internet through RevGoUrl). What command can issue to open and see the file? I am having some trouble trying to do this through the "open" or "open file" commands. Thanks.

Difficulty using shell in Ubuntu Linux

2006-02-08 Thread Bob Warren
I am using Ubuntu Linux (#5.04 - "Hoary Hedgehog")*** with Rev 2.6.1. No matter what I try, I cannot get the function/commands "shell", "launch" or "open process" to work. I have checked that the path to the standalone folder for launching is correct (by displaying its files), messing about wit

Re: Group script triggers objects out of it!

2006-02-08 Thread Robert Brenstein
Hi Mark and Klaus, Thanks for confirming this. I suspected some kind of "corruption"... Nevertheless I find it non consistent. It obliges to check if the target is really owned by the group before executing any system message handler! I would understand this behavior for imported HC stacks (HC

Re: liburl cgi linux

2006-02-08 Thread Thomas McCarthy
Dave, Wouldn't it be nice if rev had a stack running which we could post to and it would post back so we could test this stuff? Anyhow thanks for all your useful comments. >A local "test server" is useful for this, but not always practical. Putting >the script in a try handler can help, with t

Re: Group script triggers objects out of it!

2006-02-08 Thread Mark Smith
It certainly mimics the old HC behaviour, but I'm not so sure it's ideal in the context of Revolution. Still, to change it now might break so much existing code that it's probably not a good idea. I suppose one could avoid having the group as a background, and simply place it explicitly on

Re: PayPal and Rev update

2006-02-08 Thread Robert Brenstein
http://www.discamus.com/nunc/how/ Thanks to David Cragg,, I was able to get the POST function working...and now I can say with much confidence that this thing works! The How To web page is also almost done --not pretty, but 90% of the scripts are up there. Enough for anyone to get started. My

Re: Comparing two versions of a RunRev app

2006-02-08 Thread Eric Chatonet
André, As you say: a bit risky... I would say by experience: certainly risky :-) Duplicate the stack and write a little script that will rename (and back) one of the stacks and its substacks: on RenameStacks answer file "Choose a stack:" if it = empty then return "Cancel" lock messages

Re: Comparing two versions of a RunRev app

2006-02-08 Thread André . Bisseret
Le Wednesday, 8 Feb 2006, à 11:06 Europe/Paris, Eric Chatonet a écrit : Bonjour André, It works! Probably you tried to open the same stack twice in the same instance of Rev. Both instances are exactly similar and it's easy to be wrong :-) Open the first one and create a new stack with a fie

Re: PayPal and Rev update

2006-02-08 Thread Pierre Sahores
Hi Thomas ! Please, let me add my voice to the thanks we all need to have to you for this first class work and course ! Probably the most usefull piece of code design i got in about xtalk's networked tasks since i learned years ago how to build my first hypercard acgi script from the Mac

Re: Ask does not wait for an answer

2006-02-08 Thread simplsol
Martin, No, the original closedField field is "Quantity Shipped 1". I do have another handler called by this closeField but get the same results when it is commented out. What I am trying to do is make sure that a date is entered in a date field if there is a quantity entered in the shipment fie

Re: PayPal and Rev update

2006-02-08 Thread Eric Chatonet
Hi Thomas Invaluable contribution :-) Le 8 févr. 06 à 13:00, Thomas McCarthy a écrit : http://www.discamus.com/nunc/how/ The How To web page is also almost done --not pretty, but 90% of the scripts are up there. Enough for anyone to get started. My Registration window rev stack is also th

Re: liburl cgi linux

2006-02-08 Thread Dave Cragg
On 7 Feb 2006, at 23:37, Thomas McCarthy wrote: I just did the latter, and I can post from the cgi script on a Linux server. I forgot to ask, how did you test it? The hard way. :-) I checked the Apache error log on the server which gives the line in the CGI script where the error occurr

PayPal and Rev update

2006-02-08 Thread Thomas McCarthy
http://www.discamus.com/nunc/how/ Thanks to David Cragg,, I was able to get the POST function working...and now I can say with much confidence that this thing works! The How To web page is also almost done --not pretty, but 90% of the scripts are up there. Enough for anyone to get started. My R

Re: Group script triggers objects out of it!

2006-02-08 Thread Klaus Major
Hi Eric, Hi Mark and Klaus, Thanks for confirming this. I suspected some kind of "corruption"... Nevertheless I find it non consistent. It obliges to check if the target is really owned by the group before executing any system message handler! I would understand this behavior for imported HC

Re: Group script triggers objects out of it!

2006-02-08 Thread Eric Chatonet
Hi Mark and Klaus, Thanks for confirming this. I suspected some kind of "corruption"... Nevertheless I find it non consistent. It obliges to check if the target is really owned by the group before executing any system message handler! I would understand this behavior for imported HC stacks (HCA

Re: Group script triggers objects out of it!

2006-02-08 Thread Klaus Major
Hi Eric, Hi everyone, I encounter a weird behavior: I have a tool bar group shared by several cards. Any button on any card that is not owned by the group acts *as* it belonged to the group. When the group is not shared and appears in one card only, this does not occur... Did anybody has

Re: Group script triggers objects out of it!

2006-02-08 Thread Mark Schonewille
Hi Eric, Do you mean that a mouseUp in a button which is not part of the group triggers the mouseUp handler in that group? That is normal behaviour for a group, which has the backgound behaviour set to true. Best, Mark Eric Chatonet wrote: Hi everyone, I encounter a weird behavior: I

Re: How to stay on a card when repeating a « find »

2006-02-08 Thread André . Bisseret
Bonjour Éric, Thank you very much for this nice "decision tool" ! Actually, the 10 tests on 2000 cards are extraordinarily fast (good for me, all the more so that I am even far from getting 2000 cards in my app. !). I like your "repeat for each line tCd in the cardNames of this stack" to

Re: Group script triggers objects out of it!

2006-02-08 Thread Eric Chatonet
Hi Mark, Le 8 févr. 06 à 11:38, Mark Smith a écrit : When you say 'acts as if it belonged to the group', do you mean that it's messages (that should go to the stack) get intercepted by the group Exactly. So it *should* not happen! or that it really is like it's a member of the group ie,

  1   2   >