fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. ' your code goes here
  6.  
  7.  
  8. Dim x As cPermutations
  9. Set x = New cPermutations
  10.  
  11. x.Text = "01010101"
  12.  
  13. Do While x.PermutationsLeft
  14. Console.WriteLine Join(x.NextNPermutations(8), ", ")
  15. Loop
  16.  
  17.  
  18.  
  19. End Sub
  20. End Class
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Visual Basic.Net Compiler version 0.0.0.5943 (Mono 3.8 - tarball)
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.

/home/LhxgsX/prog.vb (9,8) : error VBNC90019: Expected 'End'.
/home/LhxgsX/prog.vb (11,4) : error VBNC90019: Expected 'End'.
/home/LhxgsX/prog.vb (13,5) : error VBNC30203: Identifier expected.
/home/LhxgsX/prog.vb (14,12) : error VBNC30203: Identifier expected.
/home/LhxgsX/prog.vb (15,7) : error VBNC30203: Identifier expected.
/home/LhxgsX/prog.vb (19,9) : error VBNC30203: Identifier expected.
/home/LhxgsX/prog.vb (20,10) : error VBNC30203: Identifier expected.
There were 7 errors and 0 warnings.
Compilation took 00:00:00.6519100
stdout
Standard output is empty