User contributions for Lettify

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

23 December 2023

20 December 2023

  • 20:1520:15, 20 December 2023 diff hist +20 m FileWritePortuguese version indexed current
  • 20:1520:15, 20 December 2023 diff hist +2,190 N PT-BR/fileWriteCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Escreve uma ou mais strings para um determinado arquivo, iniciando na posição de leitura/gravação atual. A posição avança de acordo com o número de bytes que estiver sendo escrito. ==Sintaxe== <syntaxhighlight lang="lua"> int fileWrite ( file theFile, string string1 [, string string2, string string3 ...]) </syntaxhighlight> {{PT-BR/POO||file:write}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' no qual..." current
  • 20:0320:03, 20 December 2023 diff hist +77 m FileSetPosPortuguese version indexed current
  • 20:0320:03, 20 December 2023 diff hist +1,588 N PT-BR/fileSetPosCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Define a posição atual para leitura/gravação no arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> int fileSetPos ( file theFile, int offset ) </syntaxhighlight> {{PT-BR/POO||file:setPos|pos|PT-BR/fileGetPos}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que você quer mudar a posição de leitura/gravação. *'''offset:''' A nova posição. Este é o número de bytes partindo do início do arquivo. Se est..." current
  • 19:5119:51, 20 December 2023 diff hist +21 m FileRenamePortuguese version indexed current
  • 19:5019:50, 20 December 2023 diff hist +1,889 N PT-BR/fileRenameCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Renomeia o arquivo que especificar. {{BR/Nota|Com esta função você também pode mover determinado arquivo para um lugar diferente, seja uma pasta diferente no resource atual ou até mesmo para a pasta de um outro resource. Mas para fazer isso o resource deve ter a seguinte permissão da ACL definida para ''true'': 'ModifyOtherObjects'.}} ==Sintaxe== <syntaxhighlight lang="lua"> bool fileRename ( string filePath, string newFileP..." current
  • 19:4619:46, 20 December 2023 diff hist +18 m Template:BR/NotaNo edit summary current
  • 19:4619:46, 20 December 2023 diff hist +1 m Template:PT-BR/MessageBoxNo edit summary current
  • 19:3719:37, 20 December 2023 diff hist +19 m FileReadPortuguese version indexed current
  • 19:3719:37, 20 December 2023 diff hist +1,892 N PT-BR/fileReadCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Faz a leitura de uma especificada quantidade de bytes de um determinado arquivo, começando em sua posição atual de leitura/gravação, e retorna o valor como uma ''string''. ==Sintaxe== <syntaxhighlight lang="lua"> string fileRead ( file theFile, int count ) </syntaxhighlight> {{PT-BR/POO||file:read}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que deseja fazer a leitura. Use fileOpen p..." current
  • 19:2519:25, 20 December 2023 diff hist +19 m FileOpenPortuguese version indexed current
  • 19:2519:25, 20 December 2023 diff hist +4,414 N PT-BR/fileOpenCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Abre um arquivo existente para leitura e gravação. {{BR/Nota|Para prevenir perdas de memórias, garanta que cada execução bem sucedida de fileOpen tenha um fileClose para fechar o arquivo aberto.}} {{BR/Tip|As funções que manipulam arquivos não devem ser utilizadas para implementar arquivos de configuração. É recomendado usar as Shared_Scripting_Functions#XML_functions|funções XM..." current
  • 19:0419:04, 20 December 2023 diff hist +20 m FileIsEOFPortuguese version indexed current
  • 19:0419:04, 20 December 2023 diff hist +1,816 N PT-BR/fileIsEOFCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Verifica se a posição atual no arquivo está no fim dele. {{BR/Nota|Devido às restrições subjacentes da API C, esta função pode retornar '''false''' até que seja feita uma tentativa de leitura além do final do arquivo.}} ==Sintaxe== <syntaxhighlight lang="lua"> bool fileIsEOF ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:isEOF|eof}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que você quer..." current
  • 18:5518:55, 20 December 2023 diff hist +78 m FileGetSizePortuguese version indexed current
  • 18:5518:55, 20 December 2023 diff hist +1,161 N PT-BR/fileGetSizeCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} Retorna o tamanho total (em bytes) de determinado arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> int fileGetSize ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:getSize|size}} ===Argumentos necessários=== *'''theFile:''' o '''arquivo''' que você deseja obter o tamanho total. ===Retorno=== Retorna o tamanho do arquivo se tiver sido executado com sucesso, ou '''false''' se tiver ocorrido algum erro (ex.: um '''arqui..." current
(newest | oldest) View (newer 20 | ) (20 | 50 | 100 | 250 | 500)