User contributions for Lettify

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

20 December 2023

  • 18:5118:51, 20 December 2023 diff hist +77 m FileGetPosPortuguese version indexed current
  • 18:5118:51, 20 December 2023 diff hist +1,429 N PT-BR/fileGetPosCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Retorna a posição atual na leitura/gravação de um determinado arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> int fileGetPos ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:getPos|pos|PT-BR/fileSetPos}} ===Argumentos necessários=== *'''theFile:''' o '''arquivo''' que você deseja obter a posição. ===Retorna=== Retorna a posição do arquivo, ou ''false'' se tiver ocorrido algum erro (ex.: um '''arquivo''' inv..." current
  • 18:4318:43, 20 December 2023 diff hist +22 m FileGetPathPortuguese version indexed current
  • 18:4318:43, 20 December 2023 diff hist +1,069 N PT-BR/fileGetPathCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} {{PT-BR/New feature/item|3.0153|1.5.3|7446| Esta função retorna o caminho de um determinado arquivo. }} ==Sintaxe== <syntaxhighlight lang="lua"> string fileGetPath ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:getPath|path}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que você quer obter o caminho. ===Retorno=== Retorna uma ''string'' representando o caminho do arquivo, ''false'' se um arquivo inv..." current
  • 18:3018:30, 20 December 2023 diff hist +26 m FileGetContentsPortuguese version indexed current
  • 18:3018:30, 20 December 2023 diff hist +1,977 N PT-BR/fileGetContentsCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} {{PT-BR/Added feature/item|1.6.1|1.6.0|21938| Faz a leitura de todo o conteúdo do arquivo, opcionalmente verifica o arquivo lido calculando e comparando a soma de verificação com o que é esperado, e retorna o conteúdo em formato de ''string''. A posição do cursor (caret) do arquivo não é modificada pelas execuções dessa função. }} Por favor note que sempre que você habilitar SD #22 e #23 no seu servidor, você não es..." current
  • 18:1718:17, 20 December 2023 diff hist +1,670 N Template:PT-BR/Added feature/itemCreated page with "<includeonly>{{#ifexpr: ({{{1|}}}) = {{Next Stable Version}} and ({{{2|}}}) = {{Current Stable Version}} |<div style='border: 2px solid #1b2027; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #1b2027; color: #fff; font-weight: bold; padding: 4px 8px'><span style="color: #fff; text-decoration: underline">BETA</span>: NOVO RECURSO (BUILD: {{{2}}} {{r|{{{3}}}}})</div><div style='padding: 4px 8px'>{{{4}}}</div></div> |{{#ifex..." current
  • 18:1418:14, 20 December 2023 diff hist +76 m FileFlushPortuguese version indexed current
  • 18:1418:14, 20 December 2023 diff hist +1,590 N PT-BR/fileFlushCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Força a execução de gravações pendentes no disco. fileWrite não grava diretamente no disco, mas coloca os dados em um buffer temporário; só quando existe dados o suficiente nesse buffer é que as informações são gravadas no disco. Execute essa função se você precisar que os dados sejam gravados no instante em que chamar, sem precisar fechar o arquivo que estiver aberto com as gravações pendentes...." current
  • 17:5917:59, 20 December 2023 diff hist +21 m FileExistsPortuguese version indexed current
  • 17:5917:59, 20 December 2023 diff hist +2,937 N PT-BR/fileExistsCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Esta função verifica se um determinado arquivo existe em um resource. ==Sintaxe== <syntaxhighlight lang="lua"> bool fileExists ( string filePath ) </syntaxhighlight> {{PT-BR/POO|Esta é uma função estática abaixo da classe File.|File.exists}} ===Argumentos necessários=== *'''filePath:''' O caminho do arquivo a ser criado seguindo o seguinte formato: '''":resourceName/path"'''. '''resourceName''' é o nome do..." current
  • 17:4517:45, 20 December 2023 diff hist +21 m FileDeletePortuguese version indexed current
  • 17:4517:45, 20 December 2023 diff hist +1,770 N PT-BR/fileDeleteCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Deleta um determinado arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> bool fileDelete ( string filePath ) </syntaxhighlight> {{PT-BR/POO|Esta é uma função estática abaixo da classe File.|File.delete}} ===Argumentos necessários=== *'''filePath:''' O caminho do arquivo para deletar no seguinte formadt: '''":resourceName/path"'''. ''resourceName'' é o nome do resource do arquivo que vai estar lá, e ''path''..." current
  • 17:3517:35, 20 December 2023 diff hist +2,598 N PT-BR/fileCopyCreated page with "{{BR/Funcao compartilhada}} __NOTOC__ Esta função copia um arquivo. {{BR/Nota|As funções que manipulam arquivos não devem ser utilizadas para implementar arquivos de configuração. É recomendado usar as funções XML.}} {{BR/Tip|Se você não quiser compartilhar o conteúdo do arquivo criado com outros servidores, nomeie o caminho do arquivo com '''@''' no início. Veja a página filepath para entender melhor.}} ==..." current
  • 17:3517:35, 20 December 2023 diff hist +103 m FileCopyPortuguese version indexed current
  • 17:2617:26, 20 December 2023 diff hist 0 m PT-BR/fileCreateNo edit summary current
  • 17:2617:26, 20 December 2023 diff hist 0 m PT-BR/fileCreateNo edit summary
  • 17:2417:24, 20 December 2023 diff hist +20 m FileCloseNo edit summary current
  • 17:2417:24, 20 December 2023 diff hist +1,263 N PT-BR/fileCloseCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Fecha um '''arquivo''' obtido por fileCreate ou fileOpen. ==Sintaxe== <syntaxhighlight lang="lua"> bool fileClose ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:close}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que quer fechar. ===Retorno=== Retorna ''true'' se o arquivo tiver sido fechado com sucesso, ''false'' caso contrário. ==Exemplo== Este exemplo cria u..." current
  • 17:2317:23, 20 December 2023 diff hist +252 m Template:PT-BR/File functionsNo edit summary current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)