Normal Topic referencing LEs (Read 532 times)
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
referencing LEs
Mar 18th, 2004 at 8:48pm
Print Post Print Post  
I would like to have a function validate data from LEs.  In this function I pass in the name of the LE to a variable called LEName.  How do I have a Goto statement go to the LE and not an element named "LEName"?

Hopefully that makes sense. TIA.
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: referencing LEs
Reply #1 - Mar 18th, 2004 at 9:01pm
Print Post Print Post  
It is not currently possible to generate an element reference from a string in this way. See the second part of this thread.
http://www.lantica.com/Forum2/cgi-bin/yabb/YaBB.pl?board=gen_disc;action=display...

You would need to use If..Else to create the conditional GoTo:

If this_happens
{
    GoTo(LE1)
}
Else If that_happens
{
    GoTo(LE2)
}
Else
{
    GoTo(LE3)
}
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
Re: referencing LEs
Reply #2 - Mar 18th, 2004 at 9:22pm
Print Post Print Post  
thanx.
  
Back to top
IP Logged