"Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-18 Thread Jim Hurley

Is this a known change in 2.6?

The scrip below functioned as expected in Rev 2.5.  When the user 
click "Cancel" in response to the "ask" command the "it" variable was 
set to empty. Not so in 2.6.


In 2.6 the script behaves differently. When the user clicks "Cancel," 
there is a error response. The "ask" command does not return empty to 
the "it" variable--I'm not sure what "it" is. It shows empty but 
charToNum  return the zero character.


From the Docs:

If the user cancels the dialog, the it variable is set to empty 
and the result function returns "cancel".




on mouseUp
  ask "What field to save?"
  --User clicks "Cancel"
  if it is not empty then
--Debugger steps into this line even
--though "Cancel" was clicked.
put it into temp1 --Shows empty
put chartonum(it) into temp2 --Shows 0, i.e. zero
put the result into temp3--Shows empty but should be "cancel"
put field it into tContents --Error message
  else put field 1 into tContents
  ask file "Put where?"
  if it is not empty then
put "file:"& it into tFileName
put tContents into url  tFileName
  else
beep
exit mouseUP
  end if
end mouseUp

There is a work-around. Test the the "result" not "it," i.e. use:" If 
the result is not empty."


Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-18 Thread Stephen Barncard

Jim, check your build number:

in the messagebox, type:
put buildnumber()

I think this was quickly fixed by build 108.
Download a recent version.




Is this a known change in 2.6?

The scrip below functioned as expected in Rev 2.5.  When the user 
click "Cancel" in response to the "ask" command the "it" variable 
was set to empty. Not so in 2.6.


In 2.6 the script behaves differently. When the user clicks 
"Cancel," there is a error response. The "ask" command does not 
return empty to the "it" variable--I'm not sure what "it" is. It 
shows empty but charToNum  return the zero character.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-18 Thread Klaus Major

Hi all,

Jim, check your build number:

in the messagebox, type:
put buildnumber()

I think this was quickly fixed by build 108.
Download a recent version.


until Rev has changed the way we have to load every new distribution
(the COMPLETE package :-/), it would be nice to have a place where
we can download the engines only!


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-18 Thread Jim Hurley


Message: 1
Date: Thu, 18 Aug 2005 19:38:19 +0200
From: Klaus Major <[EMAIL PROTECTED]>
Subject: Re: "Ask" does not put empty into "it" when "Cancel" is
clicked.
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi all,

 Jim, check your build number:

 in the messagebox, type:
 put buildnumber()

 I think this was quickly fixed by build 108.
 Download a recent version.


until Rev has changed the way we have to load every new distribution
(the COMPLETE package :-/), it would be nice to have a place where
we can download the engines only!


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de




Klaus,

Good idea. It takes me 1.5 hours to download the whole works. And 
then there is the job of updating the plug-ins.


Peripheral benefit to the new build: Spotlight is starting to index 
my Rev scripts--for both RR 2.5 and RR 2.6. I didn't test versions 
anything before 2.5.


But only those stacks that have been newly saved. Odd, since 
Spotlight has clearly looks through my old MS Word files. (Maybe it 
will get around to the old RR files eventually--just waiting for 
enough idle time.)


Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-19 Thread Jeanne A. E. DeVoto

At 7:38 PM +0200 8/18/2005, Klaus Major wrote:

I think this was quickly fixed by build 108.
Download a recent version.


until Rev has changed the way we have to load every new distribution
(the COMPLETE package :-/), it would be nice to have a place where
we can download the engines only!


While we're wishing, it would be nice if the fershlugginah VERSION 
NUMBER were changed when the software changed. From a software 
engineering point of view, this "download whatever is on the web 
site, install it, run it, and check the buildNumber function in the 
message box to figure out whether this 2.6 is the same as the 2.6 you 
downloaded two weeks ago" really, seriously, does not cut it.


   
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-19 Thread Dan Shafer

Jeanne

How do you *really* feel?

Dan

On Aug 18, 2005, at 11:40 PM, Jeanne A. E. DeVoto wrote:


At 7:38 PM +0200 8/18/2005, Klaus Major wrote:


I think this was quickly fixed by build 108.
Download a recent version.



until Rev has changed the way we have to load every new distribution
(the COMPLETE package :-/), it would be nice to have a place where
we can download the engines only!



While we're wishing, it would be nice if the fershlugginah VERSION  
NUMBER were changed when the software changed. From a software  
engineering point of view, this "download whatever is on the web  
site, install it, run it, and check the buildNumber function in the  
message box to figure out whether this 2.6 is the same as the 2.6  
you downloaded two weeks ago" really, seriously, does not cut it.


   
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-19 Thread Richard Gaskin

Jeanne A. E. DeVoto wrote:

At 7:38 PM +0200 8/18/2005, Klaus Major wrote:


I think this was quickly fixed by build 108.
Download a recent version.



until Rev has changed the way we have to load every new distribution
(the COMPLETE package :-/), it would be nice to have a place where
we can download the engines only!



While we're wishing, it would be nice if the fershlugginah VERSION 
NUMBER were changed when the software changed. From a software 
engineering point of view, this "download whatever is on the web site, 
install it, run it, and check the buildNumber function in the message 
box to figure out whether this 2.6 is the same as the 2.6 you downloaded 
two weeks ago" really, seriously, does not cut it.


   


While it's unusual and sometimes confusing to rely on the buildNumber in 
addition to the version number, as long as it's the way it is I could 
live with it if the page on which these engines were downloaded from 
noted the buildNumber in addition to the version number and creation date.


That is, once such a page exists. ;)

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-19 Thread David Burgun

At 7:38 PM +0200 8/18/2005, Klaus Major wrote:

I think this was quickly fixed by build 108.
Download a recent version.


until Rev has changed the way we have to load every new distribution
(the COMPLETE package :-/), it would be nice to have a place where
we can download the engines only!


While we're wishing, it would be nice if the fershlugginah VERSION 
NUMBER were changed when the software changed. From a software 
engineering point of view, this "download whatever is on the web 
site, install it, run it, and check the buildNumber function in the 
message box to figure out whether this 2.6 is the same as the 2.6 
you downloaded two weeks ago" really, seriously, does not cut it.


   


Totally and utterly agree! How much effort would it be to just change 
the minor version number or at least publish the build number?


All the Best
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "Ask" does not put empty into "it" when "Cancel" is clicked.

2005-08-19 Thread Jon
I have to agree.  Slipstreaming is a pain in the neck for everyone, and 
I don't really understand why Rev thinks it is a good idea, either.


Jon


Jeanne A. E. DeVoto wrote:


At 7:38 PM +0200 8/18/2005, Klaus Major wrote:


I think this was quickly fixed by build 108.
Download a recent version.



until Rev has changed the way we have to load every new distribution
(the COMPLETE package :-/), it would be nice to have a place where
we can download the engines only!



While we're wishing, it would be nice if the fershlugginah VERSION 
NUMBER were changed when the software changed. From a software 
engineering point of view, this "download whatever is on the web site, 
install it, run it, and check the buildNumber function in the message 
box to figure out whether this 2.6 is the same as the 2.6 you 
downloaded two weeks ago" really, seriously, does not cut it.


   


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution