Menu

using a string variable as a table name

2018-05-29
2018-05-29
  • David Stephenson

    Below is an attempt to use a string variable as the name of a lookup table - it doesn't work.
    Is there any way to do this?
    ~~~~~
    dim tablestring as string*5
    tablestring="menu1"
    readtable tablestring,kk,xx

     
    • Anobium

      Anobium - 2018-05-29

      A string is a string.
      Readtable applies to Tables.

      xx=tablestring(kk) will work

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.