Re: Another newb question - How to you clear a field?

2009-05-09 Thread Neal Campbell
I actually think that Rev is easier for newbies than converts. For those of us that spend/spent a great deal of time in C/Java/C++/C#, Rev is non-intuitive until you swap your old brain out. I found that if I typed how I would explain what I was doing to my wife (a non-programmer) it helped

Re: Another newb question - How to you clear a field?

2009-05-09 Thread Thomas McGrath III
On May 8, 2009, at 5:33 PM, J. Landman Gay wrote: Stephen Cox wrote: So I search the Dictionary on empty, got nothing; It's in there, in its own entry. You do have to make sure that the all category is chosen in the left side column though, otherwise the dictionary will filter results to

Re: Another newb question - How to you clear a field?

2009-05-09 Thread Francis Nugent Dixon
Hi from Paris, Jacqueline, Did I correctly understand what you put in your recent post : And if literal names are not quoted, the engine takes twice as long to execute the statement because of the additional lookup. Do you mean that the statement : If field MyField = YES then ...

Re: Another newb question - How to you clear a field?

2009-05-09 Thread J. Landman Gay
Francis Nugent Dixon wrote: Hi from Paris, Jacqueline, Did I correctly understand what you put in your recent post : And if literal names are not quoted, the engine takes twice as long to execute the statement because of the additional lookup. Do you mean that the statement : If field

Re: Another newb question - How to you clear a field?

2009-05-09 Thread Mark Wieder
Stephen- Friday, May 8, 2009, 1:08:34 PM, you wrote: The manual is good, but has no reference to other languages. It would help get my head out of OOP into Revolution. Don't get your head *too* far out of OOP. Revolution's got encapsulation, inheritance of a sort, and polymorphism is up to

Re: Another newb question - How to you clear a field?

2009-05-09 Thread Jerry J
From: J. Landman Gay jac...@hyperactivesw.com Yes, that is what I meant. But Dave Cragg disproved my theory, since apparently the engine works at the same speed in either case (but I am still having trouble believing it; it seems counter-intuitive.) I think it is better scripting form to

Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
Don¹t hate me for asking another nub question. ;) I am reading the docs. But this language is so different then what I am used to it¹s hard to phrase searches correctly. Ok, so how do I clear the contents of a field? Namely a text Field. I wanna offer a clear button. I¹ve been trying various

Re: Another newb question - How to you clear a field?

2009-05-08 Thread stephen barncard
put empty into fld x of stack b - Stephen Barncard San Francisco http://barncard.com 2009/5/8 Stephen Cox step...@networkxfla.com Don¹t hate me for asking another nub question. ;) I am reading the docs. But this language is so different then what I am used to it¹s

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
If you only have 1 stack do you have to include the stack ID? On 5/8/09 5:48 AM, stephen barncard stephenrevoluti...@barncard.com wrote: put empty into fld x of stack b - Stephen Barncard San Francisco http://barncard.com 2009/5/8 Stephen Cox

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Phil Jimmieson
Hi Stephen, if the field is on your current card then you only need to put empty into field yourfieldname You only need to add more specific details if you're referring to some other card and/or some other stack put empty into field yourfieldname of card thatcard of stack theotherstack

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
Heh. You know I tried that. But didn't use quotes. So I assume when referring to objects on cards you have to use quotes? On 5/8/09 5:54 AM, Phil Jimmieson p...@liverpool.ac.uk wrote: put empty into field yourfieldname ___ use-revolution mailing

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Phil Jimmieson
Ah, another potential can of worms! Rev normally allows you to use unquoted literal names, except where they're reserved words in the language, or have weird characters in them that would be difficult to parse (like spaces etc). To err on the side of caution I usually always quote my field

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Stephen Cox wrote: Don¹t hate me for asking another nub question. ;) I embrace you for it, please don't stop. This list gets way too ethereal sometimes, I love the new people. Go for it. Ask everything. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Stephen Cox wrote: Heh. You know I tried that. But didn't use quotes. So I assume when referring to objects on cards you have to use quotes? Literals are always quoted, so this: field myField means a field whose name is the literal string myField. If the quotes are omitted, the engine

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Scott Rossi
Recently, J. Landman Gay wrote: if literal names are not quoted, the engine takes twice as long to execute the statement because of the additional lookup. Jacque, is this really true? I've developed a construction/coding style over the years of naming card objects with an underscore (

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Scott Rossi wrote: Recently, J. Landman Gay wrote: if literal names are not quoted, the engine takes twice as long to execute the statement because of the additional lookup. Jacque, is this really true? I confess I made up the twice as long part, I don't really have any hard numbers on

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Scott Rossi
Recently, J. Landman Gay wrote: On a tangent, another thing that takes longer is the omission of the when refering to properties; again, just because the engine has to do a second level of interpretation. You see a lot of this: set cursor to none set name of field 1 to whatever Not

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Scott Rossi wrote: Recently, J. Landman Gay wrote: On a tangent, another thing that takes longer is the omission of the when refering to properties; again, just because the engine has to do a second level of interpretation. You see a lot of this: set cursor to none set name of field 1 to

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
And you just answered another question I was about to scan the Dictionary for. Thanks. -Stephen Cox On 5/8/09 3:25 PM, J. Landman Gay jac...@hyperactivesw.com wrote: set cursor to none ___ use-revolution mailing list use-revolution@lists.runrev.com

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Stephen Cox wrote: And you just answered another question I was about to scan the Dictionary for. Thanks. -Stephen Cox On 5/8/09 3:25 PM, J. Landman Gay jac...@hyperactivesw.com wrote: set cursor to none Yeah, well, since you're new, *you* have to write set the cursor to none. The rest

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Joe Lewis Wilkins
Hey Jacque, Has no one ever put together an FAQ for Rev newbies? I realize that could be a pretty horrendous effort, but should be useful and doable. Joe Wilkins On May 8, 2009, at 12:44 PM, J. Landman Gay wrote: Yeah, well, since you're new, *you* have to write set the cursor to none.

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Dave Cragg
On 8 May 2009, at 20:13, J. Landman Gay wrote: Scott Rossi wrote: Recently, J. Landman Gay wrote: if literal names are not quoted, the engine takes twice as long to execute the statement because of the additional lookup. Jacque, is this really true? I confess I made up the twice as long

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
The biggest problem I am having is figuring out what to search for. The language is so unique. So take my question about emptying a field. Be easy in an OOP language: empty(Text_field.text) - or something to that effect. So I would search on empty and get tons of info on the function and various

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Mark Wieder
Jacque- Friday, May 8, 2009, 12:13:43 PM, you wrote: I confess I made up the twice as long part, I don't really have any hard numbers on the increase. But as I understand it, it takes longer. Though with Rev being as fast as it is, the delay is probably not very noticeable most of the time.

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Devin Asay
On May 8, 2009, at 2:08 PM, Stephen Cox wrote: The biggest problem I am having is figuring out what to search for. The language is so unique. So take my question about emptying a field. Be easy in an OOP language: empty(Text_field.text) - or something to that effect. So I would search on

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Joe Lewis Wilkins
Stephen, The majority of us who use Rev have a background in HyperCard; going way back. There are an abundance of inexpensive, used books on that topic. Since much of the basic rev language is derived from HC, reading such a book would be an easy method of cluing you in to Rev's

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
Bookmarked. In fact, let me spend some time going over it now. Might have to waste less of your time on this list. Thanks. -Stephen Cox On 5/8/09 4:30 PM, Devin Asay devin_a...@byu.edu wrote: Welcome, Stephen. shameless plug I teach Revolution classes for complete novices, and I have my

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Richmond Mathewson
Stephen Cox wrote: Be easy in an OOP language that begs the question: Have you ever tried saying Please can I have a glass of beer? in Bulgarian? I find it easy, because I speak the language. However, ask me to clear a field in an OOP language and I be quite unable to do it. :)

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
By the way, I got the printed user guide. Now this guide is one of the best tech books I've seen. Thank you Revolution for using a font I can actually read without using a magnifier. -Stephen Cox On 5/8/09 5:00 PM, Richmond Mathewson richmondmathew...@gmail.com wrote: Coupled with the PDF

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Stephen Cox wrote: So I search the Dictionary on empty, got nothing; It's in there, in its own entry. You do have to make sure that the all category is chosen in the left side column though, otherwise the dictionary will filter results to include only those in the selected category. --

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Dave Cragg wrote: On 8 May 2009, at 20:13, J. Landman Gay wrote: Scott Rossi wrote: Recently, J. Landman Gay wrote: if literal names are not quoted, the engine takes twice as long to execute the statement because of the additional lookup. Jacque, is this really true? I confess I made up

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Joe Lewis Wilkins wrote: Hey Jacque, Has no one ever put together an FAQ for Rev newbies? I realize that could be a pretty horrendous effort, but should be useful and doable. In addition to Devin's excellent tutorials, there are also the scripting conference stacks:

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Joe Lewis Wilkins
Jacque, So, why can't we have a very conspicuously placed something that does just what you've done here; lists links to all these great resources and LABEL them as being for Newbies. Like in the very first paragraph of the Users' Guide, or on a button that appears prominently on the

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Sarah Reichelt
On Sat, May 9, 2009 at 6:08 AM, Stephen Cox step...@networkxfla.com wrote: The biggest problem I am having is figuring out what to search for. The language is so unique. So take my question about emptying a field. Be easy in an OOP language: empty(Text_field.text) - or something to that effect.

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Bob Sneidar
Good idea! We could call it NoobNuggets.com! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 8, 2009, at 3:13 PM, Joe Lewis Wilkins wrote: Jacque, So, why can't we have a very conspicuously placed something that does just what you've done here; lists links to all these great

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Bob Sneidar
Actually, I would like to see someone bend over backwards and THEN look down their noses. Now THAT would be entertainment! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 8, 2009, at 2:00 PM, Richmond Mathewson wrote: Actually, Joe Lewis Wilkins' advice is very good indeed.

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Mark Wieder
Joe- Friday, May 8, 2009, 3:13:13 PM, you wrote: Jacque, So, why can't we have a very conspicuously placed something that does just what you've done here; lists links to all these great resources and LABEL them as being for Newbies. Like in the very first paragraph of the Users' Guide, or on

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Judy Perry
I have a few such links on my mostly neglected blog: http://revined.blogspot.com Hope I didn't miss anybody! If I did, let me know! Judy On Fri, 8 May 2009, Joe Lewis Wilkins wrote: Jacque, So, why can't we have a very conspicuously placed something that does just what you've done here;

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Judy Perry
Oh, but mine's for normal people ;-P Not programmers. Judy ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Joe Lewis Wilkins
Mark: Or even that there have been such conferences and may be more in the future! Joe Wilkins On May 8, 2009, at 5:38 PM, Mark Wieder wrote: ...and *WHY* isn't there a link on the runrev site to the scripting conferences? WHY do you have to know where they are in order to get to them

Re: Another newb question - How to you clear a field?

2009-05-08 Thread J. Landman Gay
Joe Lewis Wilkins wrote: Jacque, So, why can't we have a very conspicuously placed something that does just what you've done here; lists links to all these great resources and LABEL them as being for Newbies. Yeah, RR needs to do that. In the meantime, I'd be happy to compile a list and post