How to get a value from a table?

scrapee_netscrapee_net Member Posts: 424
edited January 2012 in Working with GS (Mac)
I'm trying to retrieve data from a table, but no success.

For test I created a table called "data".

In row 1, column 0 I have "level" its value in columns 1 is "0"

In the displaytext behavior I have tableCellValue(data,1,1). But I'm getting only "Invalid Expression". What is the right form?

Comments

  • Rob2Rob2 Member Posts: 2,402
    You can't type in the name of the table it has to be selected in the expression editor.
  • MotherHooseMotherHoose Member Posts: 2,456
    following the steps,info you list: it works fine for me!

    are you typing in 'data' ???

    you have to do a select for the tableName in the Game >
    so the Expression reads: tableCellValue(game.data,1,1)
    … you do type in the Row,Column numbers

    @};- MH
  • calvin9403calvin9403 Member Posts: 3,186
    choose it from the game and the select your table
  • MotherHooseMotherHoose Member Posts: 2,456
    aha @Rob2 … I am echoing you! :x

    @};- MH
Sign In or Register to comment.