RESP : Short Circuiting, File Size (LogicalErr), File Naming
- Posted by Mathew Hounsell <mat.hounsell at MAILEXCITE.COM> Jun 24, 1998
- 693 views
[ Short Curcuiting ] I vote No!!! I would prefer if this_is_a[long][name] >1 or < 30 then end if so the < 30 would also compare to this_is_a[long][name] and sequence s if s = "Hello" then end if to improves if. ( Still baracking for the requires <version/platform> keyword. ) [ Getting File Size ] Alan Tu wrote : " include file.e global function file_size( sequence path ) integer file_i, seek_success file_i = open(path, "rb) seek_success = seek(file_i, -1) return where(file_i) -- *ERROR* On Next Line close file_i end function " file_i will never close and it should be close(file_i). reducing you precious file handles even more. [ File Naming ] Lewis wrote : 'mouse.zip' tried to download as 'mouse.exe'. I renamed it in the dialogue box to 'mouse.zip' again but it saved as 'mouse.zip.exe' ". Go into WordPad create a file and try and save as something.diz. Guess what? It gets saved as somthing.diz.txt as Word Pad simplely tacks on the .txt ending. Don't you love Windows '95. I find 3.11 better than 95 hands down. --- Sincerely, Mathew Hounsell Mat.Hounsell at Mailexcite.Com Free web-based email, Forever, From anywhere! http://www.mailexcite.com