<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5605944526177805456</id><updated>2024-09-14T00:52:39.978-07:00</updated><category term="algoritmo"/><title type='text'>Algoritmo Fácil</title><subtitle type='html'>Esse blog é para auxiliar alunos de Ciência da Computação, Rede de Computadores, Sistema de Informação na disciplina de Algoritmo.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-2002220484247467775</id><published>2011-10-26T06:04:00.001-07:00</published><updated>2011-10-26T06:04:01.641-07:00</updated><title type='text'>Escrevendo um trabalho cientifico</title><content type='html'>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Escrevendo um trabalho cientifico
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;A escrita do projeto de pesquisa é a parte mais gostosa da pesquisa. O autor põe no papel os seus sonhos, ou seja, aquilo que ele gostaria de fazer.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;O que você quer fazer? 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;O que você gostaria de investigar?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Você precisa responder as seguintes perguntas:
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;O que vou fazer?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Porque vou fazer?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;A importância da pesquisa que irei desenvolver?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;A inovação associada (contribuição científica e tecnológica)?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Como eu vou desenvolver?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Quando eu vou desenvolver?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Qual o resultado esperado?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Como vou avaliar os resultados?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;O que é necessário para o desenvolvimento da pesquisa (Quais e quanto de recurso é necessário)?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;A qualificação das pessoas envolvidas no projeto?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Um overview relacionado com o que eu pretendo desenvolver (estado da arte - o que já foi feito por outros pesquisadores).
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Dicas de como estruturar um artigo ou tese
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;(Obs: uma seção/capítulo podem conter 1+ partes)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Para organizar o conteúdo de cada capítulo:
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;a) Qual é a pergunta? Introdução
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;b) Como vc procura resposta para pergunta? Material e métodos 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;c) Quais foram seus achados? Resultados 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;d) O quensignifica seus achados ? Discursao 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;e) Revisão da literatura? Estado da arte
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;f) Conclusões ?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Você achou um problema (introdução), leu muito sobre ele (estado da arte), mostrou como se usa toda parafernália paar resolve-ló (materiais e métodos), mais e só em (resultados) que vc mostra o que conseguiu.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;INTRODUCAO 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Deve dar ao leitor a informação necessária para entender de que assunto trata a sua tese, sem precisar recorrer a outras fontes.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;a) De que assunto trata sua tese?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;b) Porque é importante tratar esse assunto ?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;c) Como você tratou o assunto?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;d) Qual é o seu objetivo ?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Faça uma breve introdução a área de estudos e argumente sobre a sua relevância
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Caracterize o problema específico sendo tratado (e sua relevância) na area de estudos
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Resuma a abordagem adotada para resolver o problema
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Se for uma tese, voce pode resumir as principais contribuições (científicas e tecnológicas) do trabalho
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Quando não existir um sumário (como em artigos), inclua um parágrafo sobre a estrutura do texto que se segue
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;.: Ninguém pode se interessar por um assunto - por mais interessante que seja - se não souber qual e o assunto. Então venda o peixe no inicio.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;.: premissas:
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;O assunto é pouco conhecido ? Melhora a qualidade de vida ? É desconhecido no brasil ? É Polemico ? Existe duvidas específicas ? 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;.: encare as leituras como invetimento na sua formação.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;.:anote o que pensa quando lê 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;.: seja mais descritivo que critico, porém mostre as contradições e de sua opinião.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;.: as razoes que levaram você a determinado método de ser apontadas quando você apresenta o método.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;.: se vc desenhou gráficos cite o que fez.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;.:
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Cenário Motivador
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Descreva um cenário realista que evidencie bem o problema sendo abordado e mostre a relevância da pesquisa
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;(Cuidado para não criar falsas expectativas:  não apresente um cenário que vai muito além do problema tratado pelo su trabalho)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;No final, resuma as principais hipóteses sobre o ambiente, os atores e o sistema computacional
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Fundamentação Teórica
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Defina os conceitos e apresente os métodos (possivelmente também tecnologias) que são fundamentais ao entendimento da solução sendo proposta
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Quando há várias definições ou métodos alternativos, explique quais irá adotar, e por que?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt; 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Trabalhos Relacionados (Estado da Arte)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Mencione outros trabalhos que tratam de problemas similares
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Apresente outros trabalhos que tratam do mesmo problema específico e discuta as suas limitações ou, como a solução deles difere da proposta em seu trabalho
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Se for possível, apresente os trabalhos relacionados em uma taxonomia (classificação)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Sugiro terminar a seção com um resumo das abordagens ou uma tabela comparativa (trabalhos X características/critérios de comparação).
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt; 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;A solução sendo proposta (naturalmente, com um título adequado)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Se achar oportuno, começe discutindo os principais requisitos que uma solução deve atender
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Apresente a solução sendo proposta de forma geral
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Discuta os pontos fortes da solução e também as limitações (restrições), e talvez compare-a rapidamente com as abordagens vistas na seção anterior
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Implementação (também aqui, com um título adequado)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Descreva como a solução foi (ou será) implementada
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Qual é o ambiente de desenvolvimento, e quais foram os motivos para a sua escolha?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Descreva a arquitetura do sistema, seus componentes e interfaces com certo detalhe, possivelmente também os protocolos ou algoritmos mais interessantes. Atenção: a escolha do nível de detalhe é uma questão de bom senso: sugiro somente apresentar o suficiente para garantir o bom entendimento - e apreciação - da complexidade do seu trabalho
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Discuta as decisões de projeto e o grau de completude com relação a solução proposta. Por exemplo, quais funcionalidades foram deixadas de lado no protótipo.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt; 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;DISCURSAO
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;a) Que significa seus dados e suas estatísticas.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;b) Ate que ponto seus resultados estão de acordo com resultados apresentados em trabalhos publicados?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;c) Que razão tem você para acreditar que seus resultados comprovam determinada teoria?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;d) Que razoes vc tem para acreditar que seus dados Contradizem idéias prevalecentes ou permitem refutar determinada teoria?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;e) Que nova hipótese ou teoria vc pode propor para explicar o que foi observado.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;f) Que solução mais simples ou que solução mais barata para o problema ?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;g) Qual a importância dessa solução ?
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Validação (ou Testes)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Lembre-se: faz parte do método científico sempre testar e avaliar a solução proposta, e se possível compara-la com outras soluções (o que no caso de trabalhos de implementação geralmente não é possível). Uma validação pode ser feita através de simulação, desenvolvimento de outros sistemas usando a sua ferramenta, testes de desempenho, testes de usabilidade, ou uma combinação destes.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;De qualquer forma, voce deveria apresentar e discutir a adequação do método utilizado para validar ou testar a sua solução, e dizer o que exatamente será avaliado
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Apresente as métricas (ou critérios) relevantes que foram/serão medidas
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Descreva a metodologia de avaliação e/ou os cenários dos testes executados. Exemplos: configuração de equipamentos/rede, ou parâmetros de simulação
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Apresente, (geralmente na forma de gráficos)  de forma clara e uniforme os resultados obtidos, e interprete cada um dos resultados, sobretudo resultados inesperados
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Argumente de como os resultados obtidos validam a sua solução
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt; 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Conclusão
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Resuma novamente o problema que foi tratado, a sua solução, e como voce mostrou que a solução é adequada (ou quais vantagens ela tem sobre os outros trabalhos relacionados)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Se for uma tese, enumere as principais contribuições do seu trabalho, e apresente a lista dos artigos publicados/submetidos relacionados à tese
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt; 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Futuros Trabalhos
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Discuta as principais extensões, os aprimoramentos necessários, ou os desdobramentos do seu trabalho, tentando ressaltar a relevância detes trabalhos futuros
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt; 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Lista de Referências
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Relacione somente os trabalhos citados em seu texto
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Cite somente trabalhos relacionados ao seu trabalho
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Cite sempre o artigo original do autor
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Garanta que a maioria das referências é mais recente (onde a definição de recente varia de area para area)
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;·         Garanta que todas as referências estão com os dados completes, e se possível uniformes. Em caso de páginas web, inclua a data do ultimo acesso.
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt; 
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;E finalmente…
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Revise várias vezes o seu texto, e coloque-se na posição do leitor entendido na area de pesquisa
&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color:#000000; font-size: 16px; font-family: &#39;Helvetica&#39;; &quot;&gt;Garanta que o seu texto apresenta uma forte coesão lógica e uniformidade
&lt;/span&gt;&lt;br&gt;
</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/2002220484247467775/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/10/escrevendo-um-trabalho-cientifico.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/2002220484247467775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/2002220484247467775'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/10/escrevendo-um-trabalho-cientifico.html' title='Escrevendo um trabalho cientifico'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-8235634605046633617</id><published>2011-10-06T07:24:00.000-07:00</published><updated>2011-10-06T07:24:27.690-07:00</updated><title type='text'>Sites e Programas que ajudam o aprendizado de Algoritmo</title><content type='html'>Segue abaixo alguns sites que podem auxiliar o aprendizado.&lt;br /&gt;
&lt;br /&gt;
O Site abaixo oferece um curso Online de Algoritmo com direito a certificado de&amp;nbsp;conclusão.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.softblue.com.br/site/curso/id/6/CURSO+LOGICA+DE+PROGRAMACAO+BASICO+ON+LINE+LO06&quot;&gt;http://www.softblue.com.br/site/curso/id/6/CURSO+LOGICA+DE+PROGRAMACAO+BASICO+ON+LINE+LO06&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Os Links&amp;nbsp;Abaixo&amp;nbsp;estão relacionados a programas que auxiliam o aprendizado,&amp;nbsp;através&amp;nbsp;de simuladores.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Webportugol &amp;nbsp;http://www.univali.br/webportugol&lt;br /&gt;
&lt;br /&gt;
Visualg http://www.apoioinformatica.inf.br/download.htm&lt;br /&gt;
&lt;br /&gt;
AMBAP - Ambiente de Aprendizado de Programação http://www.ufal.br/tci/ambap/&lt;br /&gt;
&lt;br /&gt;
ASA - Ambiente de Simulação e Animação de Algoritmos http://mybloop.com/go/rEJV0D</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/8235634605046633617/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/10/sites-e-programas-que-ajudam-o.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/8235634605046633617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/8235634605046633617'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/10/sites-e-programas-que-ajudam-o.html' title='Sites e Programas que ajudam o aprendizado de Algoritmo'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-1052704270467798377</id><published>2011-09-30T11:32:00.000-07:00</published><updated>2011-09-30T11:32:13.283-07:00</updated><title type='text'>5. SISTEMA DE CADASTRO DE CLIENTES USANDO PASCAL</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SISTEMA DE CADASTRO DE CLIENTES&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;USANDO PASCAL&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Criar um cadastro de Cliente em que este cadastro deve realizar a inclusão, alteração e deve conter também uma forma que eu possa visualizar um cliente já cadastrado, uma maneira de restaurar que foi excluído por acidente, e nesse cadastro não deve ter duplicação de cliente, isto é, se um cliente já foi cadastrado ele não deve ser novamente cadastrado. Usando arquivo binario.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Os arquivos a serem excluídos devem apenas conter um campo que indique se estes foram ou não excluídos, se estão ativos ou inativos.&lt;span&gt;&amp;nbsp; &lt;/span&gt;A marcação deve ser feita com o simbolo “ * “ .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;No caso de ter cliente marcado para a exclusão, este deve ser sobreposto por um cliente que necessita ser incluído, sendo no caso do arquivo, não conter nenhum campo marcado, o novo cliente deve ser cadastrado no final do arquivo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Resolução:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Como característica funcional não deve haver dois clientes com o mesmo código, ou nome. A determinação do código do cliente é realizado pelo programa que&lt;span&gt;&amp;nbsp; &lt;/span&gt;irá capturar o código do ultimo cliente cadastrado e soma um a este valor valor um, de forma que este contenha o valor do código anterior mais&lt;span&gt;&amp;nbsp; &lt;/span&gt;um, o processo de exclusão será feito atraves de uma marca que será colocada em um dos campos do registro, o campo terá o nome de marca, e quando for encontrado nele caracter `*´ é autorizado ao programa o seu&lt;span&gt;&amp;nbsp; &lt;/span&gt;preenchido com um novo cliente. O programa cliente é um programa baseado em procedures de forma que o programa mestre é pequeno e funcional. As operações basica do programa cliente é realizada pelos procedures e funções&lt;span&gt;&amp;nbsp; &lt;/span&gt;devidamente explicados de forma resumida logo abaixo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;FUNÇÃO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;testa_arquivo(escolha:integer):boolean;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza testes no arquivo&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;PROCEDURES&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;CamposCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza o processo de captura dos dados do clienet&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;MostraCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza a mostragem&lt;span&gt;&amp;nbsp; &lt;/span&gt;dos dado de um determinado registro &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;SimNao&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza a verificação da digitação da letra S ou N na escolha&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ExisteCliente&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza&lt;span&gt;&amp;nbsp; &lt;/span&gt;a verificação da existência de um cliente especifico&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IncluirCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza as operações necessárias para a inclusão de um novo registro&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;AlterarCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza as operações necessárias para a alteração de registro&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ExcluiCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza as operações necessárias para a exclusão de&lt;span&gt;&amp;nbsp; &lt;/span&gt;registro&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;RestauraCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza as operações necessárias para restauração de um registro marcado &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;FinalCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza a&lt;span&gt;&amp;nbsp; &lt;/span&gt;finalização do programa&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IniciaCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza a abertura dos arquivos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;MenuCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Realiza a escolha&lt;span&gt;&amp;nbsp; &lt;/span&gt;do&lt;span&gt;&amp;nbsp; &lt;/span&gt;item&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.1&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;O PROGRAMA&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa usa a expressão CRT para&lt;span&gt;&amp;nbsp; &lt;/span&gt;indicar que ele irá usar funçõe&lt;span&gt;&amp;nbsp; &lt;/span&gt;pré-determinadas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Program Joshua;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Uses&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Crt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O programa usa ArqCliente, como constante no programa . O&lt;span&gt;&amp;nbsp; &lt;/span&gt;valor constante é aquele que nunca é alterado na execução do programa , ao contrário das variáveis. Esta constante será&lt;span&gt;&amp;nbsp; &lt;/span&gt;usada para determinar o nome do arquivo externo que será usado como nossa base de dados principais o arquivo que será referenciado a um arquivo do tipo&lt;span&gt;&amp;nbsp; &lt;/span&gt;binário, este tipo de arquivo é muito importante pois usando esta idéia podemos usar em qualquer linguagem.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Const&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ArqCliente=&#39;Cliente.dat&#39;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O tipo cliente é declarado neste local, e logo abaixo existe um descrição dizendo que será usado um tipo cadeia de caracteres com o nome opção.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cliente= record&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CodCli:integer;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;NomeCli:String[10];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;EndCli:String[10];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CepCli:string[12];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;FoneCli:String[12];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CidCli:String[10];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;EstCli:string[2];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Civil:string[10];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;NoEspCli:string[10];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Marca:String[2];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Opcao = Set of Char;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Neste módulo chamamos assim será declarada as diversas variáveis usada no decorrer do programa. As características funcionais bem como o papel que ela desempenha no decorre do programa será especificado em cada procedure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;var&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CadCli: File of Cliente;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cli1:Cliente;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cli2:Cliente;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;FimCli:Boolean;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ExisteCli:Boolean;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Oque:Char;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Oque1:Char;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Deseja:Opcao;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Aux:String;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;T:Integer;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ind:byte;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Marcado:byte;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;sai:integer;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.2&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;FUNCTION testa_arquivo(escolha:integer):boolean;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo desta função é verificar a existencia do arquivo para posteriormente sabermos se é melhor abrir ou criar.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Esta função realiza operações de baixo nível, verificando a existência do arquivo, e verificando se este contem erros característico que podem prejudicar a utilização do mesmo&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;function testa_arquivo(escolha:integer):boolean;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (escolha=1) then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{$I-}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;assign(CadCli,ArqCliente);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;filemode := 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Reset(CadCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;close(CadCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{$I+}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;testa_arquivo := (IOResult = 0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;end;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.3&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE CamposCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;Para diminuir o tamanho do programa usamos procedures que serão referenciados toda vez que este for necessário&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;CamposCli deve ter como objetivo informar ao usuario o que está sendo solicitado, usando uma frase para isso. E logo depois capturar&lt;span&gt;&amp;nbsp; &lt;/span&gt;o dado pedido e posto no registro rascunha para ser usado conforme o programa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A partícula usada para mostragem é o &lt;b&gt;write,&lt;/b&gt; pois através dele enviamos para a tela uma mensagem. Como exemplo podemos escrever usando esta forma logo abaixo, que esta contida no procedure&lt;span&gt;&amp;nbsp; &lt;/span&gt;CamposCli.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Write(´Nome´) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A próxima partícula é o &lt;b&gt;read &lt;/b&gt;que será responsável pela leitura do teclado e o seu armazenamento temporário conforme especificado. Podendo ser escrito em nosso exemplo desta forma:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ReadLn(Cli.NomeCLI)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Que significa que será lido o que foi digitado e o conteúdo será armazenado temporariamente no Registro Cli, sendo armazenado na parte NomeCli que é considerado uma variável comum conforme explicações anteriores.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;procedure CamposCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Nome: &#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Cli1.NomeCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;End:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Cli1.EndCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Cep:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Cli1.CepCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Telefone:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Cli1.FoneCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Cidade:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Cli1.CidCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Estado:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Cli1.EstCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Estado Civil:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Cli1.Civil);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.4&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE MostraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;o objetivo de MostraCli é apresentar na tela o conteudo de um registro de um arquivo, conforme a vontado do usuario.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A forma encontrada para realizar esta tarefa foi colocar o conteudo de um registro que&lt;span&gt;&amp;nbsp; &lt;/span&gt;fora lido anteriormente em um registro rascunho que em nosso caso é o Cli1, declarado&lt;span&gt;&amp;nbsp; &lt;/span&gt;acima como do tipo cliente, Cli1:Cliente, o processo de mostragem é feito usando o write da sequinte forma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;WRITE(&#39;Nome: &#39;);&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Apresenta na tela Nome:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;WRITELn(Cli1.NomeCli);&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Apresenta na tela o conteudo de Cli1.NomeCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;procedure MostraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Nome: &#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITELn(Cli1.NomeCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;End:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITEln(Cli1.EndCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Cep:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITEln(Cli1.CepCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Telefone:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITEln(Cli1.FoneCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Cidade:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITEln(Cli1.CidCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Estado:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITEln(Cli1.EstCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITE(&#39;Estado Civil:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WRITEln(Cli1.Civil);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.5&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE SimNao;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo que se deseja alcançar com este procedure, é simplificar a&lt;span&gt;&amp;nbsp; &lt;/span&gt;escolha de algo, o tradicional&lt;span&gt;&amp;nbsp; &lt;/span&gt;Sim ou Não em uma pergunta.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A solução encontrada foi criar um procedure que iria testar uma variável a ser digitada pelo usuário, neste nosso a variável que vai dizer se foi pressionado &lt;b&gt;S&lt;/b&gt; ou &lt;b&gt;N &lt;/b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;será&lt;span&gt;&amp;nbsp; &lt;/span&gt;a variável &lt;b&gt;T &lt;/b&gt;de teste, o procedure é iniciado e a variável T é atribuida o valor 1, apos este fato entramos em uma condição de repetição onde só será permitida a saida desta se o caracter digitado for &lt;b&gt;S &lt;/b&gt;ou &lt;b&gt;N &lt;/b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;a captura bem como a condição de ser &lt;b&gt;S&lt;/b&gt; ou &lt;b&gt;N&lt;/b&gt; é especificado na linha&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Oque1:=Upcase(ReadKey)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Que se lê Oque1 é atribuido o valor capturado pela leitura do teclado&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Until Oque1 in [&#39;S&#39;,&#39;N&#39;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Enquanto o valor da variável Oque1 for diferente da cadeia de caracter S ou N repita o processo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IF Oque1=&#39;N&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Se o valor contido na variável Oque1 for igual a &lt;b&gt;N&lt;/b&gt; então atribua o valor de &lt;b&gt;T&lt;/b&gt; como sendo 2, senão , isto é no caso de ter sido pressionado &lt;b&gt;S&lt;/b&gt; o valor atribuido será 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Obs: A variável &lt;b&gt;T &lt;/b&gt;é uma variável Global portanto a alteração dela em qualquer parte do programa, altera o seu valor em todo programa. Por esse fator é que podemos usá-la para retornar um valor&lt;span&gt;&amp;nbsp; &lt;/span&gt;de forma global.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure SimNao;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;T:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Oque1:=Upcase(ReadKey)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Until Oque1 in [&#39;S&#39;,&#39;N&#39;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(Oque1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IF Oque1=&#39;N&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;T:=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;T:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.6&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE ExisteCliente;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo que se deseja alcançar com a utilização deste, é encontrar a existência&lt;span&gt;&amp;nbsp; &lt;/span&gt;de um cliente igual ao nome especificado por nós contido em uma variável.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Este procedure irá procurar por todo arquivo um registro que contenha o nome especificado, se encontrar dira que existe, senão informará que o cliente não existe no arquivo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Como solução a este problema devemos nos lembra da utilização de alguns comando do pascal essencial para o bom entendimento do processo como um todo. Os&lt;span&gt;&amp;nbsp; &lt;/span&gt;comandos são.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;seek(CadCLI,0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Este comando que é encontrado em nosso procedure diz que posicione no arquivo CadCli na primeira posição.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Eof(CadCLI)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Está função testa se a posição atual está no final do arquivo ou em ingles &lt;b&gt;E&lt;/b&gt;nd &lt;b&gt;O&lt;/b&gt;f &lt;b&gt;F&lt;/b&gt;ile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 5.35pt; mso-padding-alt: 0cm 5.35pt 0cm 5.35pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Nome do &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Arquivo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;CadCli&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Indice&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Registros&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Seek(CadCli,0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;1º posição&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Dados&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Dados&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Dados&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;EOF(CadCli)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Dados&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 92.15pt;&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;FileSize(CadCli)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 54.5pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 61.35pt;&quot; valign=&quot;top&quot; width=&quot;82&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Em   branco&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Este procedure usa estes comandos mostrados acima para executar a sua função de busca de um dado do registro igual da variável.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Analizando o código de programa deste procedure encontramos logo no inicio:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ExisteCli:=False&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A intenção desta variável ser falsa é pelo fato de se não for encontrado algo na procura ela irá manter esse valor, atribuído a ela, se no decorrer da busca for encontrado algo, esta variável ira ser re atribuida com o valor verdadeiro.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;seek(CadCLI,0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Esta linha simplesmente irá posicionar o ponteiro no primeiro registro do arquivo, que se encontra o indice 0 por assim dizer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Esta operação é realizada afim de iniciar abusca apartir do primeiro item.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;While not Eof(CadCLI)&lt;span&gt;&amp;nbsp; &lt;/span&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Esta linha é a principal responsável pela busca, &lt;b&gt;Enquanto&lt;/b&gt; não for final de arquivo do arquivo CadCli &lt;b&gt;faça&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Toda vez que se fizer uma leitura e esta leitura não representar o final de arquivo esta condição se manterá em um loop até que o último registro do arquivo seja encontrado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Read(CadCli,Cli2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Neste instante é feita a leitura do registro conforme a sua posição e o conteúdo que está ativo, isto é apontado é colocado em uma variável rascunho para posteriores verificação.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IF Cli1.NomeCLI = Cli2.NomeCli then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Nesta linha é realizada a verificação&lt;span&gt;&amp;nbsp; &lt;/span&gt;se o conteúdo da variável rascunho Cli1.nomeCli especificado antes da chamada deste procedure for igual a variável rascunho que contem os dados atuais&lt;span&gt;&amp;nbsp; &lt;/span&gt;do registro apontado Cli2.NomeCli.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Se em alguma comparação for encontrado valores iquais na comparação é atribuido a&lt;span&gt;&amp;nbsp; &lt;/span&gt;ExisteCli:=True , desta forma, indicando que existe o cliente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure ExisteCliente;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ExisteCli:=False;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While not Eof(CadCLI)&lt;span&gt;&amp;nbsp; &lt;/span&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Read(CadCli,Cli2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IF Cli1.NomeCLI = Cli2.NomeCli then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ExisteCli:=True;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;End;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.7&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE IncluirCli&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo a ser alcançado por este procedure é incluir um novo registro no arquivo, sendo que caso haja algum registro marcado para exclusão este novo registro deve ser colocado na posição do registro marcado.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A solução para este problema pode ser resumido nas partes marcados do programa que de forma simplificada e grosseira mostramos logo abaixo.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While not Eof(CadCLI) and (sai&amp;lt;&amp;gt;1) do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if Cli1.Marca= &#39;*&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if marcado &amp;gt;=1 then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Seek(CadCli,Marcado);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Seek(CadCli,FileSize(CadCli));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Until T&amp;lt;&amp;gt;1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Em primeiro lugar devemos entender oque desejamos fazer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Em primeiro devemos saber&lt;span&gt;&amp;nbsp; &lt;/span&gt;se existe registros marcados.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Depois, se existir devemos colocar o novo registro em sua posição, senão colocar no final do registro.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Analisando as partes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;While not Eof(CadCLI) and (sai&amp;lt;&amp;gt;1) do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if Cli1.Marca= &#39;*&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Podemos ler da sequinte forma, enquanto não for final de arquivo e a variável que sair for diferente de 1 faça.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Se No registro rascunha em uma devida posição encontrar &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Cli1.Marca= &#39; *&#39;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;, significa que existe registros marcados, no corpo do programa tera recursos que capturarão a posição do marcado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 35.4pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;if marcado &amp;gt;=1 then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Seek(CadCli,Marcado);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Seek(CadCli,FileSize(CadCli));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Se foi encontrado algum registro marcado um contador será acrescido de forma a indicar que existe arquivo marcado quando a variável marcado estiver contendo valores maiores ou igual a 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Se existir arquivo marcado a gravação do registro será posicionado na posição do marcado &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Seek(CadCli,Marcado).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Senão existir nenhum marcado a gravação do registro será feito na última posição de registro do arquivo é será posicionado para &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Seek(CadCli,FileSize(CadCli)),;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Em ambas as operações, após ser posicionado o registro rascunho será gravado no registro CadCli&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Write(CadCli,Cli1).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;.................&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;................&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Until T&amp;lt;&amp;gt;1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A condição de repetição testa se deseja alterar um novo cliente e enquanto T for diferente de 1 ele continua, a especificação de T&lt;span&gt;&amp;nbsp; &lt;/span&gt;é uma variável global que é alterada pelo procedure SimNão.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O procedure em si se baseia nesta estrutura sendo as implementações para o bom funcionamento mostrado logo abaixo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Após ser detectado se existe marcados ou não antes de incluir qualquer cliente, executa-se uma rotina para verificar se existe o cliente ou não. Caso exista o cliente, a operação de inclusão é abortada.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ind:=1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Indica que ind é um índice e inicializo ele como sendo 1, indicando ser o primeiro.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;seek(CadCLI,0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Faço com o programa, aponte para o primeiro registro do arquivo, desta forma, tornando valido o valor determinado em Ind:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Marcado:=0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Determino a variável marcado que o valor é zero, essa variável irá realizar atraves de comparação em um loop até final de arquivo em busca de registros marcados para exclusão.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;sai:=2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Atribui a variável Sai o valor 2, esta variável é um teste que será feito em cada passagem do enquanto, sendo que para forçar uma saída do programa, eu coloco o valor&lt;span&gt;&amp;nbsp; &lt;/span&gt;1 em sai, pois o programa so fica&lt;span&gt;&amp;nbsp; &lt;/span&gt;em loop Enquanto Sai&amp;lt;&amp;gt;1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure IncluirCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;writeln;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Writeln (&#39;Incluindo&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;repeat&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ind:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Marcado:=0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;sai:=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While not Eof(CadCLI) and (sai&amp;lt;&amp;gt;1) do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Read(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if Cli1.Marca= &#39;*&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Marcado:=ind;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;sai:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ind:=ind+1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;writeln;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if marcado &amp;gt;=1 then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CamposCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cli1.CodCli:=Marcado;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cli1.Marca:=&#39; &#39;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ExisteCliente;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;If ExisteCli=False then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Seek(CadCli,Marcado);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;WriteLn(&#39;Cliente j&lt;span&gt;&amp;nbsp; &lt;/span&gt;Cadastrado, Anulada a operacao&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CamposCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Cli1.CodCli:=FileSize(CadCli);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cli1.Marca:=&#39; &#39;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ExisteCliente;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if ExisteCli=False then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Seek(CadCli,FileSize(CadCli));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;end&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLn(&#39;Cliente j&lt;span&gt;&amp;nbsp; &lt;/span&gt;Cadastrado, Anulada a operacao&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Write (&#39;Deseja Incluir mais Cliente (S/N)&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;SimNao;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Until T&amp;lt;&amp;gt;1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.8&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE AlteraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo deste é a alteração de um dado regitro mediante pedido de busca.&lt;span&gt;&amp;nbsp; &lt;/span&gt;O cliente existindo e sendo encontrando deve ser mostrado na tela o conteúdo do registro referente a ele e logo após é pedido que se faça as devidas alterações a critério do usuario.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A solução para este problema pode ser resumido nas partes marcados do programa que de forma simplificada é grosseira, mostramos logo abaixo.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Aux);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While not Eof(CadCLI) and (t = 1) do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If (Aux=Cli1.NomeCLI) and (Cli1.Marca &amp;lt;&amp;gt; &#39;*&#39;) then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,IND);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Until T&amp;lt;&amp;gt;1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A idéia desta estrutura é capturar um valor que o usuario deseja,&lt;span&gt;&amp;nbsp; &lt;/span&gt;atribuindo&lt;span&gt;&amp;nbsp; &lt;/span&gt;este a uma variável auxiliar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Para encontrar o registro certo e não se perder, usamos um ponteiro chamado Ind, e posicionamos este no primeiro registro do arquivo. Realiza-se uma busca até o final do arquivo e se for encontrado este cliente coloca o valor de sua posição no apontador. de forma que a alteração e´ feita da sequinte forma: aponte o arquivo CadCli para a posição que IND contem, seek(CadCLI,IND) logo após, gravamos a variável rascunho que é semehante a uma ficha cadastral de rascunho no&lt;span&gt;&amp;nbsp; &lt;/span&gt;fichário, em nosso programa em nosso arquivo Write(CadCli,Cli1) como no fichário normal. Esta ficha tem que estar no lugar de onde foi tirada.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Em nosso programa forçamos para que isso aconteça usando IND.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure AlteraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLn(&#39;Digite o nome do Cliente&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ClrEol;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Aux);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ind:=0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;t:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While not Eof(CadCLI) and (t = 1) do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Read(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If (Aux=Cli1.NomeCLI) and (Cli1.Marca &amp;lt;&amp;gt; &#39;*&#39;) then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;BEGIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLn(&#39;Cliente Encontrado&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MostraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CamposCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ExisteCliente;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if ExisteCli=False then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(&#39;Finalizou&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,IND);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;t:=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLn(&#39;Cliente j&lt;span&gt;&amp;nbsp; &lt;/span&gt;Cadastrado, Anulada a operacao&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;END;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ind:=ind+1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Write(&#39;Deseja Alterar mais arquivos (S/N)&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;SimNão;&lt;span&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Until T&amp;lt;&amp;gt;1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.9&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE ExcluiCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Marcar registros para exclusão.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O procedure ExcluirCli é análogo ao Alteracliente, mais iremos alterar apenas um campo que é de uso interno e o usuário não terá acesso. Este procedure encontrando o cliente a ser excluido,&lt;span&gt;&amp;nbsp; &lt;/span&gt;grava o conteúdo anterior, só que desta vez coloca o caracter ´*´ no campo Marca do registro. Como se pode ver os comandos logo abaixo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Cli1.Marca:= &#39;*&#39;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;seek(CadCLI,IND);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure ExcluiCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;writeln;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;WriteLn(&#39;Digite o nome do Cliente a ser excluido&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ClrEol;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Aux);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ind:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;t:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While not Eof(CadCLI) and (t = 1) do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Read(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If (Aux=Cli1.NomeCLI) and (Cli1.Marca &amp;lt;&amp;gt; &#39;*&#39;) then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;BEGIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLn(&#39;Cliente Encontrado&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MostraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cli1.Marca:= &#39;*&#39;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(&#39;Finalizada a exclusao&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,IND);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Write(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;t:=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;END;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Ind:=ind+1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(&#39;Deseja Excluir mais arquivos (S/N)&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;SimNao;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Until T&amp;lt;&amp;gt;1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.10&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Procedure MostrarCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo deste é mostrar&lt;span&gt;&amp;nbsp; &lt;/span&gt;os dados de um cliente existente na tela.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Aux);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ind:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;t:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While not Eof(CadCLI) and (t = 1) do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If Aux=Cli1.NomeCLI&lt;span&gt;&amp;nbsp; &lt;/span&gt;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MostraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Este procedure é util na consulta de algum cliente em que apenas queremos dar uma olhada em seus dados. Quando pedimos&lt;span&gt;&amp;nbsp; &lt;/span&gt;o nome a ser procurado, é realizada a busca, e ao encontrar o cliente é mostrado o seu conteúdo na&lt;span&gt;&amp;nbsp; &lt;/span&gt;tela usando o procedure MostraCli. O método de busca consiste em pedir a variável auxiliar a ser procurada, definir o índice, colocar o ponteiro no registro número 0 do arquivo, atribuir a variável de teste um valor que permite este entrar no While, e dentro do while, é realizada a busca até que não seja final de arquivo, e a variável teste seja igual a 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure MostrarCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;writeln;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;WriteLn(&#39;Digite o nome do Cliente a ser Consultado&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ClrEol;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ReadLn(Aux);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ind:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;seek(CadCLI,0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;t:=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While not Eof(CadCLI) and (t = 1) do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Read(CadCli,Cli1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If Aux=Cli1.NomeCLI&lt;span&gt;&amp;nbsp; &lt;/span&gt;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;BEGIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLn(&#39;Cliente Encontrado&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MostraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(&#39;Marca:&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(Cli1.Marca);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;WriteLN;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(&#39;Finalizada a Mostragem&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;t:=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;END;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Ind:=ind+1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write(&#39;Deseja Consultar mais registros (S/N)&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;SimNao;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Until T&amp;lt;&amp;gt;1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.11&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE FinalCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo deste procedure é finalizar o programa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A solução deste compreende em fornecer a variável necessária para a saida do loop do menu, bem como realizar o fechamento do arquivo aberto no inicio do programa para ser utilizado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure FinalCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;FimCli:=True;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ClrScr;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Close(CadCLI);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.12&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE IniciaCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo deste procedure é&lt;span&gt;&amp;nbsp; &lt;/span&gt;realizar a abertura dos arquivos necessários no programa, e iniciar a variável que será responsavel em manter o menu em loop até que se deseje sair dele.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;ok:=testa_arquivo(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;If ok then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Assign (CadCli,ArqCliente);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Reset(CadCLI);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Assign (CadCli,ArqCliente);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Rewrite(CadCLI);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;FimCli:=False;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Logo no inicio é atribuido o valor da função Testa_arquivo. Com o valor capturado é testado, se o arquivo existe isto é, o valor for verdadeiro, o arquivo é aberto com reset que fará com que o arquivo começe a incluir no final do arquivo, se for falso o arquivo é aberto com rewrite, isto é o arquivo será criado, e lógicamente os registros começarão a ser colocados apartir do início do registro.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Logo abaixo atribuimos o valor falso a fim cliente, esta variável será testada pelo Until do Repeat.e enquanto ele for falso ele continuará em loop, isto é não sairá do programa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure IniciaCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ok:=testa_arquivo(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If ok then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Assign (CadCli,ArqCliente);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Reset(CadCLI);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Assign (CadCli,ArqCliente);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Rewrite(CadCLI);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;FimCli:=False;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.13&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROCEDURE MenuCli;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O objetivo desta é criar um menu de escolha, onde o usuario definira qual o caminho que ele irá tomar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Deseja:=[&#39;I&#39;,&#39;A&#39;,&#39;E&#39;,&#39;F&#39;,&#39;M&#39;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Oque:=Upcase(ReadKey);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If Not (Oque in Deseja) then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write (#7);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Until Oque in Deseja;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if Oque =&#39;I&#39; then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IncluirCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Este procedure deve nos auxiliar na esolha que devemos fazer, quando realizamos a escolha e ira canalizar a nossa decisão para as rotinas necessárias para isso. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Logo no inicio encontramos&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;, Deseja:=[&#39;I&#39;,&#39;A&#39;,&#39;E&#39;,&#39;F&#39;,&#39;M&#39;];&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;que é uma cadeia de caracter representado pelas letras entre aspas, essa cadeia de caracter, que podemos dizer ser semelhante a um vetor, sua utilidade será explicada logo a frente. Logo após ser definido&lt;span&gt;&amp;nbsp; &lt;/span&gt;esta cadeia de caracter, é solicitado ao usuário digitar a escolha sendo que será aceito apenas as letras contidas nesta cadeia de caracter. Se for digitado um caracter que não consta nesta cadeia, este será ignorado é a indicação de erro será com a emissão de um som.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A escolha se repete ate que o usuário faça a escolha conforme os valores contidos na cadeia de caracter. Quando se sai da escolha, a variável que estará contendo a letra escolhida e o rumo que esta deve tomar é feito mediante condição &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;if Oque =&#39;I&#39; then&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;onde neste caso ela irá chamar o procedure &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 150%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;IncluirCli;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Procedure MenuCli;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Deseja:=[&#39;I&#39;,&#39;A&#39;,&#39;E&#39;,&#39;F&#39;,&#39;M&#39;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ClrScr;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(&#39;Menu de OPcoes&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(&#39;(I) - Incluir Cliente&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(&#39;(A) - Altera&lt;span&gt;&amp;nbsp; &lt;/span&gt;Cliente&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(&#39;(E) - Exclui&lt;span&gt;&amp;nbsp; &lt;/span&gt;Cliente&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;WriteLN(&#39;(M) - Mostra&lt;span&gt;&amp;nbsp; &lt;/span&gt;Cliente&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;WriteLN(&#39;(F) - Fim&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WriteLN(&#39;Entre com a sua opcao&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;Repeat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Oque:=Upcase(ReadKey);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If Not (Oque in Deseja) then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write (#7);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Until Oque in Deseja;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if Oque =&#39;I&#39; then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IncluirCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if Oque=&#39;A&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AlteraCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if Oque=&#39;E&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ExcluiCLI;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if Oque=&#39;M&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MostrarCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if Oque=&#39;F&#39;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;FimCli:=true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.14&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PROGRAMA PRINCIPAL&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Objetivo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Este bloco logo abaixo é o programa central em si, pois ele é o primeiro a ser executado, sendo as chamadas dos outros procedures subordinada a ela, desta forma, torna-se o corpo principal do programa.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A solução encontrada&lt;span&gt;&amp;nbsp; &lt;/span&gt;neste é chamar os procedures responsável pela abertura dos arquivos e manter o menu na tela sempre que necessário, sendo da escolha do usuário a sua saída, e quando se realizar a saída&lt;span&gt;&amp;nbsp; &lt;/span&gt;é necessário fechar os arquivos. Que foram abertos no início.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Programa&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;iniciaCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;Repeat;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MenuCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;Until FimCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;FinalCli;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;end.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/1052704270467798377/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/5-sistema-de-cadastro-de-clientes.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/1052704270467798377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/1052704270467798377'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/5-sistema-de-cadastro-de-clientes.html' title='5. SISTEMA DE CADASTRO DE CLIENTES USANDO PASCAL'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-4326476523891598620</id><published>2011-09-30T11:06:00.000-07:00</published><updated>2011-09-30T11:11:25.616-07:00</updated><title type='text'>2. AS FERRAMENTAS QUE POSSUIMOS PARA CRIAR  - Parte 4</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARQUIVOS BINÁRIOS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Os arquivos binários são formas de armazenar diversos dados como se fosse uma matriz, porem a quantidade de informação não é predeterminada. Desta forma podemos ver um arquivo binário como um fichário de cliente de uma loja onde cada vez que cadastramos um novo cliente o fichário aumenta automaticamente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;O tamanho de um arquivo binário pode ser variável, sendo que o máximo é determinado como sendo o tamanho do disco, imaginemos que o nosso fichário esteja em uma sala que meça 4 Mts, o fichário está no chão o tamanho máximo do fichário será o próprio tamanho da sala em nosso computador o espaço livre&amp;nbsp; do disco rigido é o tamanho máximo&amp;nbsp; do nosso arquivo binário.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Realmente comparar um arquivo binário com um fichário é uma forma direta para visualizarmos, um arquivo binário armazenar diversos registros, sendo estes imaginados como a ficha cadastral, a ficha cadastral é&amp;nbsp; um tipo pré-estabelecido.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Um registro é uma ficha, a coleção de fichas é o conteúdo do nosso fichário, essa ficha é igual para todos, mudamos apenas o conteúdo que esta irá guardar, sendo caracterizado como os dados pessoais de um cliente. A determinação do tipo Cliente usando&amp;nbsp; pascal poderia ser assim.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table align=&quot;left&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; hspace=&quot;0&quot; style=&quot;width: 222px;&quot; vspace=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td align=&quot;left&quot; style=&quot;padding-bottom: 0cm; padding-left: 9.0pt; padding-right: 9.0pt; padding-top: 0cm;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Ficha   ( Registro)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;     &lt;td style=&quot;border-bottom: none; border: solid windowtext 2.25pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 55.05pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 1.0cm;&quot; valign=&quot;top&quot; width=&quot;38&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 42.5pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;tr&gt;     &lt;td style=&quot;border-left: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 55.05pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Nome:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;border-top: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 1.0cm;&quot; valign=&quot;top&quot; width=&quot;38&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;border-top: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 42.5pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;border-bottom: none; border-left: none; border-right: solid windowtext 2.25pt; border-top: solid windowtext 2.25pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;tr&gt;     &lt;td style=&quot;border-left: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 55.05pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;End:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 1.0cm;&quot; valign=&quot;top&quot; width=&quot;38&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 42.5pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;border-right: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;tr&gt;     &lt;td style=&quot;border-left: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 55.05pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Tel:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 1.0cm;&quot; valign=&quot;top&quot; width=&quot;38&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 42.5pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;border-right: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;tr&gt;     &lt;td style=&quot;border-bottom: solid windowtext 2.25pt; border-left: solid windowtext 2.25pt; border-right: none; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 55.05pt;&quot; valign=&quot;top&quot; width=&quot;73&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Cidade:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;border-bottom: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 1.0cm;&quot; valign=&quot;top&quot; width=&quot;38&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;border-bottom: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 42.5pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;UF:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;     &lt;td style=&quot;border-bottom: solid windowtext 2.25pt; border-left: none; border-right: solid windowtext 2.25pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; mso-element-anchor-horizontal: column; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-frame-width: 157.85pt; mso-element-top: .3pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;type&amp;nbsp; Cliente= record&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nome:String[10];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End:String[10];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tel:string[12];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cidade:String[10];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UF:string[2];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Esta declaração seria a célula das fichas&amp;nbsp; que irão estar dentro do fichário.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRINCIPAIS COMANDO USADO EM UM ARQUIVO BINARIO.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Obs:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; (No final do livro existe um programa completo exemplificando estes comandos usando os mesmos nomes usados aqui).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Assign(CadCli,”Cliente.Dat”)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Determina que o nome interno que será usado no programa referencia ao nome externo que estará no diretório&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Reset (CadCli)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Abre o arquivo, sem estragar o seu conteudo anteriormente colocado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Rewrite(CadCli)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Abre o arquivo, reescrevendo desde o inicio.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Close (CadCli)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Fecha o arquivo binario&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Seek(CadCli,3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Posiciona no registro número 3 do arquivo binario.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Seek(CadCli,FileSize(CadCli))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Posiciona na ultima posição em branco do arquivo binario, representa o tamanho do arquivo binario.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Write (CadCli,Cli1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;Coloca o conteudo de uma ficha no fichario.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Read (CadCli,Cli1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;Realiza a leitura de uma ficha do fichario, e coloca em uma ficha rascunho.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCEDIMENTO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Procedimento são meios que utilizamos para diminuir o esforço na programação quando devemos realizar um mesmo processo diversas vezes. Utilizamos este recurso a fim de diminuir as linhas de código do programa. O procedimento tem como característica resolver algum problema a ele destacado, mas sem retornar a quem o chamou uma resposta, a questão de retornar uma resposta a quem chamou seria por exemplo informar se a operação foi completa, ou retornar um valor para ser utilizado, a questão de retornar um valor será explicada de forma melhor na seção que falará sobre função, os procedures são úteis quando por exemplo queremos ordenar um vetor de n elementos em ordem crescente, o procedure realiza a operação automaticamente não sendo necessário informar quando terminou, pois o objetivo é ordenar. Esse exemplo é de certa forma grosseiro pois uma solução para isso poderia ser implementada de outras formas. &lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FUNÇÃO&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Função é semelhante ao procedimento mas este retorna uma resposta a quem o chamou, isso realiza-se da seguinte forma. Vamos supor que escrevemos um algoritmo que realiza calculos matemáticos, e a todo instante precisamos calcular a raiz quadrada de um número chamando um procedure ele calcularia a raiz quadrada mas não nos daria um valor de resposta que neste caso seria de primordial importância. Por esse motivo, usa-se funções, as funções são pedidas a resolver algum problema e como resposta nos entrega a solução do problema de forma a utilizá-la no decorrer das operações.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SINTAXE DE PROGRAMAÇÃO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Para criarmos um programa devemos usar as ferramentas, respeitando as leis que as rege, e observando os limites para o uso de uma ou de outra.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Para realizarmos um programa necessitamos organizar maneiras simples de forma que esta, se repitam&amp;nbsp; em rotinas, de modo a testar variáves, encontrar valores tendo uma gama de dados a serem calculados para isso.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;As principlais CLÁUSULAs usadas são:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLÁUSULA DE CONDIÇÃO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A cláusula de condição é responsável pelo teste de alguma coisa, no caso constantemente iremos realizar a comparação de variáveis. A condição é o fato de condicionarmos &lt;b&gt;Se &lt;/b&gt;alguma coisa aconteçer nós iremos fazes isso ou aquilo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;A cláusula de condição é mostrada logo abaixo em portugou e em pascal de forma comparativa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .75pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 24.2pt;&quot;&gt;   &lt;td style=&quot;border-right: none; border: solid windowtext 1.0pt; height: 24.2pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 118.8pt;&quot; valign=&quot;top&quot; width=&quot;158&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Portugol&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 24.2pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.15pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; height: 24.2pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 113.9pt;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Pascal&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-left: solid windowtext 1.0pt; border: none; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 118.8pt;&quot; valign=&quot;top&quot; width=&quot;158&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Se&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; &amp;lt;Condição&amp;gt; &lt;b&gt;então&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.15pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 113.9pt;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;IF&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;Condição&amp;gt;&amp;nbsp; then&lt;b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-left: solid windowtext 1.0pt; border: none; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 118.8pt;&quot; valign=&quot;top&quot; width=&quot;158&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.4pt; margin-right: -.05pt; margin-top: 0cm; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right; text-indent: 35.4pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.15pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 113.9pt;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.4pt; margin-right: -.05pt; margin-top: 0cm; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right; text-indent: 35.4pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-left: solid windowtext 1.0pt; border: none; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 118.8pt;&quot; valign=&quot;top&quot; width=&quot;158&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Senão&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.15pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 113.9pt;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   end&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-left: solid windowtext 1.0pt; border: none; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 118.8pt;&quot; valign=&quot;top&quot; width=&quot;158&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.4pt; margin-right: -.05pt; margin-top: 0cm; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right; text-indent: 35.4pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.4pt; margin-right: -.05pt; margin-top: 0cm; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.4pt; margin-right: -.05pt; margin-top: 0cm; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.15pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 113.9pt;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   begin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 35.4pt; margin-right: -.05pt; margin-top: 0cm; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: right; text-indent: 35.4pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;comandos;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: solid windowtext 1.0pt; border-right: none; border-top: none; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 118.8pt;&quot; valign=&quot;top&quot; width=&quot;158&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;fim se&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.15pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-bottom-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 113.9pt;&quot; valign=&quot;top&quot; width=&quot;152&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   end;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Usamos constantemente a cláusula de condição em nosso dia-a-dia sem perceber quando citamos&amp;nbsp; os termos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Se&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; eu ganhar na sena vou comprar um carro&lt;b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;senão &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;jogarei de novo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Se&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; eu passar de matemática irei soltar fogos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Senão &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;irei conversar com o professor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Se&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; eu ganhar 1000 reais jogando 10 eu irei jogar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Senão &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;irei pensar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Se &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;eu souber toda prova eu tiro 10.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Senão&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; irei fazer o máximo para tirar nota boa&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Usando condições podemos manipular a direção que os dados a serem processado deverão tomar para serem bem interpretados e de forma a obtermos os resultados previstos resolvendo o problema proposta da melhor maneira possível.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Com o uso desta cláusula realizaremos os diversos testes comparativos necessários em um programa. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLÁUSULA DE LOOP&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;A cláusula de loop é utilizada quando queremos que um passo se repita até que uma condição seja satisfeita, ou por um período de repetição pré-determinado.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A cláusula de loop pode ser utilizada para:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: -.05pt; margin-top: 0cm; mso-list: l0 level1 lfo1; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; Implementar um contador&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: -.05pt; margin-top: 0cm; mso-list: l0 level1 lfo1; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; Realizar uma busca em um vetor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: -.05pt; margin-top: 0cm; mso-list: l0 level1 lfo1; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; Realizar a localização de coordenadas de uma matriz&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: -.05pt; margin-top: 0cm; mso-list: l0 level1 lfo1; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; Testar uma variável até que ela seja verdadeira ou falsa&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;O termo loop significa rotação. Quando dizemos que um avião realizou um loop significa que este fez um circulo no ar, da mesma forma, nos realizamos um circulo retornando ao inicio e executando novamente uma operação até que a condição para esse loop termine. Como dizemos anteriormente, esse loop pode ser determinado por uma quantidade pré - estabelecida que seria o &lt;b&gt;Para&lt;/b&gt; ou &lt;b&gt;For&lt;/b&gt;, ou por uma condição que força o loop a sair quando algo se torna verdadeiro ou falso onde podemos usar o &lt;b&gt;Enquanto &lt;/b&gt;ou&lt;b&gt; While&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Existem diversas formas de se manter um loop usando termos como :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Enquanto&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; algo for verdadeiro &lt;b&gt;faça&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Para&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt; um valor &lt;b&gt;inicial&lt;/b&gt; acrescido de um &lt;b&gt;ate&lt;/b&gt; que este chegue ao valor máximo, ou &lt;b&gt;final faça.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Repita &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;até que satisfaça alguma condição.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Esses termos usados em português são os termos que serão passados para a linguagem para a sua utilização no algoritmo conforme as nossas necessidades.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Vamos iniciar mostrando de forma comparativa entre o portugol e o pascal, na sequência mostrada&amp;nbsp; acima.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 17.55pt;&quot;&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 17.55pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;PORTUGOL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;height: 17.55pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 17.55pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;PASCAL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Enquanto&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;Condição&amp;gt; &lt;b&gt;faça&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;While&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;Condição&amp;gt; &lt;b&gt;do&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;   Begin&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Fim enquanto;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;   end;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 17.55pt;&quot;&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 17.55pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 147.15pt;&quot; valign=&quot;top&quot; width=&quot;196&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;PORTUGOL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;height: 17.55pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 14.2pt;&quot; valign=&quot;top&quot; width=&quot;19&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 17.55pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.15pt;&quot; valign=&quot;top&quot; width=&quot;206&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;PASCAL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 147.15pt;&quot; valign=&quot;top&quot; width=&quot;196&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Para &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;variável&amp;gt;   &lt;b&gt;de&lt;/b&gt; &amp;lt;valor Inicial&amp;gt; &lt;b&gt;até&lt;/b&gt; &amp;lt;Valor Final&amp;gt;&amp;nbsp; &lt;b&gt;faça&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 14.2pt;&quot; valign=&quot;top&quot; width=&quot;19&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.15pt;&quot; valign=&quot;top&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;For&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;variável&amp;gt; &lt;b&gt;:=&lt;/b&gt; &amp;lt;Valor   Inicial&amp;gt; &lt;b&gt;to&lt;/b&gt; &amp;lt;Valor   Final&amp;gt;&amp;nbsp; &lt;b&gt;do&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 147.15pt;&quot; valign=&quot;top&quot; width=&quot;196&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 14.2pt;&quot; valign=&quot;top&quot; width=&quot;19&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.15pt;&quot; valign=&quot;top&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;   Begin&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 147.15pt;&quot; valign=&quot;top&quot; width=&quot;196&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 14.2pt;&quot; valign=&quot;top&quot; width=&quot;19&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.15pt;&quot; valign=&quot;top&quot; width=&quot;206&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 147.15pt;&quot; valign=&quot;top&quot; width=&quot;196&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 14.2pt;&quot; valign=&quot;top&quot; width=&quot;19&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.15pt;&quot; valign=&quot;top&quot; width=&quot;206&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 147.15pt;&quot; valign=&quot;top&quot; width=&quot;196&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 14.2pt;&quot; valign=&quot;top&quot; width=&quot;19&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.15pt;&quot; valign=&quot;top&quot; width=&quot;206&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 147.15pt;&quot; valign=&quot;top&quot; width=&quot;196&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Fim enquanto;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 14.2pt;&quot; valign=&quot;top&quot; width=&quot;19&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.15pt;&quot; valign=&quot;top&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;   end;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 17.55pt;&quot;&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 17.55pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;PORTUGOL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;height: 17.55pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 17.55pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;PASCAL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Repita&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Repeat&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Comando&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;até &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;Condição&amp;gt;   &lt;b&gt;;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;Until&amp;nbsp;   &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;Condição&amp;gt; &lt;b&gt;;&amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLÁUSULA DE CASO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A&amp;nbsp; cláusula de caso é semelhante a cláusula de condição porém a diferença entre esta e a de condição é que em situações que existem muitos casos a serem escolhidos usando esta cláusula podemos simplificar e muito o algoritmo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Este tipo de cláusula é utilizado muitas vezes em escolhas como:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Itens de um menu&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Operações que devem ser realizadas diariamente usando taxas diferentes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 17.55pt;&quot;&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 17.55pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;PORTUGOL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;height: 17.55pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 17.55pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;PASCAL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Escolha&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;expressão&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Case&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;expressão&amp;gt; &lt;b&gt;of&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Caso&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;Valor1&amp;gt;&lt;b&gt;:&lt;/b&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;Valor1&amp;gt;&lt;b&gt;:&lt;/b&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Caso&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;Valor2&amp;gt;&lt;b&gt;:&lt;/b&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;Valor1&amp;gt;&lt;b&gt;:&lt;/b&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Caso&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;Valor3&amp;gt;&lt;b&gt;:&lt;/b&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;Valor1&amp;gt;&lt;b&gt;:&lt;/b&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Caso&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;   &amp;lt;Valor4&amp;gt;&lt;b&gt;:&lt;/b&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;Valor1&amp;gt;&lt;b&gt;:&lt;/b&gt;Comando;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Fim enquanto;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;   end;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 140.1pt;&quot; valign=&quot;top&quot; width=&quot;187&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0cm 5.4pt 0cm 5.4pt; width: 40.85pt;&quot; valign=&quot;top&quot; width=&quot;54&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-bottom-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-right-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 134.55pt;&quot; valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/4326476523891598620/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/2-as-ferramentas-que-possuimos-para_6692.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/4326476523891598620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/4326476523891598620'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/2-as-ferramentas-que-possuimos-para_6692.html' title='2. AS FERRAMENTAS QUE POSSUIMOS PARA CRIAR  - Parte 4'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-7271786772018581758</id><published>2011-09-30T11:00:00.000-07:00</published><updated>2011-09-30T11:11:00.164-07:00</updated><title type='text'>2. AS FERRAMENTAS QUE POSSUIMOS PARA CRIAR  - Parte 3</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIPO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A criação de um tipo significa utilizar os tipos existentes e apartir destes, reunimos de forma a constituir uma célula com características próprias. Após isso damos o seu nome, quando quisermos&amp;nbsp; declarar algo que tenha esse tipo que criamos, apenas colocamos apos os dois pontos o tipo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MATRIZ&amp;nbsp;&amp;nbsp; (Estrutura de dados homogênia)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;Muitas vezes temos que trabalhar com diversos dados que representam a variação de alguma coisa ou mesmo queremos relacionar alguma coisa usando um processo em que através de linhas e colunas possa-se, criar uma planilha.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Por exemplo o boletim escolar. A parte que contém os números pode-se dizer que é uma matriz. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .75pt; mso-border-insideh: .75pt solid windowtext; mso-border-insidev: .75pt solid windowtext; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;1º   Bimestre&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2º   Bimestre&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3º   Bimestre&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;4º   Bimestre&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Port&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Mat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Quimica&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Fisica&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 63.1pt;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Em nosso cotidiano usaríamos isso (a figura acima).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Sendo os dados mais importante, os números, essa região em que contem os número seria&amp;nbsp; uma matriz do tipo inteiro. É ficaria desta forma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; margin-left: 33.75pt; mso-border-alt: solid windowtext .75pt; mso-border-insideh: .75pt solid windowtext; mso-border-insidev: .75pt solid windowtext; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 42.55pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.4pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.65pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 42.55pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.4pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.65pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 42.55pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.4pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.65pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 42.55pt;&quot; valign=&quot;top&quot; width=&quot;57&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.45pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 35.4pt;&quot; valign=&quot;top&quot; width=&quot;47&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; mso-border-top-alt: solid windowtext .75pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.65pt;&quot; valign=&quot;top&quot; width=&quot;66&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A matriz é uma estrutura de dados homogênea isto quer dizer que ela aceita apenas um tipo, para cada matriz, isso significa que se declararmos uma matriz do tipo inteiro não poderemos colocar caracteres&amp;nbsp; como conteúdo desta, o primeiro exemplo do boletim contem nomes e números, este caso não é uma matriz do tipo inteiro, o segundo exemplo contém apenas número, sendo todos representantes do mesmo tipo sendo uma matriz homogênea.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Em computação o uso de matriz e devido a facilidade no acesso ás informações. O conteúdo de cada elemento de uma matriz é tratado como uma variável simples. E a sua localização é feita apartir de índices. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Para ler ou escrevermos numa matriz devemos especificar a linha e a coluna se esta matriz for bidimensional que dizer que neste caso usariamos dois indices, se tivermos uma matriz tridimensional devemos especificar a linha, coluna e profundidade, quer dizer que neste caso usariámos os&amp;nbsp; indices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Muitas vezes usa-se uma matriz unidimencional mais conhecida como &lt;b&gt;vetor.&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;O vetor consiste em uma matriz que contem 1 linha com várias colunas, o vetor seria um conjundo como se fosse uma fila de banco onde possui um sentido e neste sentido as pessoas (que para nós são dados) se posicionam um atrás dos outros até chegar a um limite máximo. Um vetor númerico ficaria como mostra a figura abaixo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;NOTA&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .75pt; mso-border-insidev: .75pt solid windowtext; mso-padding-alt: 0cm 5.35pt 0cm 5.35pt; mso-table-layout-alt: fixed;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .75pt; mso-border-left-alt: solid windowtext .75pt; padding: 0cm 5.35pt 0cm 5.35pt; width: 22.7pt;&quot; valign=&quot;top&quot; width=&quot;30&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Vamos supor que estes números sejam a nota de uma disciplina em que o professor precisa da média delas. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Usando o método que fariámos se ao invés de um vetor fosse um monte de números no papel, pegaremos um número o primeiro o número 3 e somaria com o 4 o resultado somaria com o 5 novamente o resultado somaria com o 6 depois com o 7 com o 8 com o 9 com o 0 com o 8 com o 9 com o 9 e obteriamos como resposta o número 76. Esta é a ideia que devemos usar para calcular. Se fôssemos fazer o corpo do algoritmo para resolver esta expressão poderíamos grosseiramente fazer assim.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;Supondo que o vetor se chame nota, e que tivessemos uma variável declarada como do tipo inteiro com nome de total.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Total:=Nota[1] + Nota[2] + Nota[3] + Nota[4] + Nota[5] + Nota[6] + Nota[7] + Nota[8] + Nota[9] + Nota[10] ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Essa seria uma forma muito extensa e mal feita, mas apenas para ilustrar a usamos, depois&amp;nbsp; será visto como fazer esta mesma expressão de forma mais enxuta. Esse seria um exemplo usando vetores. Gostaria de enfatizar que um dos fatores mais importantes de uma matriz é a forma de localizar alguma posição, isto é feito com o auxílio de um &lt;b&gt;índice&lt;/b&gt; onde a quantidade de índice é determinada pela dimensão da matriz. O índice é um número inteiro, responsável pela&amp;nbsp; localização de algum elemento contido na matriz, no caso anterior onde foi usado um vetor o nome do vetor era Nota, portanto a posição 1 do vetor Nota podemos&amp;nbsp; especificar desta forma Nota[1], se fosse necessário colocar algum valor nesta possição eu poderia realizar a atribuição de forma direta, ficando assim Nota[1] := 20, estou dizendo que o valor 20 foi atribuido ao vetor denominado nome em sua primeira posição, um elemento de um vetor ou matriz, é visto pelo programa como uma variável simples.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A utilização de matriz unidimensinal é grande, porém em diversos casos ela não satisfaz com uma solução adequada, de forma que nestes casos usamos a matriz de varias dimensões.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Vamos supor que queremos&amp;nbsp; saber a temperatura de um dia&amp;nbsp; de um determinado mês de um ano qualquer, teriamos que recorrer a uma matriz de duas dimensões onde as linhas representariam os meses, e as colunas os dias.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A declaração de uma matriz é feita da sequinte forma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Se desejarmos criar um vetor que tenha 80 elementos fariamos da sequinte forma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Nota : array[1..80] of integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Em pascal matriz para ser declarada seque a sequinte sintaxe.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;nome da matrizl&amp;gt; : array[inicio. . fim] of&amp;lt;tipo da Variável&amp;gt; ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Primeiro especifico o nome da matriz, coloco dois pontos especifico como matriz determino o número em que se inicia e oque termina logo após o tipo e coloco ponto e virgula no final.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;Para declarar uma matriz de varias dimensões faria a sequinte forma.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Neste caso estou determinando uma matriz bidimensional de 80 X 5. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Nota : array[1..80,1..5] of integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;Neste caso estou determinando uma matriz tridimensional de 80 X&amp;nbsp; 5 X 9.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Nota : array[1..80,1..5,1..9] of integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CURIOSIDADE&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Trabalhar com matriz facilita muito a resolução de problemas que englobam grande quantidade de dados, e que necessita de velocidade, e uma forma organizada de armazenar este conteudo, por exemplo uma figura usada no windows que possui como extensão .BMP (Bit Map Point), nada mais é que uma enorme matriz em que os números nela contida são as tonalidade de cor, que quando vemos achamos bonito.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;No rastreamento de satelite os dados enviados relacionado com mapas são enormes matrizes que são reduzidos de forma a ser interpretada, nos dizendo a condição do clima.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;No gerenciamento de memória de um computador se usa matriz para mapear a memória.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Só um detalhe importante, para o computador não existe matriz mas sim vetores. A utilização, a declaração como matriz é feita para facilitar o programador.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REGISTRO&amp;nbsp; (Estrutura de dados homogênia)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A estrutura especificada como registro é uma estrutura que trabalha com dados diferente, mais relacionados lógicamente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;O registro é muito utilizado quando trabalhamos com dados que&amp;nbsp; necessitam utilizar vários dados que possui tipos diferentes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Por exemplo numa ficha cadastral de cliente temos o nome do cliente, seu código, endereço entre outros dados, e este tipo de estrutura não é suportado apenas com a utilização de matriz. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Neste caso usamos o registro que é muito útil quando queremos criar um fichario de cliente dentro de um arquivo, neste exemplo e vendo por esta forma as fichas individuais que contém os dados do cliente seriam os registros que estariam contidos dentro de um arquivo, de forma semelhante aos fichários usados em nosso cotidiano para guardar o cadastro dos clientes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/7271786772018581758/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/2-as-ferramentas-que-possuimos-para_9519.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/7271786772018581758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/7271786772018581758'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/2-as-ferramentas-que-possuimos-para_9519.html' title='2. AS FERRAMENTAS QUE POSSUIMOS PARA CRIAR  - Parte 3'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-2971006271150975264</id><published>2011-09-30T10:57:00.000-07:00</published><updated>2011-09-30T11:10:25.710-07:00</updated><title type='text'>2. AS FERRAMENTAS QUE POSSUIMOS PARA CRIAR  - Parte 2</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DECLARAÇÃO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Quando estamos desenvolvendo um programa, usamos metodos pré-estabelecidos, mas principalmente a nossa imaginação.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;É impossível colocar um pneu de carro, sendo que este pneu não exista? A questão de dizer que certa coisa não existe e análogo a fazer um programa sem criar as variáveis,(constante e tipos) que serão necessários no programa. Podemos dizer com isso que o programa só trabalha com objetos criados, isto é, objetos que existem, objetos &lt;b&gt;declarados&lt;/b&gt;. &lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONSTANTE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;O termo constante&amp;nbsp; diz respeito a um objeto semelhante a variável, porém como o nome diz ele se mantém constante do início ao fim do programa. Baseado no exemplo da injeção eletrônica,&amp;nbsp; podemos dizer que a mangueira de combustível, que não foi citada mas que é lógico que necessitamos dela para o transporte de combustível, é uma constante pois após ela existir, isto é, ser declarada e de ser especificado a suas propriedades, no caso o comprimento, esse valor se mantém constante no decorrer do funcionamento do sistema de injeção. Imaginem tentarmos colocar uma mangueira menor ou maior com o motor funcionando, não é possivel. Desta forma, o valor constante é atribuido uma só vez, geralmente no início do programa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Pelo exemplo 2&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Se fossêmos analisar conforme o exemplo da panela o anel de vedação da tampa poderia ser uma constante, pois&amp;nbsp; é definido o seu tamanho, e no momento em que fechamos a panela mantendo este formato até a próxima operação, é impossível alterar as suas características com a panela em funcionamento,&amp;nbsp; analógicamente, poderíamos dizer que o valor constante é atribuido uma só vez, geralmente no inicío do programa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VARIÁVEL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;O termo variável de um programa diz respeito aos objetos que usaremos para captarem os dados digitados. Por exemplo, o termo variável é usado para expressar que este objeto no decorrer do programa poderá ter seu valor alterado diversas vezes. Em nosso exemplo as variáveis eram os sensores, e os valor que ela captava, e continha em seu poder eram os dados, que eram transmitidos imediatamente ao processamento central. Este, com os valores realizava o processamento adeguando para uma boa economia de combustível.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;2.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ATRIBUIÇÃO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;As variáveis após serem declaradas elas necessitam capturar os dados necessários para o processamento futuro destes, esta captura de dados é chamado atribuição, e significa que iremos atribuir um valor a uma variável.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A atribuição de uma constante é feita geralmente no inicio de um programa e o valor atribuido não é alterado no decorrer do programa, ao contrario das variáveis que irá trabalhar como os sensores do sistema de injeção eletrônica do carro constantemente pegando dados novos e fornecendo-os ao processamento. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Usando a linguagem pascal como exemplo podemos atribuir valores as variáveis da sequinte forma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;TemperaturaDoOleo:=30;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;TemperaturaDoAr:=28;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;TemperaturaDaAgua:=15;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Em pascal as atribuições sequem as seguinte sintaxe.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;nome da variável&amp;gt; := &amp;lt;valor &amp;gt; ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Primeiro especifico o nome da variável, coloco dois pontos e o sinal de igual, especifico o valor a ser atribuido&amp;nbsp; e coloco ponto e vírgula no final. Antes de atribuir um valor a uma variável ela deve existir, isto é deve ser declarada anteriormente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/2971006271150975264/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/2-as-ferramentas-que-possuimos-para_30.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/2971006271150975264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/2971006271150975264'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/2-as-ferramentas-que-possuimos-para_30.html' title='2. AS FERRAMENTAS QUE POSSUIMOS PARA CRIAR  - Parte 2'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-2395289645210691036</id><published>2011-09-30T10:56:00.000-07:00</published><updated>2011-09-30T11:09:55.690-07:00</updated><title type='text'>2. AS FERRAMENTAS QUE POSSUIMOS PARA CRIAR - Parte 1</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;Quando escrevemos um programa os elementos que serão utilizados em seu interior devem existir da mesma forma que em uma sala para sentar em uma cadeira, ela deve existir. A questão de fazer existir um elemento, e em computação a declaração deste,&amp;nbsp; devem ter um estrutura pré estabelecida do que ele é por exemplo, se formos usar número podemos usar números inteiros ou reais, a escolha de um deles deve ser feita conforme a necessidade do programa, números inteiro ocupam menos memória portanto para o computador é mais rápido trabalhar com números inteiros, porem existe programas que necessitam de números reais, mas qual a diferença de um e de outro no programa?&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Números Inteiros trabalham com valores inteiros, negativos nulos ou positivos, não podemos usá-los para representar uma fração por exemplo, o número inteiro tem um limite geralmente eles trabalham de -34000 a 34000.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Número Real trabalham com valores Reais, Inteiros, negativos, nulos, positivos. Os números reais possuem muito mais números disponíveis para a utilização que os inteiros, podemos usar fração por exemplo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Pela matemática os números inteiros estão contido no conjunto de números reais, desta forma podemos tomar a nossa propria conclusão porque um necessita de mais memoria que o outro.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;A especificação da utilização de números inteiros ou reais,&amp;nbsp; e feita da sequinte forma a linguagem em que estivermos&amp;nbsp; trabalhando possuem como característica própria a especificação de tipos que podem ser utilizado para a declaração, os tipos dizem o que os elementos declarados são, os elementos a serem declarados podem ser variáveis ou constantes conforme explicação feita anteriormente, geralmente as linguagem&amp;nbsp; permite ao programador criar novos tipos usando os tipos existentes, isso será especificado depois. Os tipo geralmente disponíveis são:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Inteiro&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Real&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Logico (Boolean)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Caracter (Char)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Explicamos anteriormente sobre os tipo inteiros e reais.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;O Tipo lógico ou booleano são utilizado quando o seu conteúdo será o valor Verdadeiro ou Falso usado em diversas operações de escolha, as variáveis lógicas sequem os teoremas, axiomas e postulados, usado em lógica ou eletrónica digital.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;nbsp;O tipo caracter&amp;nbsp; é utilizado para guardar um valor alfanumérico que esteja contido na tabela ASCII, os valores alfanuméricos são por exemplo: “Casa”, “Terreno 897”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;O tipo string aceita o valor alfa numérico, e neste tipo eu posso especificar o tamanho que ele deve ter, assim não desperdiçando memória.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Após termos visto quais são os tipos, e sabermos a necessitade primordial que é declarar um elemento como variável ou constante para ser usado no programa,&amp;nbsp; devemos saber como declarar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Usando a linguagem pascal como exemplo podemos declarar variáveis desta forma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;VariávelLogica:&lt;b&gt;Boolean&lt;/b&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;VariávelCaracter:&lt;b&gt;Char&lt;/b&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;VariávelString:&lt;b&gt;String&lt;/b&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;VariávelNúmeroInteiro:&lt;b&gt;Integer&lt;/b&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;VariávelNúmeroReal:&lt;b&gt;Real&lt;/b&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Em pascal as variáveis para serem declaradas seguem as seguinte sintaxe.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&amp;lt;nome da variável&amp;gt; : &amp;lt;tipo da Variável&amp;gt; ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Primeiro especifico o nome da variável coloco dois pontos, especifico o tipo e coloco ponto e vírgula no final.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;Logo a frente teremos mais informações sobre declaração no momento em que realizaremos a criação de um programa completo de cadastro de cliente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/2395289645210691036/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/2-as-ferramentas-que-possuimos-para.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/2395289645210691036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/2395289645210691036'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/2-as-ferramentas-que-possuimos-para.html' title='2. AS FERRAMENTAS QUE POSSUIMOS PARA CRIAR - Parte 1'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-8977306425100709254</id><published>2011-09-30T10:55:00.000-07:00</published><updated>2011-09-30T10:55:14.623-07:00</updated><title type='text'>1.6. DIVERSOS PASSOS DE UM PROGRAMA</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Em primeiro lugar quando desejamos criar um programa, devemos idealizar algoritmos necessários para que este&lt;span&gt;&amp;nbsp; &lt;/span&gt;rode de forma satisfatoria resolvendo o problema proposto.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A ideia passada ao papel que é o algoritmo que escrevemos é chamado de &lt;b&gt;código-fonte&lt;/b&gt; ou simplesmente fonte, que é escrito geralmente usando uma linguagem de alto nível onde especificamos a&lt;span&gt;&amp;nbsp; &lt;/span&gt;parte lógica do programa dizendo o que ele deve fazer ou não conforme o nosso desejo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O segundo passo após termos criado o fonte é&lt;span&gt;&amp;nbsp; &lt;/span&gt;vontade de vê-lo funcionar conforme as especificações. Esta forma de vê-lo funcionar é&lt;span&gt;&amp;nbsp; &lt;/span&gt;o trabalho final, e conforme a linguagem usada ele pode ser interpretado ou compilado quando dizemos que o fonte usa um &lt;b&gt;interpretador&lt;/b&gt; estamos dizendo que toda vez que for necessária a sua execução um programa auxiliar geralmente o desenvolvedor, ira linha a linha traduzindo para a linguagem de máquina e executando o que está sendo pedido. De forma ilustrativa este processo é semelhante a lermos um livro em russo, supondo que não conhecemos esta lingua, desta forma temos que lê-la com um tradutor do lado, e toda vez que que precisarmos de alguma informação deste livro precisaremos de um tradutor, geralmente&lt;span&gt;&amp;nbsp; &lt;/span&gt;um programa que necessita de um interpretador é mais lento que um programa compilado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Um programa &lt;b&gt;compilado&lt;/b&gt; é aquele em que o codigo fonte é traduzido totalmente para a linguagem de máquina, podendo rodar em um computador sem ser necessário que nele esteja o seu desenvolvedor, isto é, o programa usado para criá-lo, é como se o livro em russo fosse totalmente traduzido para o português de forma que toda vez que precisarmos de alguma informação deste livro basta pegar a sua tradução e ler. Os programas compilados são geralmente mais rápidos que os interpretados e mais lentos que os feitos em assembler diretamente, sendo o compilador a ferramenta mais importante para um programador.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Além do interpretador e do compilador, usamos uma outra forma de executar o programa chamada de &lt;b&gt;depurador&lt;/b&gt; o depurador, ele executa o programa mostrando passo a passo o que ele está realizando, esta ferramenta é útil quando desejamos interagir na execução procurando por algum erro da lógica escrita, o depurador permite que o programador veja o interior do programa a medida que ele está sendo executado. O depurador é como uma máquina de raio-X para um médico, em que ele pode ver internamente o que está acontecendo com o seu paciente, ou o ultrasom, realizado em exames pré-natal para verificar como está o feto.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Quando um programa é compilado ele entrega a sua tradução, isto é a transformação da linguagem de alto nível em linguagem de máquina, como sendo um arquivo que contém o &lt;b&gt;código-objeto&lt;/b&gt;, com ele podemos&lt;span&gt;&amp;nbsp; &lt;/span&gt;executar diretamente o programa sem o auxílio do programa que o desenvolveu, o codigo-objeto é o nosso arquivo &lt;b&gt;executável&lt;/b&gt;..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/8977306425100709254/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/16-diversos-passos-de-um-programa.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/8977306425100709254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/8977306425100709254'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/16-diversos-passos-de-um-programa.html' title='1.6. DIVERSOS PASSOS DE UM PROGRAMA'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-777644295261450989</id><published>2011-09-30T10:54:00.001-07:00</published><updated>2011-09-30T10:54:28.141-07:00</updated><title type='text'>1.5. OS TIPO DE LINGUAGEM</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Para interagirmos com o computador de forma a podermos programá-lo para a resolução de algum problema devemos em primeiro lugar, arrumar alguma forma de conversar com ele ,dizendo o que deve ser feito.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Muitos acham que o computador resolve problemas por si só, isso não é correto. O computador é uma máquina como qualquer outra, e se não soubermos usá-lo se torna uma mero emaranhado de peças sofisticadas usadas para enfeitar, o que é um desperdício.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Devemos ter em mente que quando programamos algo devemos detalhar ao computador o máximo possível, prever erros, entre outros.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Para programarmos um computador escutamos muitas vezes os&lt;span&gt;&amp;nbsp; &lt;/span&gt;termos&lt;span&gt;&amp;nbsp; &lt;/span&gt;linguagem de alto nível e linguagem de baixo nível. Os níveis de linguagem especificam o vocabulário que será usado, se ela será usado para simplificar a vida do programador, ou será voltada para máquina, desta forma, ganhando velocidade.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Basicamente, é interessante ter uma visão geral sobre as linguagem de alto nível e se especializar em uma delas, pois as&lt;span&gt;&amp;nbsp; &lt;/span&gt;cláusulas são semelhante e tendo um bom conhecimento em uma delas, pode-se migrar para outra com facilidade. O melhor é aprender bem uma, e usar outras apenas em implementações especificas de forma a tornar o programa mais rápido ou eficaz usando essas implementações.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A linguagem de alto nível&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;é mais acessível ao humano, pois ela usa termos do nosso cotidiano em inglês para que possamos definer&lt;span&gt;&amp;nbsp; &lt;/span&gt;o que queremos que ele faça. A vantagem de usar uma&lt;span&gt;&amp;nbsp; &lt;/span&gt;linguagem de alto nível é a facilidade que temos em escrever o algoritmo, e entender o que ele irá fazer, neste nivel usamos termos como: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Se&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; alguma coisa acontecer &lt;b&gt;faça&lt;/b&gt; isso &lt;b&gt;senão &lt;/b&gt;faça aquilo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Enquanto&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; tiver gente na sala &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 35.4pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;não feche a porta.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 35.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 35.4pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Esses termos por assim dizer são as cláusulas usadas na criação de um programa, e será explicada posteriormente. Essa forma de especificar o que o programa deve fazer é clara muitas vezes até a uma pessoa que não conhece programação. Neste nível a facilidade que temos para escrever algo é paga com menor velocidade no processamento, este é o preço cobrado pelo micro pela facilidade, porém muitas vezes consequimos desempenho bom com alguns compiladores.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 35.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 35.4pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A linguagem de baixo nivel&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;, como o assembler , são linguagem voltada para a máquina programas feitos neste nivel tem grande velocidade, o tamanho do programa final&lt;span&gt;&amp;nbsp; &lt;/span&gt;reduzido, e o seu executável pode ser lido diretamente pelo programador,&lt;span&gt;&amp;nbsp; &lt;/span&gt;com utilitarios como o debug que nos mostra os endereços e o que ele contém, sendo claro para o seu desenvolvedor o que ele fez, porém para&lt;span&gt;&amp;nbsp; &lt;/span&gt;se ter velocidade e um bom desempenho&lt;span&gt;&amp;nbsp; &lt;/span&gt;o vocabulário usado por essa linguagem não tem nada a ver com a&lt;span&gt;&amp;nbsp; &lt;/span&gt;nossa língua no caso o inglês, sendo muitas vezes necessário o conhecimento de eletrônica, bem como do funcionamento lógico interno do computador,&lt;span&gt;&amp;nbsp; &lt;/span&gt;como também&lt;span&gt;&amp;nbsp; &lt;/span&gt;o&lt;span&gt;&amp;nbsp; &lt;/span&gt;que o microprocessador, irá fazer se eu pedir algo, neste nível deve ser especificado detalhe por detalhe o que queremos que ele faça. Sendo esta conversa quase a nível de máquina. Podemos utilizar esta linguagem para implementar&lt;span&gt;&amp;nbsp; &lt;/span&gt;processos que perdem muito tempo para serem resolvido em nosso programa feito em alto nível, mais e melhor usarmos uma linguagem de nível mais alto que o assemble devido a complexidade que esta contém.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/777644295261450989/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/15-os-tipo-de-linguagem.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/777644295261450989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/777644295261450989'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/15-os-tipo-de-linguagem.html' title='1.5. OS TIPO DE LINGUAGEM'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-8051521290472890362</id><published>2011-09-30T10:53:00.001-07:00</published><updated>2011-09-30T10:53:34.723-07:00</updated><title type='text'>1.4. OS DIVERSOS TIPO DE PROGRAMA</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Existem diversos tipos de programa,&lt;span&gt;&amp;nbsp; &lt;/span&gt;geralmente são classificados em três e a partir destes podemos encontrar ramificações&lt;span&gt;&amp;nbsp; &lt;/span&gt;diversas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Os tipos básicos são programa de &lt;b&gt;sistemas&lt;/b&gt;, &lt;b&gt;utilitário&lt;/b&gt; e &lt;b&gt;aplicativo&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A diferença entre eles diz respeito a área em que atuam, usando o nosso exemplo da injeção eletrônica, um carro se movimenta sempre em função do sistema de injeção, isto é o&lt;span&gt;&amp;nbsp; &lt;/span&gt;funcionamento só é possível quando a injeção é bem administrada, mas nós não precisamos saber como ela funciona para podermos dirigir o carro, e ao dirigir podemos ligar o rádio ou o aparelho de CD, sem comprometer o funcionamento do carro, o fato de ligar algum aparelho interno do carro não compromete este de andar, ou algo parecido, podemos até usar um computador portátil&lt;span&gt;&amp;nbsp; &lt;/span&gt;estando no banco do passageiro, além disso, em carros novos existem a opção do próprio sistema encontrar erros contido em algum local e informar ao motorista o que está acontecendo, isso sem comprometer o funcionamento, havendo é claro exceção.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Baseado neste exemplo, podemos dizer que programas de sistema nos auxiliam a dirigir o carro, e que sem ele não podemos&lt;span&gt;&amp;nbsp; &lt;/span&gt;manter o seu funcionamento. Os chamados sistemas operacionais que estão classificados neste tipo, são responsáveis pelo controle da máquina, da sinalização dos dados em seus respectivos barramentos de forma que haja uma certa harmonia, no funcionamento do computador, deixando o serviço pesado&lt;span&gt;&amp;nbsp; &lt;/span&gt;longe dos olhos do usuário. Não precisamos saber como ele funciona, da mesma forma que não precisamos saber como o motor de um carro funciona para podermos dirigi-lo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Os programas ditos utilitários, são aqueles que ajudam na manutenção do computador, verificando sé há algum erro nas unidades de disco, por exemplo. Os programas utilitário&lt;span&gt;&amp;nbsp; &lt;/span&gt;são semelhantes as luzes do painel do carro que analisam e indicam o que pode estar errado e fica a nosso encargo resolver o problema mostrado.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Os programas Aplicativos, são aqueles que mais utilizamos, como os processadores de texto, planilhas eletrônicas, programas personalizados para Contas a pagar. Os programas aplicativos, é como se fosse o CD, ou o radio do carro, é um acessório colocado no carro conforme a necessidade ou vontade o seu dono.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/8051521290472890362/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/14-os-diversos-tipo-de-programa.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/8051521290472890362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/8051521290472890362'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/14-os-diversos-tipo-de-programa.html' title='1.4. OS DIVERSOS TIPO DE PROGRAMA'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-7094440333629132013</id><published>2011-09-30T10:52:00.001-07:00</published><updated>2011-09-30T10:52:49.403-07:00</updated><title type='text'>1.3.O PROGRAMA VISTO COMO UMA MÁQUINA</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O programa em si pode ser comparado com uma máquina não deixando nada a desejar, um programa executa funções pré determinada de forma que tudo que aconteça é regulado, mudado e aperfeiçoado conforme a vontade de seu criador. Fazendo uma comparação grosseira, apenas de forma ilustrativa vamos analisar algo que é novo e de certa forma muito interessante, de saber o seu&lt;span&gt;&amp;nbsp; &lt;/span&gt;funcionamento, e melhor ainda saber como algo moderno pode ser feito de forma experimental usando algoritmo, citaremos após este exemplo, um outro usando como referencial uma panela de pressão visto por muitos como algo sem tecnologia mas que contém toda uma lógica operacional. Desta forma o leitor poderá escolher qual dos dois exemplos e se preferir, os dois, de forma a ilustrar a nossa explanação.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Exemplo 1&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O sistema de injeção de um carro, funciona conforme os dados que variam constantemente, de diversos sensores que indicam as condições&lt;span&gt;&amp;nbsp; &lt;/span&gt;necessárias para o cálculo de combustível&lt;span&gt;&amp;nbsp; &lt;/span&gt;para um bom funcionamento do motor a fim de obter um&lt;span&gt;&amp;nbsp; &lt;/span&gt;rendimento satisfatório em Kilômetros por litro.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O melhor desempenho de um motor depende de diversos fatores independentes, como por exemplo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;A velocidade do veiculo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;A temperatura do motor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;A temperatura do óleo e&lt;span&gt;&amp;nbsp; &lt;/span&gt;do ar admitido&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;A inclinação do terreno &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Os acidentes do terreno’ em que está&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;O volume de ar que é admitido.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Esses dados essenciais para o bom funcionamento de um sistema de injeção são captados por diversos sensores localizados no motor, esses dados captados, devem ter uma resposta em tempo real,&lt;span&gt;&amp;nbsp; &lt;/span&gt;de forma que o carro obtenha o maior rendimento possível.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Para que esse dados sejam &lt;b&gt;comparados&lt;/b&gt;, &lt;b&gt;calculados&lt;/b&gt; e &lt;b&gt;processados&lt;/b&gt; com essa rapidez exigida, temos o auxílio de um computador que captura os &lt;b&gt;dados de entrada,&lt;/b&gt; que seriam os valores &lt;b&gt;variáveis&lt;/b&gt; dos sensores, que se alteram de tempo em tempo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Esse exemplo representa uma máquina real, onde se processa os dados captados pelos diversos sensores do carro para determinar a quantidade de ar e combustível que deve ir para a câmara de explosão. Podendo assim, aumentar o rendimento do motor a níveis excelentes, tendo uma boa economia na manutenção bem como no combustível gasto.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Podemos ver que todos os sensores para serem utilizados e para que esses captassem os dados e transmitíssem para o computador eles deveriam pelo menos existir, isto é&lt;span&gt;&amp;nbsp; &lt;/span&gt;estar &lt;b&gt;declarado&lt;/b&gt;, digamos estar contido no sistema antes que o sistema funcionasse pois a ausência de algum dos sensores comprometeria em muito na análise geral. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Pois bem, esse fato de utilizarmos os sensores é análogo ao fato de em um programa termos de &lt;b&gt;declarar uma variável&lt;/b&gt; antes de usá-la. Em nosso sistema de injeção, as variáveis representam os sensores, e os valores que eles contêm indicam o dado a ser processado e influem na resposta deste processamento&lt;span&gt;&amp;nbsp; &lt;/span&gt;da mesma forma que podemos dizer que em nosso programa as&lt;span&gt;&amp;nbsp; &lt;/span&gt;variáveis são os objetos captadores de dados a serem processados, e elas se alteram continuamente no decorrer do programa influindo na resolução do problema desejado. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Exemplo 2&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Partindo para o nosso segundo exemplo,&lt;span&gt;&amp;nbsp; &lt;/span&gt;tomemos a panela de pressão. Vamos analizar primeiramente porque se usa a panela de pressão em algumas operações culinárias para entendermos o seu funcionamento.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A panela de pressão é utilizada para cozinhar os alimentos rapidamento isso é possivel pela alta pressão no interior da panela fazendo com a agua eleve sus temperatura&lt;span&gt;&amp;nbsp; &lt;/span&gt;acima do ponto de ebulição (100º C). É a alta temperatura quando cozinha os alimento. Como medida de segurança, utiliza-se borrachas que vedam a tampa para que a pressão não escape. E em caso de tampa maç fechada a borracha se dilata, permitindo que a pressão seja expelida de modo a não causar maiores danos. A pressão é determinada por um peso que se encontra na parte superior da tampa e quando a pressão é suficientemente grande para levantar o peso escutamos e vemos o vapor rotacionar o peso de forma a indicar que a pressão interna está no ponto de cozimento estando sob alta pressão e alta temperatura.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Se fôssemos analisar estes aspectos sob á otica do algoritmo poderiamos dizer que esta panela nos ensina fatores importantes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;a temperatura no processo de aquecimento é baixa, sendo insuficiente para elevar o peso com o aumento gradual da pressão em conjunto da temperatura, o peso funciona como um sensor que conforme a variação da pressão testa esta até que seja ultrapassada a resistência necessaria para elevar o peso. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A condição para que o peso se eleve é que a pressão seja suficientemente grande para elevá-lo. A temperatura bem como a pressão são como os &lt;b&gt;dados de entrada&lt;/b&gt; de um programa e estão contidos em uma &lt;b&gt;variável&lt;/b&gt;, que no caso da panela é o peso que se encontra na parte superior da panela. A variável funciona como um sensor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Temos&lt;span&gt;&amp;nbsp; &lt;/span&gt;geralmente um outro sensor ou podemos dizer variável que só é aciona quando a pressão excede muito além do normal. Como segurança, este&lt;span&gt;&amp;nbsp; &lt;/span&gt;sensor é uma variável que funciona em casos não muito comuns, mais essencialmente como forma de segurança ao nosso programa, em nosso caso a panela.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/7094440333629132013/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/13o-programa-visto-como-uma-maquina.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/7094440333629132013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/7094440333629132013'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/13o-programa-visto-como-uma-maquina.html' title='1.3.O PROGRAMA VISTO COMO UMA MÁQUINA'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-3790728910740294591</id><published>2011-09-30T10:51:00.001-07:00</published><updated>2011-09-30T10:51:49.866-07:00</updated><title type='text'>1.2. O QUE UM PROGRAMADOR FAZ</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;Quando desenvolvemos um programa estamos externando a nossa criatividade em algo abstrato, em algo que não se pega, mas que ajuda muito as firmas em processos repetitivos, comparativos&lt;span&gt;&amp;nbsp; &lt;/span&gt;onde uma grande quantidade de dados é usado, a máquina compara com maior velocidade, e analisa o que se pede com grande desempenho, sendo o homem o criador,&lt;span&gt;&amp;nbsp; &lt;/span&gt;seu mestre, porém o programa nunca faz o que não é explícito mediante algoritmo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;A comunicação programador e máquina é feita por determinada linguagem, a linguagem seria para nós, como a língua é para a comunicação entre os habitantes de uma região. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Cada região possue&lt;span&gt;&amp;nbsp; &lt;/span&gt;característica própria da língua usada,&lt;span&gt;&amp;nbsp; &lt;/span&gt;porém o conteúdo que a língua passa, é basicamente a mesma com meras alterações, mudando a forma de se pronunciar e se escrever, se todos soubessem todas as línguas seria mais fácil a comunicação, existe língua em que o vocabulário e pequeno sendo difícil para alguém que habita uma região em que a língua é diferente e&lt;span&gt;&amp;nbsp; &lt;/span&gt;possui mais vocabulários, entender como pode esse tipo anterior&lt;span&gt;&amp;nbsp; &lt;/span&gt;se comunicarem usando poucas palavras. Mas concorda que a conversa entre os habitantes em muitos assuntos são semelhantes mudando apenas a complexidade da comunicação.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A língua com pouco vocabulário é semelhante a linguagem de baixo nível onde deve-se escrever uma maior quantidade de palavras&lt;span&gt;&amp;nbsp; &lt;/span&gt;para expressar algo, enquanto uma com muito vocabulário, semelhante a linguagem de alto nível, com poucas palavras pode-se&lt;span&gt;&amp;nbsp; &lt;/span&gt;entender o que se deseja transmitir.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Usando essa analogia podemos dizer que no mundo da informática muitos falam línguas diferentes, mais realizam muitas vezes a mesma operação, podemos escrever um programa de cadastro de cliente em “linguagem de máquina“ podendo usar o assembler sendo este uma linguagem de baixo nível, baixo nível significa que a linguagem está mais próxima da máquina que do homem, esta linguagem é pouco legível mais é altamente eficaz para a máquina, ou o podemos escrever o mesmo cadastro de cliente em&lt;span&gt;&amp;nbsp; &lt;/span&gt;Visual Basic que é uma linguagem de alto nível, isto é o seu algoritmo é mais fácil de ser entendido pelo homem que pela máquina, em assembler levaríamos meses e até mesmo anos enquanto que em uma linguagem como o Visual Basic levaríamos algo em torno de 30 minutos para desenvolver, porém uma linguagem de baixo nível roda bem mais rápida que uma escrita em alto nível e depois compilada, a compilação é a forma de tornar um programa fonte em linguagem assembler de forma que ele possa ser executado diretamente sem o auxílio de outros programas, os programas compilados são traduzidos de forma que quando a máquina quer executá-lo&lt;span&gt;&amp;nbsp; &lt;/span&gt;não é necessário ajuda de outro&lt;span&gt;&amp;nbsp; &lt;/span&gt;para realizar a tradução, tornando assim esse programas mais rápidos que os interpretados que são&lt;span&gt;&amp;nbsp; &lt;/span&gt;executados com o auxilio de tradutores que trabalham cada vez que executamos o programa. Estes tradutores, são programas que auxiliam a execução, a linguagem que utilizam os interpretadores são, geralmente, mais lenta que as compiladas, pelo fato do fonte ter que ser traduzido toda vez que se necessitar rodar o programa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O programador é semelhante a um arquiteto, ou um projetista de carro, este deve achar a solução mais eficaz para um determinado problema, sendo que o projeto deve ser robusto, rápido e que tenha um design arrojado de forma que o cliente se sinta satisfeito e indique o programa para terceiros, um bom programador é aquele que mostra a melhor solução ao seu cliente.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A criatividade é a melhor ferramenta para um desenvolvedor, desta forma a criatividade deve ser a mola mestra de um programador, pois através da criatividade podemos criar novos métodos e achar novas respostas para os problemas diários encontrados em nossos algoritmos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O programador deve estar ciente de que os programas, terão erros e estes devem ser evitados, arrumados e se não for possível consertar o erro, que ele então seja encontrado e desviado para outras operações pré determinadas de forma a não comprometer a execução .&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/3790728910740294591/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/12-o-que-um-programador-faz.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/3790728910740294591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/3790728910740294591'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/12-o-que-um-programador-faz.html' title='1.2. O QUE UM PROGRAMADOR FAZ'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-5367724395299464564</id><published>2011-09-30T10:50:00.000-07:00</published><updated>2011-09-30T10:50:59.369-07:00</updated><title type='text'>1.1. IDEIAS DE COMO DEVE SER O ALGORITMO.</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Claro&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Escrito para Humano&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Variáveis explicita de sua função&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Um comando pôr linha&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Indentação&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solução de um problema&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Teste do algoritmo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Depuração e analise se os objetivos&lt;span&gt;&amp;nbsp; &lt;/span&gt;foram alcançados&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;O algoritmo deve ser o mais claro possível ao criador no seu desenvolvimento. Depois de apurado e testados as suas rotinas em geral, o criador deste deve pensar que num futuro, esse algoritmo pode ser atualizado, e nem sempre ele terá de cabeça a idéia que teve no momento da criação. Pôr esse motivo, após terminar toda a estrutura, ou no momento em que estiver desenvolvendo o programa, deve-se colocar comentários no próprio programa fonte explicando o que cada passo ou bloco realiza, de forma que em caso de alteração,&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;atualização ou mesmo a busca de um erro se torne fácil até mesmo a outra pessoa que tenha acesso à fonte.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Outro fator importante é que geralmente os algoritmos são escritos em linguagem de alto nível, pôr esse motivo devemos nos preocupar mais com a nossa idéia, que rotina internas da máquina geralmente escritas em assembler. Pôr ser mais fácil trabalhar em alto nível podemos escrever da forma mais legível as nossas operações e escrever um algoritmo para Humano, não para máquina, pois o algoritmo será lido pôr programadores e podemos facilitar escrevendo de forma clara as rotinas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;As variáveis usadas no decorrer do programa devem demostrar o que ele faz, de forma que ao lermos saibamos o que esta representa. Geralmente as variável são escritas em letras minúsculas, outros preferem separar pôr um traço e muitos usam&lt;span&gt;&amp;nbsp; &lt;/span&gt;de forma que a primeira letra de cada palavra seja maiúscula. A forma que se usa a variável é critério do programador, sendo estas apenas sugestões, enfatizando que usando uma dela é interessante manter o padrão até o termino do algoritmo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Os exemplo seque a seqüência de explicação&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;aluno&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Aluno_bom&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;AlunoBom&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Pôr exemplo num calculo de quantidade multiplicada pelo preço&lt;span&gt;&amp;nbsp; &lt;/span&gt;podemos usar como nome da variável que repesenta&lt;span&gt;&amp;nbsp; &lt;/span&gt;quantidade como “Quant”, para preço “preço” e para total “total”. De forma que a expressão, usando esta idéia, ficaria mais clara, que ao invés disso colocássemos&lt;span&gt;&amp;nbsp; &lt;/span&gt;Quantidade como “w”, preço como “t”, Total como “h”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;As expressões seguindo a seqüência ficariam assim&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Total&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; = &lt;b&gt;Quant&lt;/b&gt; * &lt;b&gt;Preço&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;t&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;=&lt;b&gt; w &lt;/b&gt;*&lt;b&gt; h&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Analisando esta comparação podemos tirar nossa propria conclusão de qual das duas é a mais clara para ser lida.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Outro detalhe que é interessante ser utilizado é colocar um comando pôr linha, e indentar mostrando a estrutura lógica, esta forma torna mais claro a leituras, futuras de uma referida parte ou o todo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Ao desenvolver um algoritmo&lt;span&gt;&amp;nbsp; &lt;/span&gt;devemos enfatizar para que estamos escrevendo-o. Geralmente ao criar um algoritmo estamos solucionando um problema, de forma que este, deve ser, se possível uma solução total do problema proposto. Depois de escrito, deve ser testado de forma a simular todas as possíveis falhas que podem ocorrer no uso cotidiano deste programa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Em resumo, devemos seguir os seguintes passos para uma boa solução do problema. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Determinado os objetivos que o programa deve alcançar&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Quais os métodos que serão aplicados em sua confecção.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Testar com auxílio de outro programa ou com auxílio humano as possíveis falhas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Solucionar as falhas e avaliar se os resultados alcançaram os objetivos propostos. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: center; text-indent: 1.0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/5367724395299464564/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/11-ideias-de-como-deve-ser-o-algoritmo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/5367724395299464564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/5367724395299464564'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/11-ideias-de-como-deve-ser-o-algoritmo.html' title='1.1. IDEIAS DE COMO DEVE SER O ALGORITMO.'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-8770027804895073625</id><published>2011-09-30T10:49:00.000-07:00</published><updated>2011-09-30T10:49:14.883-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algoritmo"/><title type='text'>1. O QUE É O ALGORITMO</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Quando falamos em algoritmo as pessoa logo pensam em um bicho de sete cabeças, principalmente os alunos&lt;span&gt;&amp;nbsp; &lt;/span&gt;que iniciam os seus passos no mundo da programação de computadores onde este torna-se um conhecimento essencial para realizarmos boas estruturas de programas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A resolução de um problema real do nosso cotidiano, é realizado muitas vezes de forma a não tomarmos conhecimento dos pormenores necessários para a solução destes, quando queremos que um programa rode, é semelhante a resolvermos um problema do cotidiano, mais a dificuldade para isso aparece no momento em que devemos dizer a uma máquina como ela deve agir, o computador “não pensa”&lt;span&gt;&amp;nbsp; &lt;/span&gt;e pôr esse motivo temos que mostrar como se deve caminhar, dizendo passo a passo o que é isso.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Pôr exemplo, se fôssemos dizer a ele como andar 10 metros&lt;span&gt;&amp;nbsp; &lt;/span&gt;em&lt;span&gt;&amp;nbsp; &lt;/span&gt;uma calçada, devemos entregar um manual a ele explicitando cada passo que ele deve dar é como ele deve saber quando terminou. Os processos possíveis&lt;span&gt;&amp;nbsp; &lt;/span&gt;para esse simples exemplo são infinitos, cada pessoa realizaria este pela sua forma de pensar, desta forma podemos dizer que o algoritmo desenvolvido pôr alguém é como uma assinatura em que cada pessoa tem a sua forma de assinar, e dificilmente encontramos duas assinaturas idênticas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Um outro exemplo é quando&lt;span&gt;&amp;nbsp; &lt;/span&gt;desejamos realizar uma operação matemática qualquer, recorremos a fórmulas ou maneiras aprendidas através de livros, as fórmulas em si são padrões a serem seguidos&lt;span&gt;&amp;nbsp; &lt;/span&gt;conforme teoremas, postulados descobertos e provados pôr matemáticos, físicos do passado, de forma a nos ajudar em calculos atuais, porém as formulas e postulados são ensinados para&lt;span&gt;&amp;nbsp; &lt;/span&gt;serem ferramentas em nossas mãos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-right: -.05pt; text-align: justify; text-indent: 1.0cm;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Em problemas que usarmos essas ferramentas de maneira correta podemos facilitar a resolução.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-ansi-language: PT-BR; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: PT-BR;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Desta forma é o algoritmo, existem regras que ajudam no desenvolvimento de forma a facilitar a vida do aprendiz, não sendo obrigado, mais, e mais fácil percorrem um caminho conhecido a criar&lt;span&gt;&amp;nbsp; &lt;/span&gt;um novo sem ao menos saber andar, depois de aprender a andar ,isto é, a desenvolver um algoritmo, a partir daí o estudante pode adentrar por novos caminho e descobertas para a sua bagagem pessoal de conhecimento.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/8770027804895073625/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/1-o-que-e-o-algoritmo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/8770027804895073625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/8770027804895073625'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/1-o-que-e-o-algoritmo.html' title='1. O QUE É O ALGORITMO'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5605944526177805456.post-1624729981721663548</id><published>2011-09-30T07:51:00.000-07:00</published><updated>2011-09-30T07:51:55.635-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algoritmo"/><title type='text'>INICIO</title><content type='html'>O objetivo desse BLOG é auxiliar o entendimento do que vem a ser algoritmo. As explicações aqui contidas é para atender a&amp;nbsp;compreensão de todos. A ideia de se criar um local para essa publicação é a rotina&amp;nbsp;diária&amp;nbsp;de responder aos alunos. &lt;b&gt;PARA QUE SERVE ALGORITMO ?&lt;/b&gt;&amp;nbsp;Algoritmo é a forma de resolver um problema devidamente descrito. Porem para se utilizar de um algoritmo para resolver uma coisa, devemos ter o ambiente. O ambiente é como se fosse uma cozinha, que tem todo aparato para se fazer bolo, doces entre outros. O algoritmo é a receita do bolo. Para se fazer essa receita, precisa de fogão, panela, colher entre outros. O ambiente que é a cozinha é o sistema operacional. Quando executamos uma receita, &amp;nbsp;precisamos de uma quantidade exata de&amp;nbsp;açúcar, sal, farinha. Nesse momento estamos atribuindo a&amp;nbsp;variáveis&amp;nbsp;valores. É o momento que realizamos o preparo ou o procedimento do bolo, estamos escrevendo e executando o algoritmo.&lt;br /&gt;
&lt;br /&gt;
Aqueles que desejarem sugerir problemas a ser resolvido. Bem como propor melhoria a este BLOG esteja a vontade e sejam bem vindos.</content><link rel='replies' type='application/atom+xml' href='http://algoritmofacil.blogspot.com/feeds/1624729981721663548/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/inicio.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/1624729981721663548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5605944526177805456/posts/default/1624729981721663548'/><link rel='alternate' type='text/html' href='http://algoritmofacil.blogspot.com/2011/09/inicio.html' title='INICIO'/><author><name>Jeronimo Bezerra</name><uri>http://www.blogger.com/profile/04802154909841513224</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>