Nonaka
Sent: Sunday, October 26, 2003 6:12 AM
To: [EMAIL PROTECTED]
Subject: Re: Accessing global variables with sent parameters
I am a little late to come to this thread. But try the below.
roymeo wrote:
> on testing this, that --movieScript
-- do "global gFoo" &
I am a little late to come to this thread. But try the below.
(B
(Broymeo wrote:
(B> on testing this, that --movieScript
(B -- do "global gFoo" & this & "Bar"
(B -- do "gFoo" & this & "Bar = " & that
(B do "global gFoo" & this & "Bar"\
(B & RETURN & "gFoo" & this & "Bar = "
PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of roymeo
Sent: Wednesday, October 22, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: RE: Accessing global variables with sent parameters
You'll have to try this to see if it really works, but if y
You'll have to try this to see if it really works, but if you're going to
construct global variables like that, you'll need to use the "do" command.
do "global gStart" & counter & "EndPart"
ah heck, I'll try it out for you
on testing this, that --movieScript
do "global gFoo" & this & "Ba
ia Solutions
http://www.evolutiondata.com
icq: 4436851
MSN: [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Agustín María
Rodríguez
Sent: Monday, October 20, 2003 6:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Accessing global variables with sent
You could do strings if it's of this nature:
TheString = variable && "_hello_" && int
TheList[theString] = whateverdata
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems,
Peter Witham wrote:
I think what I need is to somehow say "takethisstring" and use it as the
name of an exisiting global variable and then let me have access to that
variables list not a string.
You can do that with symbols. I did a quick test with strings but
didn´t worked. Try this:
on setG
put the globals.count
-- 1
setAProp the globals, #x, "hi"
put the globals.count
-- 2
put x
-- "hi"
What I think Agustín is (circuitously) suggesting is:
on LoadDataSet stdnum
tData = (the globals)[symbol("gStandard" & stdnum & "DataRef")]
-- utilize tData as you see fit (it *should* hold th
olutiondata.com
icq: 4436851
MSN: [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles Loflin
Sent: Monday, October 20, 2003 4:41 PM
To: [EMAIL PROTECTED]
Subject: RE: Accessing global variables with sent parameters
Peter,
Could you
")
Hope that helps,
Charles
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Witham
Sent: Monday, October 20, 2003 3:35 PM
To: [EMAIL PROTECTED]
Subject: RE: Accessing global variables with sent parameters
Hi Kerry,
Thanks for the tip, I'll give it
> I'm wondering if the dot syntax is going to cause me a
> problem with my idea. I know this code works as is, the
> global variable gStandard1DataRef is a list of around 60
> variables and it works it's way thru the list loading the data.
>
> LoadListData is another handler just for ref.
>
>
Hi,
The best way I have found of doing that is to make your global a list:
so
Global gstandardDatalist
gstandardDatalist=[data1,data2,data3]
on LoadDataSet stdnum
Currentdata= gstandardDatalist[1]
End
Cath Sample
Phosphor Essence Limited
http://www.phosphor.co.nz
At 02:36 p.m. 20/10/2003 -0500,
put the globals.count
-- 1
setAProp the globals, #x, "hi"
put the globals.count
-- 2
put x
-- "hi"
--
Agustín María Rodríguez | [EMAIL PROTECTED] | www.OnWine.com.ar
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the
Of Kerry Thompson
Sent: Monday, October 20, 2003 2:45 PM
To: [EMAIL PROTECTED]
Subject: RE: Accessing global variables with sent parameters
>I have an embarrassing question that I should know the
> answer too but my memory is wy faulty today. Below is a
> code snippet, what I
>I have an embarrassing question that I should know the
> answer too but my memory is wy faulty today. Below is a
> code snippet, what I'm trying to do is access a global
> variable to use it's value for something in a function but
> part of the variable name is being sent as a paramete
15 matches
Mail list logo