This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
latemail's profile picture

CC-Computers doesn´t accept <Space>

Started by latemail, 25 March 2014 - 06:18 PM
latemail #1
Posted 25 March 2014 - 07:18 PM
Hi CC-Freaks,

normaly I use Notepad++ for programing, but if I try to edit a
program via CC-Computers (normal or advanced) I cant type
in <Space> —- so just keep stuck with "editname" !!!!

Any suggestions/help/idea??

Thx in advance …….
CometWolf #2
Posted 25 March 2014 - 07:35 PM
Your space key dosen't work? Try entering
lua
<enter>
os.pullEvent"key"
<enter>
<space>
does it say anything?
latemail #3
Posted 25 March 2014 - 07:39 PM
Your space key dosen't work? Try entering
lua
<enter>
os.pullEvent"key"
<enter>
<space>
does it say anything?

NOPE - nothing, loops forever ;-)
CometWolf #4
Posted 25 March 2014 - 07:47 PM
Not really a loop… But yeah that's weird. Space works in minecraft right? And you don't have it bound to any other mods?
latemail #5
Posted 25 March 2014 - 08:02 PM
Not really a loop… But yeah that's weird. Space works in minecraft right? And you don't have it bound to any other mods?

Space works fine with everything else - signs, book and quill, ……
and i didn´t bound it by purpose, just using a clear installation (i think) - what do you mean with "bound", assign <Space> as a "function key"??

i´am from germany, may the keyboard settings influence CC??
Agoldfish #6
Posted 25 March 2014 - 08:19 PM
Not really a loop… But yeah that's weird. Space works in minecraft right? And you don't have it bound to any other mods?

Space works fine with everything else - signs, book and quill, ……
and i didn´t bound it by purpose, just using a clear installation (i think) - what do you mean with "bound", assign <Space> as a "function key"??

i´am from germany, may the keyboard settings influence CC??
He means use space as a key for something else. For example; making a coordinate in REI Minimap.
latemail #7
Posted 25 March 2014 - 08:29 PM
so I get it right - NO - just the normal setup for the keys in MC B)/>
Dayrider10 #8
Posted 25 March 2014 - 08:36 PM
Going off of what CometWolf said try this:

lua
<enter>
os.pullEvent()
<enter>
<space>
Just like what CometWolf said just a little different. Try that this time and see what you get.

Edit: It is not different at all ,but you had to make a spelling error to get a "loop"
Edited on 25 March 2014 - 07:38 PM
latemail #9
Posted 25 March 2014 - 09:00 PM
Going off of what CometWolf said try this:

lua
<enter>
os.pullEvent()
<enter>
<space>
Just like what CometWolf said just a little different. Try that this time and see what you get.

Edit: It is not different at all ,but you had to make a spelling error to get a "loop"

Sorry - "loop" was just an incorrect description ;-)

and same result - nothing til I hit any other key