Logo

Programming-Idioms

History of Idiom 109 > diff from v5 to v6

Edit summary for version 6 by :
New Pascal implementation by user [Bart]

Version 5

2016-01-09, 17:56:26

Version 6

2016-01-15, 16:08:00

Idiom #109 Number of bytes of a type

Set n to the number of bytes of a variable of type T.
This makes different sense (if any), depending on the language.

Idiom #109 Number of bytes of a type

Set n to the number of bytes of a variable of type T.
This makes different sense (if any), depending on the language.

Code
n := SizeOf(T);