no, that is not correct. Would be nice to see the whole script, not only parts.
the meaning of this depends on the location of it. It can be a simple assignment (set the variable SS to 6), or a mistyped check (if SS was equal to 6) - but that should be written with two =. In that case
may mean (similar to patterns) to execute the block { whatever } only if condition was met (so SS is equal to 6).
while is a keyword, and it is not a user defined function.
getline is a built-in function.
is a line of code, means print the actual line ($0 is not a script, but the current line - which is actually processed by this awk script).
You ought to read some documentation about this, it is very well explained.
https://www.linuxquestions.org/quest...9/#post5791504