Skip to content

Instantly share code, notes, and snippets.

@andrelramos
Last active February 26, 2016 23:33
Show Gist options
  • Select an option

  • Save andrelramos/ea6fb8c05d485f9ecff2 to your computer and use it in GitHub Desktop.

Select an option

Save andrelramos/ea6fb8c05d485f9ecff2 to your computer and use it in GitHub Desktop.
Exemplo de uso do comando gotoxy
Program exemplo ;
var
nome : string[30];
telefone : string[15];
begin
writeln('***************************');
writeln('* AGENDA *');
writeln('*-------------------------*');
writeln('* *');
writeln('* NOME: *');
writeln('* *');
writeln('* TELEFONE: *');
writeln('***************************');
readkey;
gotoxy(12, 5);
readln(nome);
gotoxy(14, 7);
readln(telefone);
End.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment