Re: Dinamyc variables.

2018-03-19 Thread Phil Davis via use-livecode
On 3/19/18 9:29 AM, Mike Bonner via use-livecode wrote: Use an array instead... put empty into tCardArrayA[the short name of this card] Newly created cards where you don't specify the card name on creation, will have a card name set to the id of the card. (like "card id 1002") And the array

Re: Dinamyc variables.

2018-03-19 Thread Mike Bonner via use-livecode
Use an array instead... put empty into tCardArrayA[the short name of this card] Newly created cards where you don't specify the card name on creation, will have a card name set to the id of the card. (like "card id 1002") On Mon, Mar 19, 2018 at 9:43 AM, Bob Sneidar via use-livecode <

Re: Dinamyc variables.

2018-03-19 Thread Bob Sneidar via use-livecode
This is what Macro Substitution was created for, but LC doesn't have that function. Say you have an accounting app where you can load different companies. The names of the tables and support files on disk are serialized with a 2 digit number representing the company number. In Foxpro when you

Re: Dinamyc variables.

2018-03-19 Thread Klaus major-k via use-livecode
Hola Heriberto, > Am 19.03.2018 um 03:08 schrieb Heriberto Torrado via use-livecode > : > > Dear Livecode programmers, > > I am trying to create a new variable with the name of a dynamically generated > card. > Please note that I would like to create a new

Re: Dinamyc variables.

2018-03-18 Thread Monte Goulding via use-livecode
> On 19 Mar 2018, at 1:08 pm, Heriberto Torrado via use-livecode > wrote: > I am trying to create a new variable with the name of a dynamically generated > card. > Please note that I would like to create a new variable, not to put the name > of the card inside

Re: Dinamyc variables.

2018-03-18 Thread prothero--- via use-livecode
Can you use value(cdname) ? Haven’t tried it, tho. Bill William Prothero http://es.earthednet.org > On Mar 18, 2018, at 7:08 PM, Heriberto Torrado via use-livecode > wrote: > > > Dear Livecode programmers, > > I am trying to create a new variable with the name

Dinamyc variables.

2018-03-18 Thread Heriberto Torrado via use-livecode
Dear Livecode programmers, I am trying to create a new variable with the name of a dynamically generated card. Please note that I would like to create a new variable, not to put the name of the card inside the variable. I would like to have something like this (PseudoCode) "Get the name of