13 lines
186 B
Crystal
13 lines
186 B
Crystal
require "../src/hexa.cr"
|
|
|
|
h = Hexa.new 2_000
|
|
|
|
text = "hello this is some text I want to show"
|
|
puts h.dump text
|
|
|
|
puts ""
|
|
puts "with a title:"
|
|
|
|
title = "some text"
|
|
puts h.dump title, text
|