summary refs log tree commit diff stats
path: root/tests/tcopy.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcopy.nim')
-rwxr-xr-xtests/tcopy.nim19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/tcopy.nim b/tests/tcopy.nim
deleted file mode 100755
index 81d72c7f2..000000000
--- a/tests/tcopy.nim
+++ /dev/null
@@ -1,19 +0,0 @@
-# tests the copy proc

-

-import

-  strutils

-

-proc main() =

-  const

-    example = r"TEMP=C:\Programs\xyz\bin"

-  var

-    a, b: string

-    p: int

-  p = findSubStr("=", example)

-  a = copy(example, 0, p-1)

-  b = copy(example, p+1)

-  writeln(stdout, a & '=' & b)

-  #writeln(stdout, b)

-

-main()

-#OUT TEMP=C:\Programs\xyz\bin