summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-11-15 00:25:03 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-11-17 21:36:29 +0100
commit0ad78cdf0adc20fa67b3c6daa916d2b038934d35 (patch)
tree91be8df650e3b272b33b80a815bbe2fad40cf583
parent20667f30666d8fa9f112dd62837064df952585e2 (diff)
downloadtfyy51-0ad78cdf0adc20fa67b3c6daa916d2b038934d35.tar.gz
add debug-print-function
-rw-r--r--Kod/bilbana/yc4/debug.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kod/bilbana/yc4/debug.m b/Kod/bilbana/yc4/debug.m
new file mode 100644
index 0000000..12acbf4
--- /dev/null
+++ b/Kod/bilbana/yc4/debug.m
@@ -0,0 +1,3 @@
+function [] = debug(tag, strings)
+disp(strjoin({'DEBUG (', tag, '): ', strings}, ''))
+end