Re: Lost global variables when running on Windows (Sarah Reichelt)

2009-06-23 Thread Francis Nugent Dixon

Hi from Brittany (yes - I am in the sunny part of France)

Sarah, Thanks for your late call. I really thought that
my question had gone unnoticed.

I can't see what has gone wrong. I set about 20 globals
in the openStack script, and refer to some of them in
a Display Photo script. All the globals are defined
correctly in both scripts. Some of the globals disappear,
and others don't. I have an absolutely standard folder
structure for all my stacks, making available Data folders,
Photo folders, MP3 music folders. I've never had trouble
moving from Mac to Windows.

Oh ! I pick up the system Drive ID (on the PC) with the
following command, so I can build all my file paths :

put line 1 of the volumes into GVPCDrive

It always worked before ..

But I've just run my stack on the Mac under Parallels, and
I got a system Drive A instead of C. This would ruin all of
my file assignments, which I build by concatenating my
globals ! Must wait till I get back to Paris to look further
on my REAL PC.

Thanks for your suggestions.

-Francis

Nothing should ever be done for the first time !







___
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: Lost global variables when running on Windows

2009-06-20 Thread Sarah Reichelt
 My SplashStack on my Mac calls my .rev file, and
 all the functions run perfectly, such as displaying
 photos from an external folder, whose name I hold
 in a global variable.

 I use my global variables to hold such things as :
 stackname, platform (so I know the PC system drive),
 intermediate folder names, and I build all my file
 paths by concatenation of these globals.

 When I call the same .rev file from the Windows
 version of the SplashStack, I find I have a handful
 of global variables MISSING. They are defined and set
 in the OpenStack script of the.rev called stack, and
 later on - they disappear.

 Are there any know problems concerning global variables
 from use on the Mac to use on the PC ?

I have had no such problems and with globals being such an intrinsic
part of the language, I can't see how they could be lost in any
cross-platform oddity.

The things that come to mind are:

are you positive that the globals are really being set in the first place?
is there an error in your openStack script that might stop these being set up?
if so, are the file paths translating correctly to Windows-type file paths?

Cheers,
Sarah
___
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


Lost global variables when running on Windows

2009-06-10 Thread Francis Nugent Dixon

Hi from Paris,

I'm running Rev 3.0 on my Mac, and I built a
standalone Splashstack, so I could run on Windows
and update my stacks in real time. I generate the
Mac version, and the PC version of the SplashStack
standalone at the same time.

My SplashStack on my Mac calls my .rev file, and
all the functions run perfectly, such as displaying
photos from an external folder, whose name I hold
in a global variable.

I use my global variables to hold such things as :
stackname, platform (so I know the PC system drive),
intermediate folder names, and I build all my file
paths by concatenation of these globals.

When I call the same .rev file from the Windows
version of the SplashStack, I find I have a handful
of global variables MISSING. They are defined and set
in the OpenStack script of the.rev called stack, and
later on - they disappear.

Are there any know problems concerning global variables
from use on the Mac to use on the PC ?

Any feedback gratefully accepted.

-Francis

Nothing should ever be done for the first time !

___
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