[Seed7-users] parameter types
Interpreter and compiler for the Seed7 programming language.
Brought to you by:
thomas_mertes
From: <joh...@so...> - 2012-11-13 12:41:56
|
hi, i have a very basic question about parameter types. i don't understand them completely from your description in the FAQ. "val", "ref" and "in" are obvious. what about the difference between "in var" and "inout"? i made an assumption here, and that is that "in var" is similar to "var v: t" in pascal, while "inout" is similar to "var v: ^t" in pascal. am i right? or are the semantics different? if so, could you explain them in details? thanks in advance! johnny |