A Revolution beginner seeks advice...
Frank D. Engel, Jr.
fde101 at fjrhome.net
Wed Feb 16 13:57:30 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
On Feb 16, 2005, at 1:15 PM, Karen wrote:
> competition in Revolution, I need a script as simple as:
> get the htmlText of field "edtText"
> replace text of field "edtFind" with text of field "edtReplace" in it
> set the htmlText of field "edtText" to it
set the htmlText of field "edtText" to the htmlText of field
> applications). I'm still playing around with the demo to try
> some REALbasic apps to Revolution to get a feel for what it can and
There's not really too much that Rev can't do, although there may be
some things for which other languages / tools would be more
> help with. My main concern is learning the Revolution scripting
> which seems quite a bit different to anything I'm used to. Is there a
> shortcut to doing this - would the book "Software at the Speed of
> be a help here? Is it worth getting the printed manuals? Am I best
> just to
> rely on the various web resources?
Transcript is an "XTalk" dialect, derived from the HyperTalk language
which Apple created for HyperCard. It is quite different in some ways
from other languages, and much more wordy, but you can do things with
just a small number of statements which would be considerably more
difficult in other languages. Consider statements like:
if word 5 of line 12 of field "Field" contains "e" then
answer "The fifth word of line 12 contains the letter 'e'"
put URL "http://www.apple.com" into field "My Browser"
My understanding of the printed manuals is that they are basically
printed versions of the online documentation already present in Rev.
In the event that you need some portion of the docs for quick
reference, you can just print the page(s) you need. I have not read
the book in question, but it has been given very good reviews on this
Transcript is not difficult to learn once you are familiar with the
basics. If you are already familiar with other programming languages
(such as REALbasic), you might consider starting with the "Scripts and
their structure" topic in the "Topics" area of the Rev documentation.
Questions can be answered by this list, and the list has searchable
archives as well.
> I also wonder about the "Update pack" - it seems pretty expensive, is
> worth buying? Or am I best to wait until an update appears that I
> want and then take out a renewal? Given that I've sunk a lot of money
> REALbasic, I'm keen to keep any new expenditure down!
The update pack gives you every upgrade released within a year of
purchasing the upgrade pack, and is renewable. It's up to you to
decide if it is worthwhile, but be aware that numerous bugs in Rev are
squashed with each version released lately, and that the updates are
quite nice to have if you are doing any serious programming.
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the Use-livecode