Index finite lists of positive integers: Difference between revisions
Index finite lists of positive integers (view source)
Revision as of 06:20, 25 November 2020
, 3 years ago→{{header|FreeBASIC}}: -typo
(Added Wren) |
m (→{{header|FreeBASIC}}: -typo) |
||
Line 95:
dim as ulongint num, Q(0 to 1)
temp = one_to_two( R )
num = temp.B 'first get the length of the
redim N(0 to num-1) as ulongint
if num = 1 then '(singleton handled as a special case)
|