Re: Downloading Updates --the current stack?

2005-05-18 Thread Jeanne A. E. DeVoto
At 12:50 AM +0200 5/18/05, Malte Brill wrote:
  JAED If it's not the main stack of the running application, you can
 JAED download the file, replacing the outdated file, then use the revert
  JAED command to load the new version from disk.

Could there be trouble with file permissions? E.g. If the stack is 
inside the bundle on OsX?
There shouldn't be. The revert command just reads the file - and the 
application had to do the same thing when it started up. If there's a 
problem with read permissions for the file, it will exist every time 
the user runs the application, even without downloading a new copy.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Downloading Updates --the current stack?

2005-05-18 Thread Malte Brill
Hi Jeanne,
sorry, I wasn´t clear enough. What I meant is the download and 
replacement process (write permissions) e.g when the app lies on 
macHD/Applications. Would that be a problem? If so, can we code around 
it?

Thanks,
Malte
Could there be trouble with file permissions? E.g. If the stack is
inside the bundle on OsX?
There shouldn't be. The revert command just reads the file - and the
application had to do the same thing when it started up. If there's a
problem with read permissions for the file, it will exist every time
the user runs the application, even without downloading a new copy.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Downloading Updates --the current stack?

2005-05-18 Thread Klaus Major
H Jeanne,
At 12:50 AM +0200 5/18/05, Malte Brill wrote:
  JAED If it's not the main stack of the running application,  
you can
 JAED download the file, replacing the outdated file, then use  
the revert
  JAED command to load the new version from disk.

Could there be trouble with file permissions? E.g. If the stack is  
inside the bundle on OsX?

There shouldn't be. The revert command just reads the file - and  
the application had to do the same thing when it started up. If  
there's a problem with read permissions for the file, it will exist  
every time the user runs the application, even without downloading  
a new copy.
i am sure Malte meant eventual problem with WRITE permissions inside  
an OS X bundle.

What about that?
Anyway, i would recommend to store stack that might be replaced/ 
updated into some
other place like where you DO have write permissions:

##Mac OS X/OS 9
specialfolderpath(preferences)
##Prefs folder of current user
##Mac OS X:
specialfolderpath(asup)
##Application Support
##Win 2000/XP
specialfolderpath(35)
##Don't know the english name of this folder, sorry...
##Win 95,96,97,98
specialfolderpath(system)
##a.k.a the black hole: C:\Windows :-)
##Unix/Linux
$HOME
##(Homefolder of current user)
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


What is the script for selecting a specific word in a field?

2005-05-18 Thread Robert Ball
I have a field YourAnswer with several instances of xxx. I want to tab 
to each instance of xxx. The scripts

on tabKey
  find word xxx in field YourAnswer
end tabKey
and
on tabKey
  find xxx in field YourAnswer
end tabKey
work, but they give me an outline box around xxx, which is not the same 
thing as selecting xxx, which hilites xxx.

The analogous script
on tabKey
  select word xxx in field YourAnswer
end tabKey
does not work. Neither do
on tabKey
  select word xxx of field YourAnswer
end tabKey
or
on tabKey
  select xxx of field YourAnswer
end tabKey
Help!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What is the script for selecting a specific word in a field?

2005-05-18 Thread Eric Chatonet
Hi Robert,
As usual, it is very interesting to think of Is there such a script  
which do that in the IDE?
Lights!
In any script window, the Find button does what I want ;-)

So, check the revFindNext function in the script of the single card  
of any script window which is called by the Find button and adapt it.
In order to open scripts in IDE windows, check the Contextual menus  
work in Revolution windows in the main pane of the Rev Prefs.
Then use a right click to display the contextual menu in any IDE window.
Exploring the IDE always gets you rich...

Best regards from Paris,
Eric Chatonet.
Le 17 mai 05 à 23:05, Robert Ball a écrit :
I have a field YourAnswer with several instances of xxx. I want to  
tab to each instance of xxx. The scripts

on tabKey
  find word xxx in field YourAnswer
end tabKey
and
on tabKey
  find xxx in field YourAnswer
end tabKey
work, but they give me an outline box around xxx, which is not the  
same thing as selecting xxx, which hilites xxx.

The analogous script
on tabKey
  select word xxx in field YourAnswer
end tabKey
does not work. Neither do
on tabKey
  select word xxx of field YourAnswer
end tabKey
or
on tabKey
  select xxx of field YourAnswer
end tabKey

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Use an another player that XAnim

2005-05-18 Thread Damien Girard
Le mardi 17 mai 2005 à 10:25 -0700, Mark Talluto a écrit :
 On May 17, 2005, at 8:42 AM, Damien Girard wrote:
 
  Hi All,
 
  I am using revolution under Linux, and about video and audio feature,
  this isn't very great for now.
 
  So, I have seen that there are the vcplayer command in runrev. So, I
  want to choose an another player that Xanim (who aren't supported
  anymore since 1999). But I didn't know a player who can work with
  revolution. I have tried with mplayer, but this doesn't work.
 
  Thanks.
 
 
 
 Take a look at feature request:  http://support.runrev.com/ 
 bugdatabase/show_bug.cgi?id=2290
 
 Mplayer would be the obvious choice.  Though, if you are into rumors,  
 one is floating around that Apple has or is porting QT to Linux.  Has  
 something to do with iTunes for Linux.  That would be the very best  
 solution for me.
 
 
 Mark Talluto

Is it only a rumor, Apple can port QT to linux, but I didn't think now.
Mplayer is considerated has the best media player for linux (because he
can read anything).

So, for now, runrev can read only video and audio file with Xanim ? (I
tried with Xanim and runrev doesn't work with it, nasty bug).

Damien Girard

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


sqlite

2005-05-18 Thread Oak Norton
I was looking at sqlite and wondered if anyone could tell me about it's 
ability to search for text inside a potentially very large database. Will 
sqlite create an index of the words in the database if requested and do 
searches on it like proximity searches and such?

Thanks,

Oak
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


sqlite files

2005-05-18 Thread Oak Norton
I forgot to ask on the last email, since sqlite files are just individual 
files, is it possible to just use sqlite as a file save structure such that 
you could have a directory full of data files that were all individual 
sqlite databases and people could email them back and forth like regular 
files?

Thanks,

Oak
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: What is the script for selecting a specific word in a field?

2005-05-18 Thread John Ridge
From: Robert Ball [EMAIL PROTECTED]
Reply-To: How to use Revolution use-revolution@lists.runrev.com
Date: Tue, 17 May 2005 14:05:56 -0700
To: use-revolution@lists.runrev.com
Subject: What is the script for selecting a specific word in a field?

I have a field YourAnswer with several instances of xxx. I want to tab
to each instance of xxx. The scripts

on tabKey
  find word xxx in field YourAnswer
end tabKey

How about

on tabKey
  find word xxx in field YourAnswer
  select the foundText
end tabKey




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: sqlite

2005-05-18 Thread Ruslan Zasukhin
On 5/18/05 3:00 PM, Oak Norton [EMAIL PROTECTED] wrote:

Hi Oak,

 I was looking at sqlite and wondered if anyone could tell me about it's
 ability to search for text inside a potentially very large database. Will
 sqlite create an index of the words in the database if requested and do
 searches on it like proximity searches and such?

This task do perfectly Valentina.

1) With Valentina you can

* assign even to EACH field to have Language
* Assign for some field(s) to be IndexedByWords.


2) Valentina 2.0 also adds
* Unicode support. 
* such easy for use API as

VField_FindStartWith( string )
VField_FindContains( string )
VField_FindEndsWith( string )

VField_FindLike( string )
VField_FindRegEx( string )


3) also Valentina 2.0 introduce unique feature: Index Style
using which you can

  specify index style where define:
  MaxIgnoreLength
  IgnoreWords  

So you can skip some words from index by words.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: sqlite files

2005-05-18 Thread Ruslan Zasukhin
On 5/18/05 3:06 PM, Oak Norton [EMAIL PROTECTED] wrote:

Hi Oak,

 I forgot to ask on the last email, since sqlite files are just individual
 files, is it possible to just use sqlite as a file save structure such that
 you could have a directory full of data files that were all individual
 sqlite databases and people could email them back and forth like regular
 files?

Actually this is not normal mode for database.

Database give you advantage when you keep all data on the same vertical.
Then DBMS can index them and search.


What you in fact, can be done in Valentina 2.0 with help of XML load/unload.
XML is quite good format for data exchanging.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: PenTool v3

2005-05-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Very nice!
On May 18, 2005, at 12:05 AM, Alejandro Tejada wrote:
Hi developers,
Download the stack:
Pen Tool v3 from:
http://geocities.com/capellan2000/penToolv3.zip
_http://www.geocities.com/capellan2000/penToolv3.zip_
This stack shows five buttons:
a pen tool,two Selection Tools,
and EXIT and Help buttons.
(These nice icons are from the collection of
Ximian Project for Open Office)
To start, open the stack penToolv3 as a palette.
Write in the message box:
answer file Choose stack penToolv3;palette it
Changes from Pen Tool V2:
To edit the points of the graphic, choose the
hollow selection tool.
Click on the line or the fill of the graphic to show
the control and vertex points.
(Notice, if you had resized or moved the graphic with
the pointer tool, this tool makes the graphic to
redraw
itself). Move the vertex or controls points to reshape
the graphic.Double click on the line or fill of the
graphic to hide these control and vertex points.
To move or resize the graphics, choose the pointer
tool
and change the size of any graphic or move them.
After moving or resizing  the graphic, you had to
select it again with the hollow selection tool, to
redraw it.
IMPORTANT:
Everytime you choose a tool in the palette penTool
the script from other tools in the palette is removed
from the frontscripts.
If you want to remove all frontscripts from this
palette, click on the EXIT button (An open door with
a red arrow).
Feel free to adapt this handler for your own
purposes, all that i ask you is: keep an
updated link to my website in the documentation
of your software or your website.
i have handlers for adding, deleting and converting
the points of these graphics. Later, when
debugged, i'll add them to this palette.
eventually, i'll include the handlers for graphic
transformations: scaling, rotating, skew and flip.
i have rotation and scale already working fine
with these kinds of graphics (and both custom
properties).
If you want to use these handlers, i recomend that
you print and study them, while using the tool.
Then, add your own comments to the code.
I'm sure that in this way you will found and fix
any error that escaped my own knowledge.
This is the best way to understand how
this code works.
Send comments and report bugs
to my email direction.
Thanks in advance.
Alejandro Tejada
Visit my site:
http://www.geocities.com/capellan2000/

__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ 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 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCizol7aqtWrR9cZoRAiGDAJ91vvgttEzFQpSeFXvp6lQ9je0OqgCePKW/
0CkvLFQCaDt7hbkMObucLSQ=
=TDFH
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Downloading Updates --the current stack?

2005-05-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If your bundle is set up properly, then work with the assumption that a 
normal user will not be able to write to the bundle if it is 
installed for multiple users, but an administrator will be.  OTOH, if 
the bundle is installed for a single user, that user should have write 
permission.

This is a *good thing,* since it prevents arbitrary replacement of the 
stack's file by an ordinary user, possibly with false intent...

On May 18, 2005, at 4:27 AM, Klaus Major wrote:
H Jeanne,
At 12:50 AM +0200 5/18/05, Malte Brill wrote:
  JAED If it's not the main stack of the running application, you 
can
 JAED download the file, replacing the outdated file, then use the 
revert
  JAED command to load the new version from disk.

Could there be trouble with file permissions? E.g. If the stack is 
inside the bundle on OsX?

There shouldn't be. The revert command just reads the file - and the 
application had to do the same thing when it started up. If there's a 
problem with read permissions for the file, it will exist every time 
the user runs the application, even without downloading a new copy.
i am sure Malte meant eventual problem with WRITE permissions inside 
an OS X bundle.

What about that?
Anyway, i would recommend to store stack that might be 
replaced/updated into some
other place like where you DO have write permissions:

##Mac OS X/OS 9
specialfolderpath(preferences)
##Prefs folder of current user
##Mac OS X:
specialfolderpath(asup)
##Application Support
##Win 2000/XP
specialfolderpath(35)
##Don't know the english name of this folder, sorry...
##Win 95,96,97,98
specialfolderpath(system)
##a.k.a the black hole: C:\Windows :-)
##Unix/Linux
$HOME
##(Homefolder of current user)
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ 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 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCizsU7aqtWrR9cZoRAtrTAJ454REymGboxMCLAWb8YB3pI3jqXQCdGfJw
7sztfk2m7jAPMhn0RbamO4k=
=PSd5
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Use an another player that XAnim

2005-05-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Look out, though; have you been to the mplayer home page lately?
http://www.mplayerhq.hu/
On May 17, 2005, at 4:16 PM, Damien Girard wrote:
Le mardi 17 mai 2005 à 10:25 -0700, Mark Talluto a écrit :
On May 17, 2005, at 8:42 AM, Damien Girard wrote:
Hi All,
I am using revolution under Linux, and about video and audio feature,
this isn't very great for now.
So, I have seen that there are the vcplayer command in runrev. So, I
want to choose an another player that Xanim (who aren't supported
anymore since 1999). But I didn't know a player who can work with
revolution. I have tried with mplayer, but this doesn't work.
Thanks.

Take a look at feature request:  http://support.runrev.com/
bugdatabase/show_bug.cgi?id=2290
Mplayer would be the obvious choice.  Though, if you are into rumors,
one is floating around that Apple has or is porting QT to Linux.  Has
something to do with iTunes for Linux.  That would be the very best
solution for me.
Mark Talluto
Is it only a rumor, Apple can port QT to linux, but I didn't think now.
Mplayer is considerated has the best media player for linux (because he
can read anything).
So, for now, runrev can read only video and audio file with Xanim ? (I
tried with Xanim and runrev doesn't work with it, nasty bug).
Damien Girard
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ 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 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCizwN7aqtWrR9cZoRAl8yAJsFyqkAytiTup9w2GX8isA20pt3OQCeLNMn
4tiD94ddDeDXW+/is9Ea3D8=
=sDHC
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Runrev work with your linux ?

2005-05-18 Thread Gordon Tillman
Morning Damien!
I am using runrev under linux, and he doesn't work at all when I  
launch
runrev with the GTK+ look and feel. Runrev only start in motif, so I
search people who can launch runrev with the GTK+ look and feel, for
search where the bug can come from.

I have tryed with Runrev 2.5.1 under :
- Fedora Core 3 - Doesn't work
- Debian Sarge and Sid - Doesn't work
The language used is French and my $LANG is :
- Debian - [EMAIL PROTECTED]

So far the only Linux systems I have tried with RunRev are both  
Debian variants (Ubuntu and Linspire), one running Gnome and one  
running KDE.  On both of those it has worked just fine.

--gordon
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Runrev work with your linux ?

2005-05-18 Thread Gordon Tillman
Damien?  I'm not sure but doesn't Gnome use the GTK library?
On May 18, 2005, at 08:15, Gordon Tillman wrote:
Morning Damien!

I am using runrev under linux, and he doesn't work at all when I  
launch
runrev with the GTK+ look and feel. Runrev only start in motif, so I
search people who can launch runrev with the GTK+ look and feel, for
search where the bug can come from.

I have tryed with Runrev 2.5.1 under :
- Fedora Core 3 - Doesn't work
- Debian Sarge and Sid - Doesn't work
The language used is French and my $LANG is :
- Debian - [EMAIL PROTECTED]

So far the only Linux systems I have tried with RunRev are both  
Debian variants (Ubuntu and Linspire), one running Gnome and one  
running KDE.  On both of those it has worked just fine.

--gordon
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Rotate image about arbitrary point

2005-05-18 Thread Jim Hurley
Message: 12
Date: Tue, 17 May 2005 21:22:37 -0700 (PDT)
From: Alejandro Tejada [EMAIL PROTECTED]
Subject: RE: Rotate image about arbitrary point
To: use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii
Jim Hurley wrote:
 Someone has surely done this, but if not,
 the stack below allows you to rotate an image about
 an arbitrary pivot point.
It's the first time that i see an image
rotating around an arbitrary point in a stack.
But, did you noticed how the border of
the image change while rotating?

Alejandro,
I'm not sure I know what you mean when you say the border changes. On 
my system I see no border. What is your OS? Does this also happen 
when you: set the angle of image myImage to 45--or whatever? That 
is rotate the image about the center point?

Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Inconsistent behaviour of menus

2005-05-18 Thread Eric Chatonet
Hi everyone on this list,
Hi support team,
Rev 2.5.1 - OS X 10.4.1
I am used to build menus as text, adding a parenthesis to disable an  
item, !c to checkmark another one, etc.
The problem comes when working with submenus items.
With Rev 2.5 you could write something like:

tab SubmenuItem 1 -- enabled
(tab SubmenuItem 2 -- disabled
With Rev 2.5.1, such a formulation no longer works.
You have to put the parenthesis strictly before the label:
tab SubmenuItem 1 -- enabled
tab (SubmenuItem 2 -- disabled
If you try to use the built-in disable command with submenus items,  
it works fine with 2.5 and does not work with 2.5.1. because it puts  
the parenthesis at the beginning of the line :-(
BTW Note that the tab (SubmenuItem 1 form, compulsory with Rev 2.5.1,  
works great with Rev 2.5: just our luck...
So, have I to revise most of my plugins and How-To stacks which  
display weird menus with Rev 2.5.1. and cross one's fingers, hoping  
they will still work in the future?
The last part of the question is for the support team...

Best regards from Paris,
Just a little bit angry today :-)
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


wooo hoooo!!!

2005-05-18 Thread Lynch, Jonathan
I actually successfully created an icon for a standalone app on Windows!

This had been confusing me for some time.

Yeah, I know you guys do this all the time, but as a relatively new
user, this was quite a challenging task. What I was not getting, was
that the icon file actually contains 9 separate images. I kept creating
the icon into one of the acceptable formats, thinking that revolution
wanted me to pick an appropriate format, and that somehow my ico file
was not formatted properly. Actually, it wanted me to make it in all of
the formats.

Once I read the error message more closely, I got it.


But, man, it sure takes a lot of work to create an icon - 9 images
total.



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: wooo hoooo!!!

2005-05-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Most of the better icon editors have a feature which will automatically 
generate the other icon formats for you; just create one in the 
largest, most colorful format, then ask the editor to create the other 
formats for you automatically based on that one.

On May 18, 2005, at 11:07 AM, Lynch, Jonathan wrote:
I actually successfully created an icon for a standalone app on 
Windows!

This had been confusing me for some time.
Yeah, I know you guys do this all the time, but as a relatively new
user, this was quite a challenging task. What I was not getting, was
that the icon file actually contains 9 separate images. I kept creating
the icon into one of the acceptable formats, thinking that revolution
wanted me to pick an appropriate format, and that somehow my ico file
was not formatted properly. Actually, it wanted me to make it in all of
the formats.
Once I read the error message more closely, I got it.
But, man, it sure takes a lot of work to create an icon - 9 images
total.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ 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 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCi1uU7aqtWrR9cZoRAuOgAJ9v+bkSGfgtFN3mRxtYvY/QYl8bOwCfQDjd
NcdH2+Fln9YgVcqJFpfcdqs=
=9DY0
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Which one is faster ?

2005-05-18 Thread jbv
Hi list,

Which option is faster : switch staements or nested if-then-else ?

Has anyone run tests on this ?

Thanks,
JB


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: wooo hoooo!!!

2005-05-18 Thread Lynch, Jonathan
Hi Frank,

I started at 32x32 - prolly should've started at 48x48 - you make a good
point.

The icon contains the letters ECS - so, converting size produced funny
or unreadable letters, so I had to rework them.

I think, in future, I will avoid letters in icons if I can do so. Live
and learn.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frank D.
Engel, Jr.
Sent: Wednesday, May 18, 2005 11:13 AM
To: How to use Revolution
Subject: Re: wooo h!!!

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Most of the better icon editors have a feature which will automatically 
generate the other icon formats for you; just create one in the 
largest, most colorful format, then ask the editor to create the other 
formats for you automatically based on that one.

On May 18, 2005, at 11:07 AM, Lynch, Jonathan wrote:

 I actually successfully created an icon for a standalone app on 
 Windows!

 This had been confusing me for some time.

 Yeah, I know you guys do this all the time, but as a relatively new
 user, this was quite a challenging task. What I was not getting, was
 that the icon file actually contains 9 separate images. I kept
creating
 the icon into one of the acceptable formats, thinking that revolution
 wanted me to pick an appropriate format, and that somehow my ico file
 was not formatted properly. Actually, it wanted me to make it in all
of
 the formats.

 Once I read the error message more closely, I got it.


 But, man, it sure takes a lot of work to create an icon - 9 images
 total.



 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution


- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]

$ 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 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCi1uU7aqtWrR9cZoRAuOgAJ9v+bkSGfgtFN3mRxtYvY/QYl8bOwCfQDjd
NcdH2+Fln9YgVcqJFpfcdqs=
=9DY0
-END PGP SIGNATURE-



___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Which one is faster ?

2005-05-18 Thread Lynch, Jonathan
I ran a test on 500,000 records, testing between a single if-then vs. a
single switch, and I found that the if-then was faster. It was
noticeably faster, but not hugely faster. I do not remember the exact
difference - sorry.

However, I do not know if switch has an advantage with complex,
multiple-choice decisions.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jbv
Sent: Wednesday, May 18, 2005 11:26 AM
To: How to use Revolution
Subject: Which one is faster ?

Hi list,

Which option is faster : switch staements or nested if-then-else ?

Has anyone run tests on this ?

Thanks,
JB


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


is it true ?

2005-05-18 Thread jbv
Hi again,

I vaguely remember reading from someone on this very list that in case
of a complex conditional statement like :
if offset(a,d)0 and w10 and w2=w1+1 and offset(b,d)0 and w30 and
w4=w3+1 then
Rev would drop the evaluation as soon as a false is encountered, hence
speeding up
the execution of the script...

Is that true, or did I dream ?

Thanks,
JB


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Which one is faster ?

2005-05-18 Thread Klaus Major
Hi JB,
Hi list,
Which option is faster : switch staements or nested if-then-else ?
Has anyone run tests on this ?
No, but i can say that switch statements are FAR more readable than
nested if...then statements, especially if the scripter uses the  
(for me) strange

if condition then do this
else do that
format WITHOUT a final end if... ;-)
Thanks,
JB
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


What is the script for selecting a specific word in a field?

2005-05-18 Thread Robert Ball
Hello Eric from Paris, thank you so much for responding to my request 
for help. Apparently I did not make clear exactly what I want to do in 
my first message, so here is my second attempt.

I have a field YourAnswer on a card with several instances of xxx. I 
want to press the tab key and have the cursor move to the next instance 
of xxx and also hilite the xxx. The script

on tabKey
  find word xxx in field YourAnswer
end tabKey
moves the cursor to the next xxx and draws an outline box around the 
xxx, but it doesn't hilite the xxx, which is what I want. I have to 
double click the found xxx to select it.

I had hoped the script
on tabKey
  select word xxx in field YourAnswer
end tabKey
would work, but it doesn't. I must be doing something wrong.
Robert
PS -- this is my first message, I just joined the list yesterday. I 
hope this is how to respond to your message.


Hi Robert,
As usual, it is very interesting to think of Is there such a script
which do that in the IDE?
Lights!
In any script window, the Find button does what I want ;-)
So, check the revFindNext function in the script of the single card
of any script window which is called by the Find button and adapt it.
In order to open scripts in IDE windows, check the Contextual menus
work in Revolution windows in the main pane of the Rev Prefs.
Then use a right click to display the contextual menu in any IDE window.
Exploring the IDE always gets you rich...
Best regards from Paris,
Eric Chatonet.
Le 17 mai 05 à 23:05, Robert Ball a écrit :
 I have a field YourAnswer with several instances of xxx. I want to
 tab to each instance of xxx. The scripts

 on tabKey
   find word xxx in field YourAnswer
 end tabKey

 and

 on tabKey
   find xxx in field YourAnswer
 end tabKey

 work, but they give me an outline box around xxx, which is not the
 same thing as selecting xxx, which hilites xxx.

 The analogous script

 on tabKey
   select word xxx in field YourAnswer
 end tabKey

 does not work. Neither do

 on tabKey
   select word xxx of field YourAnswer
 end tabKey

 or

 on tabKey
   select xxx of field YourAnswer
 end tabKey

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Global variables lost in space

2005-05-18 Thread Mark Talluto
On May 17, 2005, at 5:23 PM, Dar Scott wrote:
On May 17, 2005, at 5:49 PM, Mark Talluto wrote:

I just got bitten by the same thing and came to realize that if  
you create a new global variable and put a number into it, it will  
not now up.

This works for me:
on mouseUp
  global a
  put 0+5 into a
  put [  a  ]
end mouseUp
I even changed the global to some weird name and used random().
Rev 2.5.1 on OS X 10.3.9 (MDD).

Now open up your message box and look for the value of the global  
variable in the global variable list.  It will not show up.  It is  
true that the value is usable from within a script though.

Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Use an another player that XAnim

2005-05-18 Thread Mark Talluto
On May 17, 2005, at 1:16 PM, Damien Girard wrote:
Le mardi 17 mai 2005 à 10:25 -0700, Mark Talluto a écrit :
On May 17, 2005, at 8:42 AM, Damien Girard wrote:

Hi All,
I am using revolution under Linux, and about video and audio  
feature,
this isn't very great for now.

So, I have seen that there are the vcplayer command in runrev. So, I
want to choose an another player that Xanim (who aren't supported
anymore since 1999). But I didn't know a player who can work with
revolution. I have tried with mplayer, but this doesn't work.
Thanks.


Take a look at feature request:  http://support.runrev.com/
bugdatabase/show_bug.cgi?id=2290
Mplayer would be the obvious choice.  Though, if you are into rumors,
one is floating around that Apple has or is porting QT to Linux.  Has
something to do with iTunes for Linux.  That would be the very best
solution for me.
Mark Talluto
Is it only a rumor, Apple can port QT to linux, but I didn't think  
now.
Mplayer is considerated has the best media player for linux  
(because he
can read anything).

So, for now, runrev can read only video and audio file with Xanim ? (I
tried with Xanim and runrev doesn't work with it, nasty bug).
I have gotten it to work with xanim, but the video codecs it supports  
are very old.  Thus the video quality is horrible and choppy.


Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Global variables lost in space

2005-05-18 Thread Richard Gaskin
Mark Talluto wrote:
On May 17, 2005, at 5:23 PM, Dar Scott wrote:
On May 17, 2005, at 5:49 PM, Mark Talluto wrote:
I just got bitten by the same thing and came to realize that if  you 
create a new global variable and put a number into it, it will  not 
now up.
This works for me:
on mouseUp
  global a
  put 0+5 into a
  put [  a  ]
end mouseUp
I even changed the global to some weird name and used random().
Rev 2.5.1 on OS X 10.3.9 (MDD).
Now open up your message box and look for the value of the global  
variable in the global variable list.  It will not show up.  It is  true 
that the value is usable from within a script though.
The word a is a native Transcript token, so that may affect why it 
doesn't appear when you query the globals.  It does seem to behave 
well in all other respects, however.

--
 Richard Gaskin
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


1 more speed question

2005-05-18 Thread jbv
for year we've been told that
repeat for each line j in myVar
runs significantly faster than
repeat for i=1 to number of lines in myVar

that's true, but if you use the following
repeat with i=1 to number of lines in myVar
get line i of myVar

and then do all your processing in the it variable
(and then put it in line i of myVar at the end of the
repeat loop if necessary), in that case the repeat with i...
statement seems to run as fast as repeat for each line...

does that mean that only the fact that each successive line
is in a variable (and hence has its content easier to access
than in a huge variable with dozens or hundreds of lines)
matters, and that it has nothing to do with the repeat
structure per se ?

Thanks,
JB

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: interesting Crash

2005-05-18 Thread Dar Scott
On May 17, 2005, at 10:22 PM, Hershel Fisch wrote:
(but don't forget to submit the bug if this fixes
it):
The question how do submit this ?
You can start here:
   http://support.runrev.com/bugdatabase/
Or you can get the Revzilla stack (quoting Ken Ray):
As usual, you can get it from RevNet, RevOnline (name: kray), or at:
 http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm
Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: is it true ?

2005-05-18 Thread Lynch, Jonathan
I believe it must be true, because I sometimes do something like:

If (exists(field myField) = true) and (field myField  empty)
then...


This kind of statement never causes an error for me, even if field
myField does not exist. Thus, it must stop evaluating before it gets
to the second part of the 'if' statement.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jbv
Sent: Wednesday, May 18, 2005 11:42 AM
To: How to use Revolution
Subject: is it true ?

Hi again,

I vaguely remember reading from someone on this very list that in case
of a complex conditional statement like :
if offset(a,d)0 and w10 and w2=w1+1 and offset(b,d)0 and w30 and
w4=w3+1 then
Rev would drop the evaluation as soon as a false is encountered, hence
speeding up
the execution of the script...

Is that true, or did I dream ?

Thanks,
JB


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Which one is faster ?

2005-05-18 Thread MisterX
i guess that if the if are single equal operations, they should be the same.

If you include functions or complex or multiple operations in a case or
[else] if, it will be tested until a false is found or maybe they have a
magic value cache referer to parse it faster but improbable. 

In any case, use the if if you have few conditions. Use case with many
options (like a menupick handler). 

Speed... OK, in terms of speed, if you do a zillion loops, these are going
to have an impact. For the ocasional if or case, it's pointless to ask but
for hardworking loops, it does matter a lot. 

In terms of design, the if will be faster because it's easier to segment the
conditional usage of conditions more precisely than with a case. However, a
case allows the same kind of usage

switch  -- note the lack of parameter, now the case handles if cases!
  case a=b
  break
end switch

Now, you can test this easily and this is the MonsieurX's quality bonus
trick of the day to do some easy benchmarking... Note it uses dynamic script
execution but im not sure it will really impact the whole test. In any case,
you can rescript it into on bigger script unwrapping it all and see for
yourself if the average exectution time is different... 

Could be interesting... BUT i got a another problem right now that prevents
me from doing it at all now (just farging had to fargin happen! My mom is
home a day too early! )$(@[EMAIL PROTECTED](*%)

See the mail i wrote to Eric C. yesterday for his network benchmark?

Here's the newer version ;) Untested, might have a bug but sorry, mom is
here ()(%*)@#([EMAIL PROTECTED]))

on mouseUp
  put random(100) into a
  put random(100) into b
  hilite me
  ask Loops: with 1
  if it is not a number or it  0 then
exit mouseup
  end if
  put it into loopcount

  -- do a standard test for non-conditional operations
  -- aka normalizing the data without those two statement's
  -- time taken into account into the final stats
  put dobenchtest(get abCRget the time, loopcount ) into normDelta
  put dobenchtest(if ab then get the time, loopcount) into iftest
  put dobenchtest(switchCRcase abcrget the timeend switch,
loopcount) into switchtext

put normDelta
put iftest
put switchtest

/*
you can script the rest regarding deltas of if and switch tests against
normdelta (item 1 of iftest-item 1 of normdelta)
which makes a normalized statistic result on the if and case information
only without the get the time or ab operation's time taken into account.
Also note that without a minimum of 100 loops , it's not exactly meaningfull
information.
*/
unhilite me
end mouseUp

function dobenchtest what, loopcount
  do what -- cache
  put the milliseconds into tStart
  repeat loopcount times
do what 
  end repeat
  put the milliseconds - tStart  comma after tlist
  return average(tlist), min(tlist), max(tlist), standardDeviation(tlist)
end dobenchtest

Exeptionally, Im releasing a statistics free open source stack about
statistics. I haven't finished the about and the total testing but it used
to work great

Just a few minutes to make it TAOO presentable and i'll announce it.

Cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of jbv
 Sent: Wednesday, May 18, 2005 17:26
 To: How to use Revolution
 Subject: Which one is faster ?
 
 Hi list,
 
 Which option is faster : switch staements or nested if-then-else ?
 
 Has anyone run tests on this ?
 
 Thanks,
 JB
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread Pierre Sahores
Very interessting...
Thanks JB.
Best,
Pierre
Le 18 mai 05, à 18:21, jbv a écrit :
for year we've been told that
repeat for each line j in myVar
runs significantly faster than
repeat for i=1 to number of lines in myVar
that's true, but if you use the following
repeat with i=1 to number of lines in myVar
get line i of myVar
and then do all your processing in the it variable
(and then put it in line i of myVar at the end of the
repeat loop if necessary), in that case the repeat with i...
statement seems to run as fast as repeat for each line...
does that mean that only the fact that each successive line
is in a variable (and hence has its content easier to access
than in a huge variable with dozens or hundreds of lines)
matters, and that it has nothing to do with the repeat
structure per se ?
Thanks,
JB
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What is the script for selecting a specific word in a field?

2005-05-18 Thread Martin Baxter
Hello Robert,

If I understand right?, xxx in your script stands for the string you wish
to search for and select in field YourAnswer

I suspect the trouble may be that : find word , is correct syntax but
select word , is not.

You can do : select word 3 of field 1, but not : select word John of field 1

a possible alternative approach,

on tabkey
 put field UserInput into stringtofind
 if stringtofind is not empty then
   put offset(stringtofind,field YourAnswer) into t_offset
   if t_offset  0 then
 put the number of chars in stringtofind into t_length
 select char t_offset to (t_offset + t_length - 1)\
   of field YourAnswer
   end if
 end if
end tabkey

It is also possible (if a little tortuous) to roll-your-own Find Again
using the offset function, if that's what you need.

HTH

Martin Baxter

Hello Eric from Paris, thank you so much for responding to my request
for help. Apparently I did not make clear exactly what I want to do in
my first message, so here is my second attempt.

I have a field YourAnswer on a card with several instances of xxx. I
want to press the tab key and have the cursor move to the next instance
of xxx and also hilite the xxx. The script

on tabKey
   find word xxx in field YourAnswer
end tabKey

moves the cursor to the next xxx and draws an outline box around the
xxx, but it doesn't hilite the xxx, which is what I want. I have to
double click the found xxx to select it.

I had hoped the script

on tabKey
   select word xxx in field YourAnswer
end tabKey

would work, but it doesn't. I must be doing something wrong.

Robert

PS -- this is my first message, I just joined the list yesterday. I
hope this is how to respond to your message.




Hi Robert,

As usual, it is very interesting to think of Is there such a script
which do that in the IDE?
Lights!
In any script window, the Find button does what I want ;-)

So, check the revFindNext function in the script of the single card
of any script window which is called by the Find button and adapt it.
In order to open scripts in IDE windows, check the Contextual menus
work in Revolution windows in the main pane of the Rev Prefs.
Then use a right click to display the contextual menu in any IDE window.
Exploring the IDE always gets you rich...

Best regards from Paris,

Eric Chatonet.

Le 17 mai 05 à 23:05, Robert Ball a écrit :

  I have a field YourAnswer with several instances of xxx. I want to
  tab to each instance of xxx. The scripts
 
  on tabKey
find word xxx in field YourAnswer
  end tabKey
 
  and
 
  on tabKey
find xxx in field YourAnswer
  end tabKey
 
  work, but they give me an outline box around xxx, which is not the
  same thing as selecting xxx, which hilites xxx.
 
  The analogous script
 
  on tabKey
select word xxx in field YourAnswer
  end tabKey
 
  does not work. Neither do
 
  on tabKey
select word xxx of field YourAnswer
  end tabKey
 
  or
 
  on tabKey
select xxx of field YourAnswer
  end tabKey
 

___

use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What is the script for selecting a specific word in a field?

2005-05-18 Thread Ken Ray
On 5/18/05 10:44 AM, Robert Ball [EMAIL PROTECTED] wrote:

 Hello Eric from Paris, thank you so much for responding to my request
 for help. Apparently I did not make clear exactly what I want to do in
 my first message, so here is my second attempt.

Hey, Robert... welcome to the list! John Ridge gave you the answer that is
close to what I would have given you:

on tabKey
  find word xxx in field YourAnswer
  select the foundText
end tabKey

which causes Rev to find and put a box around the text, and then highlight
the text, removing the box. You *do* see the box appear very briefly, but
the end result is what you want. To make it cleaner, wrap this with lock
screen/unlock screen:

on tabKey
  lock screen
  find word xxx in field YourAnswer
  select the foundText
  unlock screen
end tabKey

I think what Eric was trying to suggest to you is that since the Revolution
IDE is scripted in Transcript as well, and that the IDE is open for you to
look at how Runtime Revolution scripted it, many times you can look into the
scripts of the IDE to get the functionality you're looking for (or at least
a starting place from which you can modify the code to suit your needs).

In this case, the script editor windows have a Find feature that does what
you're looking for (type in text in the find field and click the Find
button, it highlights (but doesn't box) the found text). However to actually
get into the script to look at it is a bit convoluted (you need to set the
pref that Eric identified, open a script editing window, find out the name
of it, set it to topLevel so contextual menus will work on it, then use the
contextual menu to edit the card script, find the revFindNext handler, and
examine it), and the script doesn't use the find word/select the
foundtext solution presented above. Instead, it uses offset to locate the
word that should be selected, and then uses select to select a character
range in the field.

Both ways work, but the find/select is probably the simplest and easiest.

Keep posting your questions to the list; we have a great bunch of people
here who are extremely helpful.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Annc: Rainbow Web a Rev CD-ROM

2005-05-18 Thread Jeffrey Reynolds
Just thought I would put out another product that was 
Metacard/Revolution created! Using revolution allowed the costs of the 
CD-ROM to be kept way down so that the book could be sold with the 
CD-ROM included for less than $20! A whole series is planned and the 
next two are in production! The CD-ROM has simple activities, games and 
content that were quick and simple to do with rev. The CD-ROM will also 
go on sale next month by itself. This is a really fun series to work on 
since we get to do fun story book stuff, games and great background 
content materials all together! Nice to really do 'edutainment' (how i 
hate that term!) right! The book artwork came out wonderfully also, 
mainly b/w graphite with some hints of color that really makes the 
illustrations have feeling and also turns on the imagination so much 
more than the full color stuff.

Description:
The Rainbow Web is the first book in the 'Web to Whales' series of 
picture books with educational CD-ROMs.  The set offers a complete 
thematic unit for teachers, homeschoolers, and parents. The fully 
illustrated picture book tells the delightful story of a spider that 
spins a rainbow web. The story engages a child's curiosity about 
spiders. Could a spider spin a colored web? Do spiders eat berries?

Illustrations start out in black and white, introducing each rainbow 
color as the story progresses.  Lessons and activities on primary and 
secondary colors are included on the CD-ROM. The companion CD-ROM 
teaches the science behind the story. Students learn about real-life 
spiders through narrated lessons and interactive games and activities. 
The interactive CD-ROM also includes reproducible activity pages that 
are intended as a follow-up to the lessons. Cross-curricular activities 
in reading, math, science, and art are offered, as well as 
comprehension questions to accompany the book.

More info at: http://www.blockpub.com/pages/rainbow/index.html
great book for the kids and grandkids and another feather in the rev 
cap!

cheers,
jeff___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: is it true ?

2005-05-18 Thread Ken Ray
On 5/18/05 10:42 AM, jbv [EMAIL PROTECTED] wrote:

 Rev would drop the evaluation as soon as a false is encountered, hence
 speeding up
 the execution of the script...

JB,

It looks like you're tooling around looking at script performance issues. If
you haven't already seen the series of articles on increasing script
performance, might I direct you to:

Increasing Script Performance, Part I
http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp005

Increasing Script Performance, Part II
http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp006

Increasing Script Performance, Part III
http://www.sonsothunder.com/devres/revolution/revolution.htm?_scrp007

A wonderful set of articles by Wil Djikstra on increasing script performance
in Revolution.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Which one is faster ?

2005-05-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Note that something like:
switch someExpression
case someValue
...
...
end switch
in *compiled* languages tends to be faster than numerous or nested if 
statements, because the someExpression is evaluated once then 
considered for each case, whereas with the nested if statements it has 
to be evaluated multiple times, once for each branch of the comparison. 
 So my guess would be that an if statement would be faster for a 
one-way branch (or a simple, one-layer if-then-else, probably), whereas 
once you hit multiple statements the switch/case would grow to have 
more and more of a speed advantage as the number of branches increases.

Don't have time to really test this for Rev right now, though I'd 
imagine it would be similar to compiled languages in this way.

On May 18, 2005, at 12:27 PM, MisterX wrote:
i guess that if the if are single equal operations, they should be the 
same.

If you include functions or complex or multiple operations in a case or
[else] if, it will be tested until a false is found or maybe they have 
a
magic value cache referer to parse it faster but improbable.

In any case, use the if if you have few conditions. Use case with many
options (like a menupick handler).
Speed... OK, in terms of speed, if you do a zillion loops, these are 
going
to have an impact. For the ocasional if or case, it's pointless to ask 
but
for hardworking loops, it does matter a lot.

In terms of design, the if will be faster because it's easier to 
segment the
conditional usage of conditions more precisely than with a case. 
However, a
case allows the same kind of usage

switch  -- note the lack of parameter, now the case handles if cases!
  case a=b
  break
end switch
Now, you can test this easily and this is the MonsieurX's quality bonus
trick of the day to do some easy benchmarking... Note it uses dynamic 
script
execution but im not sure it will really impact the whole test. In any 
case,
you can rescript it into on bigger script unwrapping it all and see for
yourself if the average exectution time is different...

Could be interesting... BUT i got a another problem right now that 
prevents
me from doing it at all now (just farging had to fargin happen! My mom 
is
home a day too early! )$(@[EMAIL PROTECTED](*%)

See the mail i wrote to Eric C. yesterday for his network benchmark?
Here's the newer version ;) Untested, might have a bug but sorry, mom 
is
here ()(%*)@#([EMAIL PROTECTED]))

on mouseUp
  put random(100) into a
  put random(100) into b
  hilite me
  ask Loops: with 1
  if it is not a number or it  0 then
exit mouseup
  end if
  put it into loopcount
  -- do a standard test for non-conditional operations
  -- aka normalizing the data without those two statement's
  -- time taken into account into the final stats
  put dobenchtest(get abCRget the time, loopcount ) into 
normDelta
  put dobenchtest(if ab then get the time, loopcount) into iftest
  put dobenchtest(switchCRcase abcrget the timeend 
switch,
loopcount) into switchtext

put normDelta
put iftest
put switchtest
/*
you can script the rest regarding deltas of if and switch tests against
normdelta (item 1 of iftest-item 1 of normdelta)
which makes a normalized statistic result on the if and case 
information
only without the get the time or ab operation's time taken into 
account.
Also note that without a minimum of 100 loops , it's not exactly 
meaningfull
information.
*/
unhilite me
end mouseUp

function dobenchtest what, loopcount
  do what -- cache
  put the milliseconds into tStart
  repeat loopcount times
do what
  end repeat
  put the milliseconds - tStart  comma after tlist
  return average(tlist), min(tlist), max(tlist), 
standardDeviation(tlist)
end dobenchtest

Exeptionally, Im releasing a statistics free open source stack about
statistics. I haven't finished the about and the total testing but it 
used
to work great

Just a few minutes to make it TAOO presentable and i'll announce it.
Cheers
Xavier
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jbv
Sent: Wednesday, May 18, 2005 17:26
To: How to use Revolution
Subject: Which one is faster ?
Hi list,
Which option is faster : switch staements or nested if-then-else ?
Has anyone run tests on this ?
Thanks,
JB
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ 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 
everlasting life.
$

Re: 1 more speed question

2005-05-18 Thread Dar Scott
On May 18, 2005, at 10:21 AM, jbv wrote:
does that mean that only the fact that each successive line
is in a variable (and hence has its content easier to access
than in a huge variable with dozens or hundreds of lines)
matters, and that it has nothing to do with the repeat
structure per se ?
Naw.
Repeat for each line is fastest.
Then is repeat counting lines and getting the line once.
Then is repeat counting lines and getting it multiple times.
Also avoid putting into line n in a loop.  You normally want to 
accumulate lines.  Put it  lf after your accumulator variable and then 
drop the last char after the loop if you don't want it.

dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What is the script for selecting a specific word in a field?

2005-05-18 Thread Eric Chatonet
Hello Robert,
Welcome to this list :-)
You will find here a lot of people to help you.
I have no time at the moment but I will extract for you the right  
script for you ASAP :-)

Best regards from Paris,
Eric Chatonet.
Le 18 mai 05 à 17:44, Robert Ball a écrit :
Hello Eric from Paris, thank you so much for responding to my  
request for help. Apparently I did not make clear exactly what I  
want to do in my first message, so here is my second attempt.

I have a field YourAnswer on a card with several instances of xxx.  
I want to press the tab key and have the cursor move to the next  
instance of xxx and also hilite the xxx. The script

on tabKey
  find word xxx in field YourAnswer
end tabKey
moves the cursor to the next xxx and draws an outline box around  
the xxx, but it doesn't hilite the xxx, which is what I want. I  
have to double click the found xxx to select it.

I had hoped the script
on tabKey
  select word xxx in field YourAnswer
end tabKey
would work, but it doesn't. I must be doing something wrong.
Robert
PS -- this is my first message, I just joined the list yesterday. I  
hope this is how to respond to your message.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Which one is faster ?

2005-05-18 Thread Mark Wieder
Jonathan-

Wednesday, May 18, 2005, 8:28:21 AM, you wrote:

LJ I ran a test on 500,000 records, testing between a single if-then vs. a
LJ single switch, and I found that the if-then was faster. It was
LJ noticeably faster, but not hugely faster. I do not remember the exact
LJ difference - sorry.

Interesting. I found that counter-intuitive, so I checked things out
with 4W RevBench (thanks, Richard). I find that the switch statement
consistently runs some quite a bit faster on four tests. Obviously the
value of x here will be the major factor in determining the total run
time in the nested-if case.

-- test 1:
put 4 into x
switch x
 case 1
  put x into y
  break
 case 2
  put x into y
  break
 case 3
  put x into y
  break
 case 4
  put x into y
  break
 default
  put x into y
end switch

-- test2:
put 5 into x
if x = 1 then
  put x into y
else
  if x = 2 then
   put x into y
  else
   if x = 3 then
put x into y
   else
if x = 4 then
 put x into y
else
 put x into y
end if
   end if
  end if
end if

value of x:% faster (100k runs):
1   0
2   15
3   25
4   35
5   35

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Which one is faster ?

2005-05-18 Thread Mark Wieder
MisterX-

Wednesday, May 18, 2005, 9:27:22 AM, you wrote:

M switch  -- note the lack of parameter, now the case handles if cases!
M   case a=b
M   break
M end switch

Switch without a parameter !!??!! I reworked my benchmark test to try
this and found that this effectively slows the switch statement down
to the speed of the nested ifs (i.e., 20-35% slower), meaning that the
pcode is mapped to the same thing, where every test must be taken in
turn. Interesting technique, though.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Inconsistent behaviour of menus

2005-05-18 Thread Richard Gaskin
Eric Chatonet wrote:
Rev 2.5.1 - OS X 10.4.1
I am used to build menus as text, adding a parenthesis to disable an  
item, !c to checkmark another one, etc.
The problem comes when working with submenus items.
With Rev 2.5 you could write something like:

tab SubmenuItem 1 -- enabled
(tab SubmenuItem 2 -- disabled
With Rev 2.5.1, such a formulation no longer works.
You have to put the parenthesis strictly before the label:
tab SubmenuItem 1 -- enabled
tab (SubmenuItem 2 -- disabled
If you try to use the built-in disable command with submenus items,  it 
works fine with 2.5 and does not work with 2.5.1. because it puts  the 
parenthesis at the beginning of the line :-(
This is a bug -- from the v2.5.1 Engine Changes doc:
  Bug 2275: Tabs parsed incorrectly in some menu definitions
  
  Tabs can now appear directly before or directly after the
  menu meta-characters in menu specifications.
Happy Bugzillaing...
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Global variables lost in space

2005-05-18 Thread Dar Scott
On May 18, 2005, at 9:51 AM, Mark Talluto wrote:
Now open up your message box and look for the value of the global 
variable in the global variable list.  It will not show up.  It is 
true that the value is usable from within a script though.
Oh, I get it.
The variable is in line 4 of the variableNames but is not in the items 
of the globalNames until after a string is put into it.

Another bad consequence is that if a handler declares a global and gets 
compiled, that doesn't mean it is in the globalNames.

(Looks like an if bug.)
Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Which one is faster ?

2005-05-18 Thread Lynch, Jonathan
I think the difference must be that, in my test, I was checking for
single thing.

If X = 100 then
  Do whatever
Else
  Do something else
End if




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Wieder
Sent: Wednesday, May 18, 2005 12:49 PM
To: How to use Revolution
Subject: Re: Which one is faster ?

Jonathan-

Wednesday, May 18, 2005, 8:28:21 AM, you wrote:

LJ I ran a test on 500,000 records, testing between a single if-then
vs. a
LJ single switch, and I found that the if-then was faster. It was
LJ noticeably faster, but not hugely faster. I do not remember the
exact
LJ difference - sorry.

Interesting. I found that counter-intuitive, so I checked things out
with 4W RevBench (thanks, Richard). I find that the switch statement
consistently runs some quite a bit faster on four tests. Obviously the
value of x here will be the major factor in determining the total run
time in the nested-if case.

-- test 1:
put 4 into x
switch x
 case 1
  put x into y
  break
 case 2
  put x into y
  break
 case 3
  put x into y
  break
 case 4
  put x into y
  break
 default
  put x into y
end switch

-- test2:
put 5 into x
if x = 1 then
  put x into y
else
  if x = 2 then
   put x into y
  else
   if x = 3 then
put x into y
   else
if x = 4 then
 put x into y
else
 put x into y
end if
   end if
  end if
end if

value of x:% faster (100k runs):
1   0
2   15
3   25
4   35
5   35

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: is it true ?

2005-05-18 Thread J. Landman Gay
On 5/18/05 10:42 AM, jbv wrote:
Hi again,
I vaguely remember reading from someone on this very list that in case
of a complex conditional statement like :
if offset(a,d)0 and w10 and w2=w1+1 and offset(b,d)0 and w30 and
w4=w3+1 then
Rev would drop the evaluation as soon as a false is encountered, hence
speeding up
the execution of the script...
Is that true, or did I dream ?
It's true. Verified by Scott Raney on the MC list some time back.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Which one is faster ?

2005-05-18 Thread MisterX
like everything, it's at runtime you see the effects...
but if not solicited a lot, it's makes for a lot of 
clear branching. 

Surely different languages implement each differently
and decompiling would be the best way to know what is
best...

But in RunRev, the benchmarking is the only way to know...
Without too much digging in macsbug ;)

Whatever happened to YACC for HyperTalk?

cheers
Xav 
http://monsieurx.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Mark Wieder
 Sent: Wednesday, May 18, 2005 18:58
 To: 'How to use Revolution'
 Subject: Re: Which one is faster ?
 
 MisterX-
 
 Wednesday, May 18, 2005, 9:27:22 AM, you wrote:
 
 M switch  -- note the lack of parameter, now the case 
 handles if cases!
 M   case a=b
 M   break
 M end switch
 
 Switch without a parameter !!??!! I reworked my benchmark 
 test to try this and found that this effectively slows the 
 switch statement down to the speed of the nested ifs (i.e., 
 20-35% slower), meaning that the pcode is mapped to the same 
 thing, where every test must be taken in turn. Interesting 
 technique, though.
 
 --
 -Mark Wieder
  [EMAIL PROTECTED]
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Global variables lost in space

2005-05-18 Thread Mark Talluto
On May 18, 2005, at 9:06 AM, Richard Gaskin wrote:
The word a is a native Transcript token, so that may affect why  
it doesn't appear when you query the globals.  It does seem to  
behave well in all other respects, however.

I tried this with the variable:  gTalluto
No go unless you put a string in that variable first.  Then you can  
put anything else you want and it will show up.


Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Inconsistent behaviour of menus

2005-05-18 Thread Eric Chatonet
Hi Richard,
You leave out the section title in the v2.5.1 Engine Changes doc  
where I read: Bugs fixed in this release ;-)
Which just shows that some fixed bugs can generate new bugs, more,  
more annoying...

Best regards from Paris,
Eric Chatonet.
Le 18 mai 05 à 19:06, Richard Gaskin a écrit :
Eric Chatonet wrote:
Rev 2.5.1 - OS X 10.4.1
I am used to build menus as text, adding a parenthesis to disable  
an  item, !c to checkmark another one, etc.
The problem comes when working with submenus items.
With Rev 2.5 you could write something like:
tab SubmenuItem 1 -- enabled
(tab SubmenuItem 2 -- disabled
With Rev 2.5.1, such a formulation no longer works.
You have to put the parenthesis strictly before the label:
tab SubmenuItem 1 -- enabled
tab (SubmenuItem 2 -- disabled
If you try to use the built-in disable command with submenus  
items,  it works fine with 2.5 and does not work with 2.5.1.  
because it puts  the parenthesis at the beginning of the line :-(

This is a bug -- from the v2.5.1 Engine Changes doc:
  Bug 2275: Tabs parsed incorrectly in some menu definitions
  
  Tabs can now appear directly before or directly after the
  menu meta-characters in menu specifications.
Happy Bugzillaing...

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


no longer OT: Apple V Apple. Legal lunacy?

2005-05-18 Thread Kurt Kaufman
Thanks to Alan and Chipp for their perspectives on business and law.  
Anyone who draws up business arrangements (in the software field or 
otherwise) would be well advised to read their posts to this list:

http://lists.runrev.com/pipermail/use-revolution/2005-May/057273.html
http://lists.runrev.com/pipermail/use-revolution/2005-May/057342.html
If only more business and personal interactions were handled in this 
manner, we'd waste a whole lot less resources, money and time

Kurt
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Rotate image about arbitrary point

2005-05-18 Thread Alejandro Tejada
Hi Jim, :-)

Download this image to see the rugged border around
the image that i'm seeing:

http://www.geocities.com/capellan2000/imagerotation.jpg

Is this rugged border unavoidable?

al

on Wed, 18 May 2005 
Jim Hurley wrote:
 
 I'm not sure I know what you mean when you say the
 border changes. 
 On my system I see no border. What is your OS? 
 Does this also happen when you: 
 set the angle of image myImage to 45--or
 whatever? That is rotate the image around
 the center point?


Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread Jan Schenkel
--- jbv [EMAIL PROTECTED] wrote:
 for year we've been told that
 repeat for each line j in myVar
 runs significantly faster than
 repeat for i=1 to number of lines in myVar
 
 that's true, but if you use the following
 repeat with i=1 to number of lines in myVar
 get line i of myVar
 
 and then do all your processing in the it variable
 (and then put it in line i of myVar at the end of
 the
 repeat loop if necessary), in that case the repeat
 with i...
 statement seems to run as fast as repeat for each
 line...
 
 does that mean that only the fact that each
 successive line
 is in a variable (and hence has its content easier
 to access
 than in a huge variable with dozens or hundreds of
 lines)
 matters, and that it has nothing to do with the
 repeat
 structure per se ?
 
 Thanks,
 JB
 

Hi JB,

Rest assured that 'repeat for each' is tha fastest
construct by its very nature : the engine knows it's
going through the whole varible, and keeps track of
where it's at, saving it from counting he number of
lines all over again.
However, 'it' is a special variable, and probably
resides in the 'stack' part of the memory rather than
the 'heap' where the engine keeps close tabs on it.
So you would probably get the best performance if you
use something like:
--
repeat for each line tLine in tLongList
  get tLine
  ## now do everything with it
end repeat
--

Jan Schenkel.

Quartam - Tools for Revolution
http://www.quartam.com

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread jbv


Jan,

Thanks for the explanation, but as for your
example :

repeat for each line tLine in tLongList
  get tLine
  ## now do everything with it
end repeat

what if I need to replace tLine in tLongList
after some processing on each line ?

JB


 Hi JB,

 Rest assured that 'repeat for each' is tha fastest
 construct by its very nature : the engine knows it's
 going through the whole varible, and keeps track of
 where it's at, saving it from counting he number of
 lines all over again.
 However, 'it' is a special variable, and probably
 resides in the 'stack' part of the memory rather than
 the 'heap' where the engine keeps close tabs on it.
 So you would probably get the best performance if you
 use something like:
 --
 repeat for each line tLine in tLongList
   get tLine
   ## now do everything with it
 end repeat
 --

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: is it true ?

2005-05-18 Thread Alex Tweedly
jbv wrote:
Hi again,
I vaguely remember reading from someone on this very list that in case
of a complex conditional statement like :
   if offset(a,d)0 and w10 and w2=w1+1 and offset(b,d)0 and w30 and
w4=w3+1 then
Rev would drop the evaluation as soon as a false is encountered, hence
speeding up
the execution of the script...
Is that true, or did I dream ?
 

Yes, it's true - quoted from Scott Raney on the MC list; conditional 
evaluation ceases as soon as the result can be determined.
This has consequences not just for the speed, but also for the 
predictability of results from things like using variables/fields that 
may not exist, calling functions with side-effects, etc. and therefore 
is effectively part of the definition of correct operation of the 
language (i.e. you can assume it will remain true).

I don't know whether his statement covered switch condition evaluation 
or not - I would expect it does, but would verify that by testing before 
depending on it.

--
Alex Tweedly   http://www.tweedly.net

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 16/05/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread Jan Schenkel
--- jbv [EMAIL PROTECTED] wrote:
 
 
 Jan,
 
 Thanks for the explanation, but as for your
 example :
 
 repeat for each line tLine in tLongList
   get tLine
   ## now do everything with it
 end repeat
 
 what if I need to replace tLine in tLongList
 after some processing on each line ?
 
 JB
 

In that case you should simply build a new list in a
variable, and then copy that back into the original
variable. As Dar suggested, something like:
--
repeat for each line tLine in tLongList
  get tLine
  ## now do everything with it
  put it  return after tNewList
end repeat
## copy back the result without the trailing return
put char 1 to -2 of tNewList into tLongList
--

Looking forward to the results of the speed test,

Jan Schenkel.

Quartam - Tools for Revolution
http://www.quartam.com

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)



Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: PenTool v3

2005-05-18 Thread Alejandro Tejada
on Wed, 18 May 2005 08:50:45 -0400
Frank D. Engel, Jr. wrote:

 Very nice!

Thanks a lot, Frank! :-)
You are welcome! 

Please, as your time permits,
send comments and report bugs
to my email direction.

Shortly, i'll be adding a 
Color/Ink effects palette
and the circle and polygon tools
to this stack.

Thanks again, in advance. :-)

Alejandro Tejada

Visit my site:
http://www.geocities.com/capellan2000/



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread Mark Smith
I put this in the script of a button:
on mouseUp
  repeat 1
add 1 to c
put c  cr after theList
  end repeat
  put the milliseconds into stTime
  repeat for each line L in theList
get L
  end repeat
  put the milliseconds - stTime into forTime
  put the milliseconds into stTime
  repeat with n = 1 to the number of lines in theList
get line n of theList
  end repeat
  put the milliseconds - stTime into withTime
  put forTime  withTime
end mouseUp
forTime was 7, with time was 1197.
My understanding of the issue is that in the 'with' construction, the 
lines have to counted from 1 to get the line you want, each time round. 
With a short list, this is not a problem, but when it's got to count 
thousands of lines (increasing by 1 everytime), it can get slow. The 
'for' construction is effectively keeping a running tally of where it's 
got to, so is only having to add 1 each time. Also, the 'get L' above 
is redundant, since L already contains the data of whichever line it's 
got to.

Imagine having to count from 1 to 9000, then 1 to 9001, 1 to 9002 etc. 
as opposed to simply counting from 1 to 1.

Cheers,
Mark
On 18 May 2005, at 17:00, jbv wrote:
for year we've been told that
repeat for each line j in myVar
runs significantly faster than
repeat for i=1 to number of lines in myVar
that's true, but if you use the following
repeat with i=1 to number of lines in myVar
get line i of myVar
and then do all your processing in the it variable
(and then put it in line i of myVar at the end of the
repeat loop if necessary), in that case the repeat with i...
statement seems to run as fast as repeat for each line...
does that mean that only the fact that each successive line
is in a variable (and hence has its content easier to access
than in a huge variable with dozens or hundreds of lines)
matters, and that it has nothing to do with the repeat
structure per se ?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: no longer OT: Apple V Apple. Legal lunacy?

2005-05-18 Thread Alan Golub
Thanks for the positive remarks, Kurt. And thanks to Chipp for his take on
things, with which I largely concur -- by all means, if they are able, the
parties to a contract should work out the major terms on their own BEFORE
getting a lawyer involved. They may even be able to draft the entire
contract themselves -- you don't need a lawyer to form a binding and
enforceable contract.

A word of warning, however -- if you (a) don't have much experience with
negotiating contracts, (b) have never been a party to a contract before,
and/or (c) are uncomfortable with representing yourself in what can be a
fairly confrontational and stressful process, it may be best to have an
attorney on your side as you nail down the major terms of the contract. Even
if the parties deal directly with each other during this phase, while the
attorney sits on the sidelines to advise as necessary, there can be real
value, particularly to the uninitiated, in having in your corner someone
more experienced in negotiating and drafting these things.

This has been a very interesting discussion, and I'm so glad that others
have found it worthwhile. We don't often explore the business/legal side of
things on this list, but some attention to it now and then is no doubt a
good thing. Thanks to Jeff Reynolds for teeing this up for us!

Alan S. Golub, Esq.


On 5/18/05 1:46 PM, Kurt Kaufman [EMAIL PROTECTED] wrote:

 Thanks to Alan and Chipp for their perspectives on business and law.
 Anyone who draws up business arrangements (in the software field or
 otherwise) would be well advised to read their posts to this list:
 
 http://lists.runrev.com/pipermail/use-revolution/2005-May/057273.html
 
 http://lists.runrev.com/pipermail/use-revolution/2005-May/057342.html
 
 If only more business and personal interactions were handled in this
 manner, we'd waste a whole lot less resources, money and time
 
 Kurt
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: is it true ?

2005-05-18 Thread jbv

 Yes, it's true - quoted from Scott Raney on the MC list; conditional
 evaluation ceases as soon as the result can be determined.

OK. so in my example :

put wordoffset(b,d) into w1
if offset(a,d)  0 and w1  0 then

I'd better write :

if offset(a,d)  0 and wordoffset(b,d)  0 then

because wordoffset(b,d) will be evaluated only if the
1st part of the conditional statement is true... right ?

JB

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread Richard Gaskin
Looking forward to the results of the speed test,
When it comes to the difference between case blocks and if blocks, I'll 
make a prediction:

The difference will be negligible relative to the benefits of using the 
most readable choice for the problem at hand.

While my experience with older xTalks had me something of a benchmark 
fanatic, the more I work with the Rev engine the less benchmarking I do.

Aside from a handful of basics, I find the differences between most 
constructs to be very, very small.  In most cases the benefits of saving 
hours in maintenance over the life of a product by using the choice that 
makes for more readable code is a better savings than a fraction of a 
millisecond for one which may be technically more efficient.

What basics?  Off the top of my head:
- Use repeat for each wherever possible over repeat with
- Use fields only when text needs to be displayed; if data is
  merely stored by the user doesn't need to see if you'll get
  far better performance using custom properties
- If a field must be accessed but not necessarily seen by the
  user (such as translating to/from htmlText/rtfText) using
  a field on an unopened card will boost cut the time for that
  operation roughly in half
- When in serious doubt, it only takes a minute to benchmark
  alternatives.  When the difference is a fraction of a
  millisecond, unless the operation must be called many times
  within a loop your project management will likely benefit
  from going with the option that's easier to read
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode and chunk expressions

2005-05-18 Thread pkc
Hi Thomas, I'm not sure what you want to do with these chunk expressions, but 
my success at following Devin's suggestion to use Unicode by moving it into and 
out of html conversions causes me to ask:

Is it possible to do what you want by simply using the resultant ascii text and 
manipulating it as one would normally do (filters, instructions, comparison, 
etc)?  

Setting normal input text (depending on your method) to Unicode and then 
converting to htmlText (which comes and goes as ascii) would seem to make all 
normal transcript powers available.  Just turning it over in my mind, I'm not 
sure what you want to do with Unicode that would not be available by converting 
it to and from ascii.

Using UTF-8 appears to open some new additional functions that would not be 
available in a normal useUnicode environment.  However, it is unlikely that 
UTF-8 will produce something stable enough to come through without problems in 
your final build.  UTF-16 is a better ultimate mediu, but with the ability to 
move from unicode to html to ascii and all the way back again, you can start 
and end with UTF-16 (or start with GB5 and end up with UTF-16 if you want), 
which seems to me to work very well.  That is: input characters with your 
normal method, get everything to ascii codes for your internal app operation, 
and have unicode (UTF-16) come out again at the user's end. 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Use an another player that XAnim

2005-05-18 Thread Mark Talluto
On May 18, 2005, at 5:58 AM, Frank D. Engel, Jr. wrote:
Look out, though; have you been to the mplayer home page lately?
http://www.mplayerhq.hu/

Yikes!  Let's hope the QT rumor comes true soon.

Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Speed

2005-05-18 Thread Melitn Cardona Torres
I have tried this in a field with 2352 lines (one word in each line):
on mouseUp
  method1
  method2
  method3
  method4
  method5
  method6
end mouseUp
on method1
  put the milliseconds into originMill
  repeat with x=1 to the number of lines of fld dos
put line x of fld dos cr after aList1
  end repeat
  put the milliseconds-originMillthe number of lines of aList1 into 
msg
end method1

on method2
  put the milliseconds into originMill
  put fld dos into miVar
  repeat with x=1 to the number of lines of miVar
put line x of miVar cr after aList2
  end repeat
  put crthe milliseconds-originMillthe number of lines of aList2 
after msg
end method2

on method3
  put the milliseconds into originMill
  repeat for each line efe in fld dos
put efecr after aList3
  end repeat
  put crthe milliseconds-originMillthe number of lines of aList3 
after msg
end method3

on method4
  put the milliseconds into originMill
  put fld dos into miVar
  repeat for each line efe in miVar
put efecr after aList4
  end repeat
  put crthe milliseconds-originMillthe number of lines of aList4 
after msg
end method4

on method5
  put the milliseconds into originMill
  repeat with x=1 to the number of lines of fld dos
get line x of fld dos
put itcr after aList5
  end repeat
  put crthe milliseconds-originMillthe number of lines of aList5 
after msg
end method5

on method6
  put the milliseconds into originMill
  put fld dos into miVar
  repeat with x=1 to the number of lines of miVar
get line x of miVar
put itcr after aList6
  end repeat
  put crthe milliseconds-originMillthe number of lines of aList6 
after msg
end method6

Some results (not uniform):
7658 2352
1688 2352
10 2352
8 2352
7819 2352
1451 2352
***
7803 2352
1313 2352
11 2352
10 2352
4867 2352
1054 2352
***
8113 2352
1698 2352
12 2352
86 2352
7793 2352
1391 2352
and so on ...
Best regards,
Ton Cardona
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: is it true ?

2005-05-18 Thread J. Landman Gay
On 5/18/05 1:34 PM, jbv wrote:
Yes, it's true - quoted from Scott Raney on the MC list; conditional
evaluation ceases as soon as the result can be determined.

OK. so in my example :
put wordoffset(b,d) into w1
if offset(a,d)  0 and w1  0 then
I'd better write :
if offset(a,d)  0 and wordoffset(b,d)  0 then
because wordoffset(b,d) will be evaluated only if the
1st part of the conditional statement is true... right ?
Right.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: 1 more speed question

2005-05-18 Thread MisterX
Mark,

if in your repeat loop you just use line 1 of container,
then delete it (from a tempList) then you'll see it's just
as fast...

repeat 1000
get line 1 of mylist
delete line 1 of mylist

cheers
Xavier 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Mark Smith
 Sent: Wednesday, May 18, 2005 20:05
 To: use-revolution@lists.runrev.com
 Subject: Re: 1 more speed question
 
 I put this in the script of a button:
 
 on mouseUp
repeat 1
  add 1 to c
  put c  cr after theList
end repeat
 
 
put the milliseconds into stTime
repeat for each line L in theList
  get L
end repeat
put the milliseconds - stTime into forTime
 
put the milliseconds into stTime
repeat with n = 1 to the number of lines in theList
  get line n of theList
end repeat
put the milliseconds - stTime into withTime
 
put forTime  withTime
 end mouseUp
 
 forTime was 7, with time was 1197.
 
 My understanding of the issue is that in the 'with' 
 construction, the lines have to counted from 1 to get the 
 line you want, each time round. 
 With a short list, this is not a problem, but when it's got 
 to count thousands of lines (increasing by 1 everytime), it 
 can get slow. The 'for' construction is effectively keeping a 
 running tally of where it's got to, so is only having to add 
 1 each time. Also, the 'get L' above is redundant, since L 
 already contains the data of whichever line it's got to.
 
 Imagine having to count from 1 to 9000, then 1 to 9001, 1 to 
 9002 etc. 
 as opposed to simply counting from 1 to 1.
 
 Cheers,
 
 Mark


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What is the script for selecting a specific word in a field?

2005-05-18 Thread Frdric RINALDI
On 18 mai 05, at 19:21, [EMAIL PROTECTED] wrote:
Robert,
Simply use:
on tabKey
  find word xxx
  if the result is not not found
  then select the foundChunk
end tabKey
Frederic RINALDI
Technical Consultant  Developer
Cellular : 33-(0)6 07 34 01 61
eMail : [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: What is the script for selecting a specific word in a field?

2005-05-18 Thread MisterX
how many of us already knew that and didn't think of it? ;)

Fred, you're a natural ;) 

Any externals shell-code insights in the same lovely french style you'd
like to share? ;)

bravo
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Frédéric RINALDI
 Sent: Wednesday, May 18, 2005 21:29
 To: use-revolution@lists.runrev.com
 Subject: Re: What is the script for selecting a specific word 
 in a field?
 
 
 On 18 mai 05, at 19:21, [EMAIL PROTECTED] wrote:
 
 Robert,
 
  Simply use:
 
 on tabKey
find word xxx
if the result is not not found
then select the foundChunk
 end tabKey
 
 Frederic RINALDI
 Technical Consultant  Developer
 Cellular : 33-(0)6 07 34 01 61
 eMail : [EMAIL PROTECTED]
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode and chunk expressions

2005-05-18 Thread Dar Scott
On May 18, 2005, at 12:30 PM, pkc wrote:
but with the ability to move from unicode to html to ascii and all the 
way back again, you can start and end with UTF-16 (or start with GB5 
and end up with UTF-16 if you want), which seems to me to work very 
well.  That is: input characters with your normal method, get 
everything to ascii codes for your internal app operation, and have 
unicode (UTF-16) come out again at the user's end.
It is possible to work with the htmlText.  However, that does have its 
own problems.  You end up with pieces of elements you don't expect.  I 
ran a quick test with Tagalog and getting the last word got part of a 
font element and the trailing /p.  Of course, since it is all ASCII, 
you can program around that.

As far as using UTF-8, there might be some gotchas in the high codes.  
I don't remember under what circumstances Revolution tries to to 
character conversions.  I ran a test on OS X and high codes don't seen 
to be involved in case insensitivity.

One advantage of using htmlText is the ability to easily display values 
in debugging and in other tests.

However, since htmlText is a proprietary format that might change, I 
would lean toward using UTF-8 in scripts.

Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What is the script for selecting a specific word in a field?

2005-05-18 Thread Klaus Major
Hi all,
how many of us already knew that and didn't think of it? ;)
and how many of you actually read the post of Ken Ray from about 3  
hours ago NOT?
:-D

Am 18.05.2005 um 18:34 schrieb Ken Ray:
...
on tabKey
  lock screen
  find word xxx in field YourAnswer
  select the foundText
  unlock screen
end tabKey

...
Frédéric RINALDI
Sent: Wednesday, May 18, 2005 21:29
To: use-revolution@lists.runrev.com
Subject: Re: What is the script for selecting a specific word
in a field?
On 18 mai 05, at 19:21, [EMAIL PROTECTED]  
wrote:

Robert,
 Simply use:
on tabKey
   find word xxx
   if the result is not not found
   then select the foundChunk
end tabKey
Frederic RINALDI
Technical Consultant  Developer
Cellular : 33-(0)6 07 34 01 61
eMail : [EMAIL PROTECTED]
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: no longer OT: Apple V Apple. Legal lunacy?

2005-05-18 Thread Dan Shafer
As a law school grad who declined to become a practicing attorney,  
let me add one other note.

A contract is only a piece of paper. Right up until someone thinks  
the other person has breached it.

Then it is a nightmare.
Draft agreements with clear divorce clauses. The document is really  
most valuable if and when things go south.

Dan
On May 18, 2005, at 11:14 AM, Alan Golub wrote:
Thanks for the positive remarks, Kurt. And thanks to Chipp for his  
take on
things, with which I largely concur -- by all means, if they are  
able, the
parties to a contract should work out the major terms on their own  
BEFORE
getting a lawyer involved. They may even be able to draft the entire
contract themselves -- you don't need a lawyer to form a binding and
enforceable contract.

A word of warning, however -- if you (a) don't have much experience  
with
negotiating contracts, (b) have never been a party to a contract  
before,
and/or (c) are uncomfortable with representing yourself in what can  
be a
fairly confrontational and stressful process, it may be best to  
have an
attorney on your side as you nail down the major terms of the  
contract. Even
if the parties deal directly with each other during this phase,  
while the
attorney sits on the sidelines to advise as necessary, there can be  
real
value, particularly to the uninitiated, in having in your corner  
someone
more experienced in negotiating and drafting these things.

This has been a very interesting discussion, and I'm so glad that  
others
have found it worthwhile. We don't often explore the business/legal  
side of
things on this list, but some attention to it now and then is no  
doubt a
good thing. Thanks to Jeff Reynolds for teeing this up for us!

Alan S. Golub, Esq.
On 5/18/05 1:46 PM, Kurt Kaufman [EMAIL PROTECTED] wrote:

Thanks to Alan and Chipp for their perspectives on business and law.
Anyone who draws up business arrangements (in the software field or
otherwise) would be well advised to read their posts to this list:
http://lists.runrev.com/pipermail/use-revolution/2005-May/057273.html
http://lists.runrev.com/pipermail/use-revolution/2005-May/057342.html
If only more business and personal interactions were handled in this
manner, we'd waste a whole lot less resources, money and time
Kurt
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] How-To stack #008 How to build a menu on the fly revised

2005-05-18 Thread Eric Chatonet
Hi everyone,
After a previous angry mail about Rev inconsistency regarding  
disabled submenus items with successive releases of Rev, I revised my  
How-To stack dedicated to menus building in order to make it working  
with all versions of Rev 2.x...

How-To stack #008:
How to build on the fly a pulldown menu with sub-menus from an  
outline stored into a custom property.
How to add contextual items, checkmark, activate or disable menu  
items, etc.
How to respond to the user actions: choosing a menu item, using a  
keyboard shortcut, etc.
Added a print function and some tips about cross-platform contextual  
menus behaviour.

On RevOnLine:
User name: So Smart Software
Category: Programming
On RevNet:
Tutorials section
To download RevNet, go to http://www.fourthworld.com/rev/index.html
Directly by pasting into the message box:
go url http://www.sosmartsoftware.com/downloads/Managing%20Menus.rev;
In a few days, I will replace all these means of access by a single  
stack, a kind of shell, linked to my web site and released as a  
plugin: it will make the maintenance easier and will ensure that you  
have last updates as new ones immediatly to hand.

Best regards from Paris,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Custom Cursors

2005-05-18 Thread Peter T. Evensen
Ok, I must be missing something simple.  I am trying to create a custom 
cursor.  Whenever I do a set the cursor to 1005, Rev crashes.

 I have a 16 x 16 png, black, white and transparent.   Is there something 
else I should be doing?

Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Inconsistent behaviour of menus

2005-05-18 Thread Ken Ray
On 5/18/05 12:40 PM, Eric Chatonet [EMAIL PROTECTED]
wrote:

 Hi Richard,
 
 You leave out the section title in the v2.5.1 Engine Changes doc
 where I read: Bugs fixed in this release ;-)
 Which just shows that some fixed bugs can generate new bugs, more,
 more annoying...

Agreed... Eric, did you post a new bug in Bugzilla for this?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


ANN: SimpleStats

2005-05-18 Thread MisterX
In the serie of SimpleStacks to demonstrate simple concepts Made in RunRev,
here's a TAOO enhanced GUI sporting the SimpleStats stack i mentioned a few
hours ago. Great to know if your statistics are worth the numbers...
 
http://www.monsieurx.com/modules.php?name=Downloads
http://www.monsieurx.com/modules.php?name=Downloadsd_op=viewdownloaddetail
slid=84 d_op=viewdownloaddetailslid=84
 
or [if it works... - dont rant, just click on the link and the download will
start...] 
 
go url http://www.monsieurx.com/modules.php?name=Downloads
http://www.monsieurx.com/modules.php?name=Downloadsd_op=getitlid=84
d_op=getitlid=84
 
For those 2 pre-announcement downloads, the GUI is now much much improved...

 
This stack is totally opensource - and free but may be restricted in use -
see about field (the one with the nice zoom animation! ;)
 
The GUI theme and stack resizing is made in TAOO. 
And Metacard 2.5.x compatible too!
 
As usual, votes, comments and donations always welcome to keep the effort
and novelty coming to you for free!
 
cheers
Xavier
http://monsieurx.com
 
 
 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: watermarked images that photocopy as void

2005-05-18 Thread HyperChris
There is a name to the process of embedding an image in an image that doesn't 
show up until you photocopy it ... I need it to watermark the printing on a 
rev project ... Does anyone know the name of this effect so i can research it? 
thank you!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Custom Cursors

2005-05-18 Thread Chipp Walters
Peter,
From my tests, if you're on WinXP, then the cursor needs to be 32x32. 
It can be 16x16 on Mac.

In order to set the color correctly, Try clicking in your cursor img 
with the pencil to 'reset' the color map. Then it should work.

best,
Chipp
Peter T. Evensen wrote:
 I have a 16 x 16 png, black, white and transparent.   Is there 
something else I should be doing?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Custom Cursors

2005-05-18 Thread Peter T. Evensen
Actually 16 x 16 works.  I discovered the image needs to be indexed (which 
clicking with the pencil might have done).  One odd bit of behavior, the 
black and white were reversed when it was a cursor.I guess that could 
have been because it was coming from a Mac.  Hmm wonder if I'll have 
cross platform issues with this.

At 04:36 PM 5/18/2005, you wrote:
Peter,
From my tests, if you're on WinXP, then the cursor needs to be 32x32. It 
can be 16x16 on Mac.

In order to set the color correctly, Try clicking in your cursor img with 
the pencil to 'reset' the color map. Then it should work.

best,
Chipp
Peter T. Evensen wrote:
 I have a 16 x 16 png, black, white and transparent.   Is there 
something else I should be doing?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: watermarked images that photocopy as void

2005-05-18 Thread Peter T. Evensen
Would that be a latent image/watermark?
At 04:35 PM 5/18/2005, you wrote:
There is a name to the process of embedding an image in an image that doesn't
show up until you photocopy it ... I need it to watermark the printing on a
rev project ... Does anyone know the name of this effect so i can research 
it?
thank you!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Inconsistent behaviour of menus

2005-05-18 Thread Eric Chatonet
Hi Ken,
In fact, I dont know exactly how works bugzilla.
I downloaded your fine Revzilla, change my web browser (then cookies  
were missing), lost my password, saw that the new Revzilla did not  
need them any more... etc.
So I have to dig into :-)

I take this opportunity to tell you that, in a previous post about  
What is the script for selecting a specific word in a field, you  
said the things so much clearly than I am able :-)
I think that it should be very interesting to demonstrate to rev  
programmers how rich is the IDE which often provides functionalities  
or reliable starting places to build our own scripts.
For instance, I am thinking of the app browser which uses html lists  
built on the fly, resizable columns and headers, fine keyboard  
shortcuts and many other useful tricks and features.
The IDE is the best tutorial I know ;-)

Best regards from Paris,
Eric Chatonet.
Le 18 mai 05 à 23:28, Ken Ray a écrit :
On 5/18/05 12:40 PM, Eric Chatonet  
[EMAIL PROTECTED]
wrote:


Hi Richard,
You leave out the section title in the v2.5.1 Engine Changes doc
where I read: Bugs fixed in this release ;-)
Which just shows that some fixed bugs can generate new bugs, more,
more annoying...
Agreed... Eric, did you post a new bug in Bugzilla for this?

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: [ANN] How-To stack #008 How to build a menu on the fly revised

2005-05-18 Thread MisterX
Eric,

do you have any tips to prevent menus from stacks behind (or palettes)
intercepting the menu's messages? 

stack A has a menu - with save/s in it.
Open stack b - no menu 

if i try to save stack b, stack a intervenes and launches its save
handler...

Other than writing a plugin to fix this (HotKeyN2O again), is there any
normal way to prevent this?

cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Eric Chatonet
 Sent: Wednesday, May 18, 2005 23:20
 To: How to use Revolution
 Subject: [ANN] How-To stack #008 How to build a menu on the 
 fly revised
 
 Hi everyone,
 
 After a previous angry mail about Rev inconsistency regarding 
 disabled submenus items with successive releases of Rev, I 
 revised my How-To stack dedicated to menus building in order 
 to make it working with all versions of Rev 2.x...
 
 How-To stack #008:
 How to build on the fly a pulldown menu with sub-menus from 
 an outline stored into a custom property.
 How to add contextual items, checkmark, activate or disable 
 menu items, etc.
 How to respond to the user actions: choosing a menu item, 
 using a keyboard shortcut, etc.
 Added a print function and some tips about cross-platform 
 contextual menus behaviour.
 
 On RevOnLine:
 User name: So Smart Software
 Category: Programming
 
 On RevNet:
 Tutorials section
 To download RevNet, go to http://www.fourthworld.com/rev/index.html
 
 Directly by pasting into the message box:
 go url http://www.sosmartsoftware.com/downloads/Managing%20Menus.rev;
 
 In a few days, I will replace all these means of access by a 
 single stack, a kind of shell, linked to my web site and released as a
 plugin: it will make the maintenance easier and will ensure 
 that you have last updates as new ones immediatly to hand.
 
 Best regards from Paris,
 
 Eric Chatonet.
 
 So Smart Software
 
 For institutions, companies and associations Built-to-order 
 applications: management, multimedia, internet, etc.
 Windows, Mac OS and Linux... With the French touch
 
 Plugins, tutorials and more on our website
 
 Web sitehttp://www.sosmartsoftware.com/
 Email[EMAIL PROTECTED]/
 Phone33 (0)1 43 31 77 62
 Mobile33 (0)6 20 74 50 86
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: OT: watermarked images that photocopy as void

2005-05-18 Thread MisterX
isn't that the good old printing watermark?

Light blue dots on top of dark blue dots - the light blue doesn't photocopy,
the dark does... imperceptible to the untrained eye...

For color images, try to use the same colors as money - some commercial
scanners change automatically the color / or pretend not to copy it right
(withough some adjustments at least)... 

Photoshop 9 has a detector for money too - image/pattern recognition based
probably...

cheers
Xav 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Peter T. Evensen
 Sent: Wednesday, May 18, 2005 23:43
 To: How to use Revolution
 Subject: Re: OT: watermarked images that photocopy as void
 
 Would that be a latent image/watermark?
 
 At 04:35 PM 5/18/2005, you wrote:
 There is a name to the process of embedding an image in an 
 image that 
 doesn't show up until you photocopy it ... I need it to 
 watermark the 
 printing on a rev project ... Does anyone know the name of 
 this effect 
 so i can research it?
 thank you!
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 Peter T. Evensen
 http://www.PetersRoadToHealth.com
 24-hour recorded info hotline: 1-800-624-7671 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread Mark Wieder
Mark-

Putting the limit into a variable speeds things up considerably:

put the number of controls on card id 200593 of stack revIcons into y
repeat with x=1 to y
 add 1 to z
end repeat

Is twice as fast (.73 ticks vs 1.41 ticks) as:

repeat with x=1 to the number of controls on card id 200593 of stack revIcons
 add 1 to z
end repeat

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: RevCentral Newsletter

2005-05-18 Thread Chipp Walters
As many of you may have already found out, Dan Shafer and I have put 
toghether a newsletter for Runtime Revolution users called: RevCentral 
Newsletter. Included are tips, notes on 3rd party add-ons, and other 
general information relevant to Rev users.

Those already on the list have received issue 1.
There will be a new newsletter going out sometime in the next few days, 
and if you're not already on the list, please consider subscribing:

http://www.altuit.com/webs/revCentral/revCentralHome/default.htm
If you are on the list, but wish to no longer receive the newsletter, 
please click the link on the bottom of it or email Dan or I directly and 
we'll be happy to remove you, though sad to see you go.

best,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: SimpleStats

2005-05-18 Thread Dan Shafer
Probably me, but I can't get most of the buttons to do anything. The  
Calc button works but the graph button and the rest just sit there  
and stare at me.

Dan
On May 18, 2005, at 2:16 PM, MisterX wrote:
In the serie of SimpleStacks to demonstrate simple concepts Made in  
RunRev,
here's a TAOO enhanced GUI sporting the SimpleStats stack i  
mentioned a few
hours ago. Great to know if your statistics are worth the numbers...

http://www.monsieurx.com/modules.php?name=Downloads
http://www.monsieurx.com/modules.php? 
name=Downloadsd_op=viewdownloaddetail
slid=84 d_op=viewdownloaddetailslid=84

or [if it works... - dont rant, just click on the link and the  
download will
start...]

go url http://www.monsieurx.com/modules.php?name=Downloads
http://www.monsieurx.com/modules.php? 
name=Downloadsd_op=getitlid=84
d_op=getitlid=84

For those 2 pre-announcement downloads, the GUI is now much much  
improved...

This stack is totally opensource - and free but may be restricted  
in use -
see about field (the one with the nice zoom animation! ;)

The GUI theme and stack resizing is made in TAOO.
And Metacard 2.5.x compatible too!
As usual, votes, comments and donations always welcome to keep the  
effort
and novelty coming to you for free!

cheers
Xavier
http://monsieurx.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode and chunk expressiong

2005-05-18 Thread pkc
Dar wrote:

  However, that does have its 
own problems.  You end up with pieces of elements you don't expect.  I 
ran a quick test with Tagalog and getting the last word got part of a 
font element and the trailing /p.  Of course, since it is all ASCII, 
you can program around that.


That's quite right. In my experience so far, these trailing and fronting 
elements all occur very regularly and can be filtered out as one wishes. A line 
or two makes it all neat and manipulable. There is also the problem that 
unicode-derived ascii will produce one legible word for Transcript, no matter 
how many characters are involved.  A filter is required to space out betwen ; 
and  which is also not a big deal. I am just not sure exactly what sort of 
functions Thomas wants to apply to his unicode chunks.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] How-To stack #008 How to build a menu on the fly

2005-05-18 Thread Jim Hurley
Eric,
Thanks for this stack. I will have to study it to get the full 
benefit. I have never taken advantage of the sub-menu features in Run 
Rev.

But first a general question. Why doesn't a pull down menu look like 
a pull down menu?

The icon in the tool box looks like a pull down menu, but it is an 
impostor.  You pull it on to the screen and it is transformed into a 
simple rectangle. I'm realize that I must not be the first to notice 
this. What gives?

Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Rotate image about arbitrary point

2005-05-18 Thread Jim Hurley
Message: 14
Date: Wed, 18 May 2005 10:50:04 -0700 (PDT)
From: Alejandro Tejada [EMAIL PROTECTED]
Subject: RE: Rotate image about arbitrary point
To: use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii
Hi Jim, :-)
Download this image to see the rugged border around
the image that i'm seeing:
http://www.geocities.com/capellan2000/imagerotation.jpg
Is this rugged border unavoidable?
al

Now I see what you mean. It is much less noticeable on my Mac 
PowerBook. It is either an artifact of that particular image, or a 
problem with Run Rev's set the angle of. Probably the former. I 
suspect it is a function of my efforts to remove the image from its 
background in Photo Shop.

You had mentioned that this utility  would be useful in positioning 
images. My objective actually was to be able to animate images in Run 
Rev--without animated gifs. I have altered the stack to show this 
effect.

In this stack, David swings his sling to drop Goliath. To get this 
effect it is necessary to rotate David's arm--as a separate 
image--about the shoulder.

In the menu box:
go url http://home.infostations.net/jhurley/RotateImage2.rev;
Jim


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Password Protection and Copying

2005-05-18 Thread Scott Rossi
Howdy List:

I have a copy-protected main stack from which I need to copy controls to a
substack.  Apparently, copying objects is disabled unless the passkey is
provided before copying.  This works OK, but then the password-protected
stack is left unprotected.  Is there any workaround for this -- any way to
restore the main stack's password while it is in memory?  (Rev 2.5.1)

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread Dar Scott
On May 18, 2005, at 4:31 PM, Mark Wieder wrote:
Putting the limit into a variable speeds things up considerably:
put the number of controls on card id 200593 of stack revIcons into y
repeat with x=1 to y
 add 1 to z
end repeat
6.9 ms
Is twice as fast (.73 ticks vs 1.41 ticks) as:
repeat with x=1 to the number of controls on card id 200593 of stack 
revIcons
 add 1 to z
end repeat
6.9 ms
Did you forget to put the 'put' inside your timing?  Or are we seeing 
your clock resolution?

I tested two ways with Rev 2.5.1 OS X dual 1.25 GHz.
I think the latter is slightly faster.
Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Password Protection and Copying

2005-05-18 Thread Dar Scott
On May 18, 2005, at 6:17 PM, Scott Rossi wrote:
I have a copy-protected main stack from which I need to copy controls 
to a
substack.  Apparently, copying objects is disabled unless the passkey 
is
provided before copying.  This works OK, but then the 
password-protected
stack is left unprotected.  Is there any workaround for this -- any 
way to
restore the main stack's password while it is in memory?  (Rev 2.5.1)
I have a vague memory of setting passkey to empty.
Dar
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Password Protection and Copying

2005-05-18 Thread Robert Brenstein
Howdy List:
I have a copy-protected main stack from which I need to copy controls to a
substack.  Apparently, copying objects is disabled unless the passkey is
provided before copying.  This works OK, but then the password-protected
stack is left unprotected.  Is there any workaround for this -- any way to
restore the main stack's password while it is in memory?  (Rev 2.5.1)
Thanks  Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia  Design

See bug 546 (yes, that old and with 25 votes).
Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Password Protection and Copying

2005-05-18 Thread Malte Brill
Hi Scott,
I just tried this:
on mouseUp
  set the passkey of this stack to wahasel
  copy me to stack mySubStack
 set the password of this stack to wahasel
 save this stack
 revert
end mouseUp
seems to work, but causes flicker.
Cheers,
Malte
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Don't Mess Around...

2005-05-18 Thread Mark Wieder
All-

I learned a lesson today.

I was annoyed by the plethora of plugin toolbars that were crowding my
screen, so I closed runrev and moved one of the toolbars into an
unused folder so it wouldn't start up the next time I launched the
IDE. This, of course, caused the IDE to hang with the message loading
menus and plugins and I had to force quit it...

...and completely reinstall runrev. No amount of fiddling seemed to
fix my problem up.

So I've learned not to mess around in the plugins folder.

Now, my question is... where is the list of plugins stored? Which ide
stack did I mess up by moving things around? And since I couldn't open
any stacks in any event, is there another way to recover other than a
complete reinstall? If it helps any, this was the 4W devolution plugin
that I moved, but somehow I don't think this is the plugin's fault.

And I'm back to normal, thanks, or at any rate what passes for normal
around here, so there's no immediate problem to solve, but I'm curious
about what happened here and thinking that I might issue a warning
that others not follow in my footsteps.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Downloading Updates --the current stack?

2005-05-18 Thread Jeanne A. E. DeVoto
At 10:20 AM +0200 5/18/05, Malte Brill wrote:
sorry, I wasn´t clear enough. What I meant is the download and 
replacement process (write permissions) e.g when the app lies on 
macHD/Applications. Would that be a problem? If so, can we code 
around it?

Ah, I see what you mean. Hmmm. If the download process fails because 
of a permission problem, I think you get an error returned in the 
result. So at least you can tell that it happened.

How to work around it is another question. You could download the 
stack to another location such as the Preferences folder, where the 
user (should) have write permission, and then use the delete command 
to remove the old version from memory, then load the new version into 
memory by opening it or getting a property of the stack.

However, this would only work for the current session - the next time 
the application starts up, it would load the (old version) stack from 
its bundle. And if the idea is to perform a live update of the 
application, a solution that only works for the current session 
obviously isn't sufficient. In this case it may be best to check the 
result during the download, and if there is an error, advise the user 
to log in as an admin in order to do the install. This is a little 
ugly but I don't see a good way around it - it is true in general 
that installing apps requires sufficient permissions.

One other method would be to allow a copy in the Preferences folder 
to override the copy in the application bundle. When the application 
starts up, it can first check the Preferences folder for the stack - 
and if the stack is there, load it from Preferences rather than from 
the bundle. This has two disadvantages - it makes things more 
complicated in general, and it takes up more disk space - but it 
might be the best solution for certain situations.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: is it true ?

2005-05-18 Thread Jeanne A. E. DeVoto
At 6:59 PM +0100 5/18/05, Alex Tweedly wrote:
jbv wrote:
Rev would drop the evaluation as soon as a false is encountered, hence
speeding up
the execution of the script...
Is that true, or did I dream ?
Yes, it's true - quoted from Scott Raney on the MC list; conditional 
evaluation ceases as soon as the result can be determined.
It's also documented:
  Note: Transcript uses what is known as short-circuit evaluation 
for logical operators. This means that value1 is evaluated first. If 
value1 is false, the expression value1 and value2 is false regardless 
of what value2 is (because the expression evaluates to false unless 
both the values are true). In this case, Revolution does not evaluate 
value2, since doing so is not necessary to determine the value of 
value1 and value2. For example, evaluating the expression asin(2) 
normally causes an execution error (because 2 is not a legal argument 
for the arc sine function), but evaluating the expression (1 = 0) and 
(asin(2) = 1) does not cause an error:  since (1 = 1) is always 
false, the whole statement is always false and Revolution never tries 
to evaluate the asin function.

(This is under and and or, and probably at least the first part 
should be included in if as well.)


I don't know whether his statement covered switch condition 
evaluation or not - I would expect it does, but would verify that by 
testing before depending on it.
It's done any time an expression with a binary boolean operator is 
encountered, regardless of context. So it works in a switch or if or 
anywhere else, e.g.:

  put (1 = 0) and (asin(2) = 1) into foo
puts false into foo without running the faulty asin.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Don't Mess Around...

2005-05-18 Thread Richard Gaskin
Mark Wieder wrote:
Now, my question is... where is the list of plugins stored? Which ide
stack did I mess up by moving things around? And since I couldn't open
any stacks in any event, is there another way to recover other than a
complete reinstall? If it helps any, this was the 4W devolution plugin
that I moved, but somehow I don't think this is the plugin's fault.
I just moved my 4wDevolution.rev plugin out and restarted Rev and had no 
difficulty, so I agree it's probably not that.  All the tools in the 
devolution toolkit are designed to be self-contained even though they 
can act in an integrated fashion when they're all together, so while I 
can't rule out the possibility of an error I can at least say I work 
hard to avoid it in such circumstances.

I can't imagine what would require previous plugins to remain in place. 
 It's counter to the philosophy of interchangeable plugins.

If you find the culprit please let me know.
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1 more speed question

2005-05-18 Thread J. Landman Gay
On 5/18/05 7:45 PM, Dar Scott wrote:
On May 18, 2005, at 4:31 PM, Mark Wieder wrote:
Putting the limit into a variable speeds things up considerably:
put the number of controls on card id 200593 of stack revIcons into y
repeat with x=1 to y
 add 1 to z
end repeat

6.9 ms
Is twice as fast (.73 ticks vs 1.41 ticks) as:
repeat with x=1 to the number of controls on card id 200593 of stack 
revIcons
 add 1 to z
end repeat

6.9 ms
Did you forget to put the 'put' inside your timing?  Or are we seeing 
your clock resolution?

I tested two ways with Rev 2.5.1 OS X dual 1.25 GHz.
I think the latter is slightly faster.
This came up on the MetaCard list back in the dark ages. Scott Raney 
said the engine figures out the variable so we don't have to, and the 
two should be identical in speed.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Don't Mess Around...

2005-05-18 Thread Sarah Reichelt
On 19 May 2005, at 11:36 AM, Mark Wieder wrote:
Now, my question is... where is the list of plugins stored? Which ide
stack did I mess up by moving things around? And since I couldn't open
any stacks in any event, is there another way to recover other than a
complete reinstall? If it helps any, this was the 4W devolution plugin
that I moved, but somehow I don't think this is the plugin's fault.
And I'm back to normal, thanks, or at any rate what passes for normal
around here, so there's no immediate problem to solve, but I'm curious
about what happened here and thinking that I might issue a warning
that others not follow in my footsteps.
Hi Mark,
I would guess that the plugin was set to load on startup. If you go to 
Plugin settings in the Development - Plugins menu, you can set
the plugins behavior to load on startup, or only when chosen from the 
menu. If you had set this to load only from the menu, then I think 
deleting it would not have caused any problems.

However, I am surprised that you weren't able to solve things by 
putting the plugin back into the plugins folder.

One final note: when you use the Plugin Settings stack, closing it also 
closes all open plugins. I think I bugzilla'd this a while ago but I 
can't remember the number.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


CustomProperties function returns zilch

2005-05-18 Thread Thomas McCarthy

I got a stack with a bunch of custom properties (a number of which are holding 
data) and this:
answer the customProperties of this stack
returns zilch -- a number equal to my patience :-)

Is this broken?
Mac OSX 10.3.9/Rev 2.5.1

tom

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   >