I am starting to program in C script block and I have questions:
When defining a variable in ‘code declarations,’ why are there two syntax types? For example, this: ‘define PREV_INPUT DiscState(0)’ and the other syntax ‘define DELAY ParamRealData(0, 0)’. My question is: How do we interpret or understand the arguments in ‘DiscState(0)’ and ‘ParamRealData(0, 0)’? I understand that the following syntax ‘DiscState(i)’ and ‘ParamRealData(i, j)’ refers to the ith and jth values, respectively. Another question is: In what cases is it better to use the first notation or the second notation?
Thank you.