We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
O correto é não permitir criar variáveis com nomes de comandos da linguagem. Deve ser informado ao usuário q
ue é uma palavra reservada da linguagem.
The text was updated successfully, but these errors were encountered:
Solved. Waiting for review. @amamory
Sorry, something went wrong.
The following sequence of commands shows that it is not working. The variable xuxu and xuxa were not created.
$ GoDonnie -t playerc warning : warning : [Player v.3.0.2] connected on [localhost:6665] with sock 3 GoDonnie$ criar xuxu = 2 GoDonnie$ criar xuxu = 2 Tree : criar (= xuxu 2) Error in line 1 , in column 6. Verify command xuxu GoDonnie$ GoDonnie$ som desligado GoDonnie$ som desligado Tree : som desligado GoDonnie$ falar xuxu GoDonnie$ falar xuxu Tree : (falar xuxu) Variable "xuxu" doesn't exist. Variable "xuxu" doesn't exist. SPEAK: 0 0 GoDonnie$ criar xuxu GoDonnie$ criar xuxa GoDonnie$ xuxa = 2 GoDonnie$ falar xuxa GoDonnie$ criar xuxu criar xuxa xuxa = 2 falar xuxa Tree : criar Tree Error Node Tree Error Node criar Tree Error Node Tree Error Node (= xuxa 2) (falar xuxa) Error in line 1 , in column 6. Verify command xuxu Error in line 2 , in column 7. Verify command xuxa Error in line 1 , in column 6. Verify command xuxu Error in line 2 , in column 7. Verify command xuxa GoDonnie$ criar xuxa GoDonnie$ criar xuxa Tree : criar Tree Error Node Tree Error Node Error in line 1 , in column 6. Verify command xuxa Error in line 1 , in column 6. Verify command xuxa GoDonnie$ falar xuxa GoDonnie$ falar xuxa Tree : (falar xuxa) Variable "xuxa" doesn't exist. Variable "xuxa" doesn't exist. SPEAK: 0 0
$ GoDonnie -t playerc warning : warning : [Player v.3.0.2] connected on [localhost:6665] with sock 3
GoDonnie$ criar xuxu = 2 GoDonnie$ criar xuxu = 2 Tree : criar (= xuxu 2) Error in line 1 , in column 6. Verify command xuxu
GoDonnie$ GoDonnie$ som desligado GoDonnie$ som desligado Tree : som desligado GoDonnie$ falar xuxu GoDonnie$ falar xuxu Tree : (falar xuxu) Variable "xuxu" doesn't exist. Variable "xuxu" doesn't exist. SPEAK: 0 0 GoDonnie$ criar xuxu GoDonnie$ criar xuxa GoDonnie$ xuxa = 2 GoDonnie$ falar xuxa GoDonnie$ criar xuxu criar xuxa xuxa = 2 falar xuxa Tree : criar Tree Error Node Tree Error Node criar Tree Error Node Tree Error Node (= xuxa 2) (falar xuxa) Error in line 1 , in column 6. Verify command xuxu Error in line 2 , in column 7. Verify command xuxa
Error in line 1 , in column 6. Verify command xuxu Error in line 2 , in column 7. Verify command xuxa
GoDonnie$ criar xuxa GoDonnie$ criar xuxa Tree : criar Tree Error Node Tree Error Node Error in line 1 , in column 6. Verify command xuxa
Error in line 1 , in column 6. Verify command xuxa
GoDonnie$ falar xuxa GoDonnie$ falar xuxa Tree : (falar xuxa) Variable "xuxa" doesn't exist. Variable "xuxa" doesn't exist. SPEAK: 0 0
Fixed!!!
`donnie@donnie-VirtualBox:~/donnie/donnie-assistive-robot-sw/build$ GoDonnie -t playerc warning : warning : [Player v.3.0.2] connected on [localhost:6665] with sock 3 GoDonnie$ criar xuxu GoDonnie$ criar xuxa GoDonnie$ som desligado GoDonnie$ xuxu = 3 GoDonnie$ xuxa = 3 GoDonnie$ falar xuxu GoDonnie$ xuxa = 56 GoDonnie$ falar xuxa GoDonnie$ criar y = xuxu + xuxa GoDonnie$ criar xuxu criar xuxa som desligado xuxu = 3 xuxa = 3 falar xuxu xuxa = 56 falar xuxa criar y = xuxu + xuxa 3 56 GoDonnie$ falar y GoDonnie$ falar y 59 GoDonnie$ criar som = 3 GoDonnie$ criar som = 3 Error in line 1 , column 9. Invalid word Error in line 1 , in column 12. Verify command 3 Error in line 1 , in column 12. Verify command 3 GoDonnie$ criar cinto GoDonnie$ criar cinto Error in line 1 , in column 6. Verify command cinto Error in line 1 , in column 6. Verify command cinto GoDonnie$ criar cor = "Vermelho" GoDonnie$ criar cor = "Vermelho" Error in line 1 , column 9. Invalid word Error in line 1 , in column 12. Verify command "Vermelho" Error in line 1 , in column 12. Verify command "Vermelho" `
DarlanJurak
amamory
marciabcampos
edutra
No branches or pull requests
O correto é não permitir criar variáveis com nomes de comandos da linguagem. Deve ser informado ao usuário q
ue é uma palavra reservada da linguagem.
The text was updated successfully, but these errors were encountered: