Sha256: e414ecd1b6124f06c6bb6b32550acf7775b091b9f52d8687bf23d0a658aaf9e2
Contents?: true
Size: 823 Bytes
Versions: 11
Compression:
Stored size: 823 Bytes
Contents
'#-- '# Copyright (c) 2006-2007 Luis Lavena, Multimedia systems '# '# This source code is released under the MIT License. '# See MIT-LICENSE file for details '#++ #include once "testly.bi" #include once "test_helpers.bi" #include once "file.bi" '# Global Helpers function content_of_file(byref filename as string) as string dim result as string dim handle as integer dim buffer as string result = "" buffer = "" if (fileexists(filename) = true) then handle = freefile open filename for input as #handle do while not (eof(handle)) input #handle, buffer result += buffer buffer = "" loop close #handle else result = "" end if return result end function
Version data entries
11 entries across 11 versions & 2 rubygems