Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. using System;
  2.  
  3. namespace JacoScript
  4. {
  5.  
  6. class Program
  7. {
  8.  
  9. public static void Main(string[] args)
  10. {
  11. int x;
  12. string output;
  13. string[] lines = System.IO.File.ReadAllLines(@"/home/int0x10/test");
  14. foreach (string line in lines)
  15. {
  16. if (line.StartsWith("print"))
  17. {
  18. while (x < line.Length)
  19. {
  20. output = output + line[x];
  21. x++;
  22. }
  23. Console.Write(output);
  24. }
  25. }
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement