1. RESP : Short Circuiting, File Size (LogicalErr), File Naming
[ 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
2. Re: RESP : Short Circuiting, File Size (LogicalErr), File Naming
Actually there is a fix out there for this problem. I can save things as
x.txt or x.exe and it works just fine...of course my system is setup with
iexplore 4.0 to look like win 98 also.
Monty
>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
3. Re: RESP : Short Circuiting, File Size (LogicalErr), File Naming
- Posted by Robert B Pilkington <bpilkington at JUNO.COM>
Jun 24, 1998
-
Last edited Jun 25, 1998
>[ 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.
This problem has occured twice, so to keep it from happening again,
here's what you do:
Save as:
"something.diz"
^ ^ this time you actually INCLUDE the double quotes! :)
Then it will listen to what you want, instead of do what it thinks best.
(Oh yeah, do same thing for mouse.zip. Save as "mouse.zip" WITH the
double quotes....)
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]