S
simonced
Hello.
I have a complie error on this simple code :
#si c'est un caractere ?
if char=~/\w|\s/i then
@buffer+=char
@position+=1
else if id==14 then
#backSpace
@buffer=@buffer[[email protected]]
@position-=1
else
puts "caractere non reconnu : #{id}"
end
I really don't get why.
Any Idea ?
Thanks by advance.
I have a complie error on this simple code :
#si c'est un caractere ?
if char=~/\w|\s/i then
@buffer+=char
@position+=1
else if id==14 then
#backSpace
@buffer=@buffer[[email protected]]
@position-=1
else
puts "caractere non reconnu : #{id}"
end
I really don't get why.
Any Idea ?
Thanks by advance.