Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2003
    Posts
    83

    how to concatenate a variable

    is this possible?

    say i have this variable, which is of course a reference to a table:
    featurestable[count]

    lets say this returns the table value "hello"

    i want to access a variable
    blah_hello

    is this possible?

    i cant do:
    blah_..featurestable[count] or "blah_"..featurestable[count]
    it treats it as a string,

    please let me know!

    Shawn

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hi. I'm not sure I understand this one without an example but to concatenate a string to a variable you would go:

    "string"..variable

    String to string is:

    "string".."string"

    and variable to variable is:

    variable..variable

    A table reference is the same as a variable, i.e.:

    table[name]..table[name]

    or

    "string"..table[name]

    Etc. Hope that helps...

Similar Threads

  1. Variable in a variable name??
    By GurkGager in forum Setup Factory 6.0
    Replies: 1
    Last Post: 05-18-2004, 02:31 PM
  2. Can't copy files with variable??
    By SonG0han in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 03-06-2004, 03:58 AM
  3. Check if a variable exists ?
    By jmoisan in forum AutoPlay Media Studio 4.0
    Replies: 4
    Last Post: 09-16-2002, 09:07 AM
  4. Registry Variable Failure
    By ggallo in forum Setup Factory 5.0
    Replies: 3
    Last Post: 08-30-2001, 01:51 PM
  5. Validation of custom variable references?
    By John Schacher in forum Setup Factory 5.0
    Replies: 1
    Last Post: 07-18-2000, 01:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts