Re: screen resolution problems

2004-12-10 Thread Jonathan Cooper
On Wednesday, December 8, 2004, at 02:56 PM, Chipp Walters wrote: The easiest solution is to check on startup the screen resolution (get the screenRect) and if it's not big enough popup an answer warning dialog telling the user to please quit and change resolutions and relaunch. [snip] [EMAIL

simple applescript?

2004-12-10 Thread Chipp Walters
Hi all. Need a bit of help here...why doesn't this work? on mouseUp answer file if it is empty then exit to top put it into pPDFpath replace / with : in pPDFpath if char 1 of pPDFpath is : then delete char 1 of pPDFpath put tell application quote Finder quote cr into tScript put

are we beaten yet?

2004-12-10 Thread xbury . cs
Check out http://slashdot.org/articles/04/12/09/2323242.shtml?tid=100tid=152tid=1 According to it, PDAs will get flash software and developpers before we do! It would be great to just port a stack to palm and have it work. Old newton dreams again... X

Re: have we eaten yet?

2004-12-10 Thread Klaus Major
Hi Xavier, Check out http://slashdot.org/articles/04/12/09/2323242.shtml? tid=100tid=152tid=1 According to it, PDAs will get flash software and developpers before we do! Yes, sad but true... It would be great to just port a stack to palm and have it work. Old newton dreams again... If only Jan

Re: [OT] young developer

2004-12-10 Thread Jan Schenkel
--- Sarah Reichelt [EMAIL PROTECTED] wrote: Hi All, Sorry for the irrelevant email but I had to share my news with you :-) My middle son (aged 12) just graduated from primary school yesterday and was awarded the school's technology prize. Among his list of accomplishments that was read

Re: simple applescript?

2004-12-10 Thread Ben Rubinstein
Chipp wrote: Hi all. Need a bit of help here...why doesn't this work? on mouseUp answer file if it is empty then exit to top put it into pPDFpath replace / with : in pPDFpath if char 1 of pPDFpath is : then delete char 1 of pPDFpath put tell application quote Finder quote cr

Re: simple applescript?

2004-12-10 Thread Dave Cragg
On 10 Dec 2004, at 10:03, Chipp Walters wrote: Hi all. Need a bit of help here...why doesn't this work? on mouseUp answer file if it is empty then exit to top put it into pPDFpath replace / with : in pPDFpath if char 1 of pPDFpath is : then delete char 1 of pPDFpath put tell

Re: parsing comments in scripts

2004-12-10 Thread Alex Tweedly
At 23:01 09/12/2004 -0800, Mark Wieder wrote: All- In the last few days I've started to realize how many ways comments and non-comments that look like comments can be embedded into lines of script code. In trying to get to what's actually code I've tried getting the offset of a -- string, which

Re: parsing comments in scripts

2004-12-10 Thread Robert Brenstein
#comment text --comment text more text -- still more text more text --comment text more text text -- text text more text text still more --comment (did I leave any out) plenty :) although it may be that only MetaCard allows to use both quoting modes. from the above set text more text -- still

Re: parsing comments in scripts

2004-12-10 Thread Richard Gaskin
Robert Brenstein wrote: #comment text --comment text more text -- still more text more text --comment text more text text -- text text more text text still more --comment (did I leave any out) plenty :) although it may be that only MetaCard allows to use both quoting modes. Make that three:

Christmas Special - we'll even solve your christmas shopping problem

2004-12-10 Thread Heather Nagey
Dear list members, www.runrev.com/revbears.php Having a tough day? Code not doing what it should? Need a mascot to turn things around? Sometimes what you need is not technical support, but a hug. These bears are designed to fill this need in every developers' life. Your unique revBear will

Re: screen resolution problems

2004-12-10 Thread Frank D. Engel, Jr.
Except that if it quits right away, then what is left to change the resolution back? It should stick around and wait for the other standalone to exit, then restore the original screen resolution. Not a bad idea, really... On Dec 10, 2004, at 3:53 AM, Jonathan Cooper wrote: On Wednesday,

RE: parsing comments in scripts

2004-12-10 Thread MisterX
It may not be the fastest but its been quite reliable. This is the comment stripper for Transcriptolator. It removes the comments and THEN puts them back (optional...) It works line be line... hope it helps... cheers Xavier --

Re: Arrays in Rev

2004-12-10 Thread Richard Gaskin
Mark Brownell wrote: This thing is not a real array within an array, it just acts like one. I hate to reinforce any perceptions of my curmudgeonliness, but for the benefit of newcomers here it may be useful to remind folks that while this indexed array is scripted, Rev's built-in associative

Re: parsing comments in scripts

2004-12-10 Thread Alex Tweedly
At 13:01 10/12/2004 +, Alex Tweedly wrote: At 23:01 09/12/2004 -0800, Mark Wieder wrote: I came across an interesting combination of tokens and words: tokens ignore comments, words don't make that distinction. However, the token delimiter isn't necessarily where I want it to be: put the tokens

Re: Arrays in Rev

2004-12-10 Thread Mark Brownell
Hi, I fooled around with array's and pull-parsers for an easier solution. Dimensional Arrays: This thing is not a real array within an array, it just acts like one. It provides a way to store the data as MTML, like simple XML. This version is created with functions that can be copied to your own

Re: parsing comments in scripts

2004-12-10 Thread Alex Tweedly
At 05:29 10/12/2004 -0800, Richard Gaskin wrote: Make that three: recently (v2.5?) they added support for multiline C-style comments: /* */ I love it when you get two, very different ways to create comments, and they can interact Any votes for how to interpret put asd /* comment -- this here

Re: Arrays in Rev

2004-12-10 Thread Troy Rollins
On Dec 10, 2004, at 2:44 PM, Alex Tweedly wrote: It's real, but it is NOT *within* another array. In Rev, you cannot do something equivalent to put abc into a[1] put def into a[2] put ghi into b[z] put a into b[y] which you can (with different syntax) in Perl, Python, (I think) Ruby, Or in

Re: testing on case

2004-12-10 Thread Dar Scott
On Dec 10, 2004, at 9:12 AM, [EMAIL PROTECTED] wrote: put matchText( z, ^[A-Z]) I definitely get false returned. matchText( mom, ^[A-Z]) == false matchText( Mom, ^[A-Z]) == true matchText( =Mom, ^[A-Z]) == false matchText( \Mom, ^[A-Z]) == false This is consistent with testing whether the

Re: Arrays in Rev

2004-12-10 Thread Trevor DeVore
On Dec 10, 2004, at 12:17 PM, Troy Rollins wrote: Or in Lingo - myVar = [#check: [#this: [#out: Cool]]] put myVar.check.this.out -- Cool put myVar[1][1][1] -- Cool People will debate the usefulness of such constructs, but I have yet to see anything in Transcript which is nearly so elegant for

Re: Arrays in Rev

2004-12-10 Thread Gordon
Dear Revolutionaries Thanks for all the suggestions - I appreciate the help. I have to say that I agree with Troy - it seems like rr could really use some kind of elegant solution to this problem. Sure - it's possible to work around it, but having to code these kind of basic housekeeping

Re: parsing comments in scripts

2004-12-10 Thread Dar Scott
On Dec 10, 2004, at 1:28 PM, Mark Wieder wrote: RB In general, I think you need to use the offset function for each line RB and check for either -- or # and count whether there is an even RB number of double-quotes before it (setting for example itemdelim to RB quote and get the item count). If

Re: parsing comments in scripts

2004-12-10 Thread Hugh Gallagher
Dar, thanks for the tip. Hugh On Dec 10, 2004, at 2:39 PM, Dar Scott wrote: On Dec 10, 2004, at 1:28 PM, Mark Wieder wrote: RB In general, I think you need to use the offset function for each line RB and check for either -- or # and count whether there is an even RB number of double-quotes

Re: Possible encrypt/decrypt bug

2004-12-10 Thread Dar Scott
On Dec 10, 2004, at 2:54 PM, David Kwinter wrote: I've checked bugzilla and haven't found this, I thought I'd run it by this list before posting a new bug. ... encrypt originalData using aes256 with key tKey at 256 bit put it into encryptedData decrypt encryptedData using aes256 with key

Re: Arrays in Rev

2004-12-10 Thread Mark Brownell
On Friday, December 10, 2004, at 12:17 PM, Troy Rollins wrote: Or in Lingo - myVar = [#check: [#this: [#out: Cool]]] put myVar.check.this.out -- Cool put myVar[1][1][1] -- Cool [snip] Troy That's where I got it, Director. The point I'm making is that it's a container that can store information at

Re: Arrays in Rev

2004-12-10 Thread Mark Brownell
On Friday, December 10, 2004, at 11:13 AM, Richard Gaskin wrote: Mark Brownell wrote: This thing is not a real array within an array, it just acts like one. I hate to reinforce any perceptions of my curmudgeonliness, but for the benefit of newcomers here it may be useful to remind folks that

Re: Arrays in Rev

2004-12-10 Thread Troy Rollins
On Dec 10, 2004, at 8:00 PM, Mark Brownell wrote: The point I'm making is that it's a container that can store information at numerical points [101][2][23] or 101,2,23 or any delimiter that you select. I get what I needed in Lingo working fine for me in transcript. I'm just thankful that it

Connecting to PostGreSQL on same machine: Mac OSX

2004-12-10 Thread Sivakatirswami
Alright... I've successfully installed PostGreSQL on my mac... in the terminal it's up and running, I've created a database and just now did select * from taskroster and got my two test rows returned... but.. in the Mac's activity monitor... i don't see a process named Postgres just the tcsh

Going to Paris

2004-12-10 Thread Geoff Canyon
I'm going to be in Paris from 28th December through 6th January. Is anyone in the area interested in getting together to swap Revolution stories? regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED]

Popup menu and radio buttons

2004-12-10 Thread CHARLES W SZASZ
In my project, I have created a popup menu that has 22 choices of combinations of IQ and achievement tests. Each selection has one IQ and one achievement test. Each test such as an IQ may have four to five scores, while each achievement test may have as many as 10 scores. Each combination of

RE: THESIS now available (Mathewson)

2004-12-10 Thread John Rule
This is a doctoral thesis? JR -Original Message- Date: Thu, 09 Dec 2004 14:52:35 -0500 From: Mathewson [EMAIL PROTECTED] Subject: THESIS now available To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Dear xTalkers,

Re: Christmas Special - we'll even solve your christmas shopping problem

2004-12-10 Thread Marian Petrides
Heather, The bears are priceless ;-) One question, however. Christmas is a mere 2 weeks away. Will US customers really get their bear by Christmas if ordered now? Marian On Dec 10, 2004, at 9:45 AM, Heather Nagey wrote: Dear list members, www.runrev.com/revbears.php Having a tough day? Code not

RE: testing on case

2004-12-10 Thread James . Cass
Jonathan - That's weird, right? When I do this in the messagebox or in a button script: put matchText( z, ^[A-Z]) I definitely get false returned. But when I do this in the messagebox put matchText( z, ^[aA-zZ]) I get true. This is the way I would expect it to behave. I

Re: Arrays in Rev

2004-12-10 Thread Frank D. Engel, Jr.
As far as records (C's struct types), there are at least two ways to do this: Mathod 1. Arrays Since array keys can be strings, you can convert something like this: VAR myRec : RECORD x, y : INTEGER END; BEGIN x := 5; y := 7 END; into something like this: put 5 into myRec[x] put 7 into

Re: parsing comments in scripts

2004-12-10 Thread Mark Wieder
Alex- Friday, December 10, 2004, 5:01:53 AM, you wrote: (did I leave any out) AT text # comment AT and variants of that. ...yes, I was thinking of # and -- as interchangeable here. put the tokens of put quote something quote --comment AT That's not quite what I see - I get just AT put

Re: parsing comments in scripts

2004-12-10 Thread Mark Wieder
Richard- Friday, December 10, 2004, 5:29:33 AM, you wrote: RG Make that three: recently (v2.5?) they added support for multiline RG C-style comments: /* */ Right. I forgot to mention those. I have to handle those separately, of course, because they can and usually do cover multiple lines. --

Re: parsing comments in scripts

2004-12-10 Thread Mark Wieder
Robert- Friday, December 10, 2004, 5:22:49 AM, you wrote: RB In these cases it matters whether you first check for # or -- so you RB should really check both cases and see which has has lower offset. I don't think so. They're interchangeable at that level. RB In general, I think you need to

Re: Arrays in Rev

2004-12-10 Thread Troy Rollins
On Dec 10, 2004, at 3:39 PM, Gordon wrote: IMHO, the single greatest feature in the Python language is the nestable keyed libraries that can be freely mixed with lists. How beautiful, simple, elegant and still readable ten years later it is, when you can use something like: Curiously, Python and

Re: parsing comments in scripts

2004-12-10 Thread Dar Scott
On Dec 10, 2004, at 12:26 PM, Alex Tweedly wrote: Unfortunately, it appears that token DOES include the C-style comment delimiters recently introduced, and they can be multi-line, so you'll need to do something more to deal with that. I missed most of this. I'll just throw in this comment to

Disappointed by Dreamcard/Revolution

2004-12-10 Thread Jérôme Rosat
Hello, I have a PowerBook G4 450MHz with MacOS 10.3. I discovered Revolution a few month ago. So I decided to buy Dreamcard to test it. I am very surprised by the reactions of this application: After a few hours of use: - the keyboard shortcuts (copy/past for example) don't work any more - the

Possible encrypt/decrypt bug

2004-12-10 Thread David Kwinter
I've checked bugzilla and haven't found this, I thought I'd run it by this list before posting a new bug. These should both answer true at the end, but the first, using key doesn't. I've encountered it while encrypting and decrypting binary files, expecting to reproduce the files exactly. on

Re: Disappointed by Dreamcard/Revolution

2004-12-10 Thread Pierre Sahores
Hi Jérôme, I don't use Dreamcard because i'm owning a Revolution Entreprise license... witch i use, as my main tool, to develop n-tier web, erp and video-streaming apps for my customers (french administrations : education, universities, towns, local administrations). As Metacard was before it,