if SERVER then
wire.createInputs({"Address","Num"},{"string","normal"})
wire.createOutputs({"Char","Debug"},{"string","table"})
Addr = wire.ports.Address
Unclamp = {}
for i=1,Addr:len() do
Unclamp[i] = string.sub(Addr,i,i)
end
wire.ports.Debug = Unclamp
end
Debug returns me only 7 parts of a table, and from testing, it appears like the loop doesn't put any characters into it after the seventh one.
Could it be that the Debug tool can't show more than 7 entries in a table?
(29-05-2015, 09:26 PM)Person8880 Wrote: Did you try actually printing out the values of the table (using print())? I'd imagine it's just the wire debugger.
I wanted to do that, but just after thinking about that I had to leave my computer. I'll try it tomorrow.