Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace JacoScript
- {
- class Program
- {
- public static void Main(string[] args)
- {
- int x;
- string output;
- string[] lines = System.IO.File.ReadAllLines(@"/home/int0x10/test");
- foreach (string line in lines)
- {
- if (line.StartsWith("print"))
- {
- while (x < line.Length)
- {
- output = output + line[x];
- x++;
- }
- Console.Write(output);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement