cont trad cap 27
This commit is contained in:
parent
f75bc36df0
commit
d88e1b772b
@ -143,7 +143,7 @@ Otra razón para utilizar el método `l:count` al declarar una variable propia d
|
|||||||
```
|
```
|
||||||
function! Calorias()
|
function! Calorias()
|
||||||
let count = "count"
|
let count = "count"
|
||||||
return "Yo no " . count . " mis calorias"
|
return "I do not " . count . " my calories"
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
echo Calorias()
|
echo Calorias()
|
||||||
@ -155,11 +155,11 @@ La ejecución anterior muestra un error, porque `let count = "count"` de manera
|
|||||||
```
|
```
|
||||||
function! Calorias()
|
function! Calorias()
|
||||||
let l:count = "count"
|
let l:count = "count"
|
||||||
return "Yo no " . l:count . " mis calorías"
|
return "I do not " . l:count . " my calories"
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
echo Calories()
|
echo Calories()
|
||||||
" returns "Yo no count mis calorías"
|
" returns "I do not count my calories"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Calling A Function
|
## Calling A Function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user