Well, I’m not interested in programming seriously. I just do it as a
hobby.
But thanks again. Also, one quick (hopefully last) quick question:
I attempted the first part of the code that you gave me, the CHARACTERS
array.
CHARBLOCK = {
?a = [
“…@@@…”,
“.@@@@@@@…”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@@@@@@@.”,
“@@@@@@@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”
],
?b = [
“…@@@@@@.”,
“.@@@@@@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@…”,
“@@@@@@@…”,
“@@@@@@@@…”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@@@@@@…”,
“@@@@@@…”
],
?c = [
“…@@@@@@.”,
“.@@@@@@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…”,
“@@@…”,
“@@@…”,
“@@@…”,
“@@@…”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@…@@@.”,
“@@@@@@@@…”,
“@@@@@@…”
],
#and so on and so forth
}
However, I’m getting errors such as:
rb:2 odd number list for Hash ?a = [
rb:2 syntax error, unexpected “=”, expecting “’)”
rb:20 syntax error, unexpected “,”, expecting $end
I’m not sure what I’ve done wrong here. If you could help me out one
last
time, then I’d be very grateful. Thanks in advance.