i assumed 1&2 have the same meaning, also 3&4.
but in flexsim v2019, 3&4 reported error, but 1&2 are perfectly ok. details showed in foto.
pls, anyone can help me understand the differences, if there are, thanks a lot.
1 int chess_type = gettablenum("ChessInfo" ,row,col);
2 int chess_type = Table("ChessInfo")[row][col]
3 string chess_name =gettablenum("Chess_type " ,chess_type ,2);
4 string chess_name = Table("Chess_type ")[Chess_type ][2]