Variable size/Set: Difference between revisions
Content added Content deleted
m (→{{header|J}}) |
No edit summary |
||
Line 4: | Line 4: | ||
<lang ada>type Response is (Yes, No); -- Definition of an enumeration type with two values |
<lang ada>type Response is (Yes, No); -- Definition of an enumeration type with two values |
||
for Response'Size use 1; -- Setting the size of Response to 1 bit, rather than the default single byte size</lang> |
for Response'Size use 1; -- Setting the size of Response to 1 bit, rather than the default single byte size</lang> |
||
=={{header|AutoHotkey}}== |
|||
The built-in function [http://www.autohotkey.com/docs/commands/VarSetCapacity.htm VarSetCapacity()] may be used to enlarge a variable's holding capacity or free its memory. |
|||
=={{header|C}}== |
=={{header|C}}== |