Can I use an attribute to specify a table row/column label?

fogartyfogarty Member, PRO Posts: 181
I know you can specify a table row and column names by putting them in quotation marks like this:

tableCellValue(game.Table1, "horizontal","vertical")

But can I use attributes for the names (imagine that A=horizontal and B=vertical)?

tableCellValue(game.Table1, "game.A","game.B")

It doesn't seem to be working, so I'm wondering whether I have an error somewhere or whether it's not possible.

Thanks!

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    You can use numerical attributes for the row and column numbers but I haven't had any luck with using text attributes (by the way, you wouldn't use quotes around a text attribute name... you would just select it from the pop-up menu) so I'm going to say the answer is no.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • fogartyfogarty Member, PRO Posts: 181
    Thanks, @tatiang!
Sign In or Register to comment.