Power set: Difference between revisions
m
BBC BASIC moved to the BASIC section.
SqrtNegInf (talk | contribs) m (→header|Perl: future-proof for 5.36, explicit :prototype) |
m (BBC BASIC moved to the BASIC section.) |
||
Line 599:
</pre>
=={{header|
==={{header|BBC BASIC}}===
The elements of a set are represented as the bits in an integer (hence the maximum size of set is 32).
<syntaxhighlight lang="bbcbasic"> DIM list$(3) : list$() = "1", "2", "3", "4"
|