|
-
Jul 31st, 2000, 02:13 AM
#1
Thread Starter
Addicted Member
-
Jul 31st, 2000, 07:26 AM
#2
Hyperactive Member
Hrmmm.
Most usefull function would have to be Stayontop, the most useless function would have to be, damn hehe i really havnt found anything useless everything has a meaning behind it. I would have to say the most useless function was something I created. lol, a function that closed 1 through 10 just in case they where open, since my program dealed a lot with opening and closing files. There is so many other better ways to go about it. ;oP
-RaY
VB .Net 2010 (Ultimate)
-
Jul 31st, 2000, 08:56 AM
#3
Fanatic Member
the Replace function was a great addition to VB 6
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Jul 31st, 2000, 10:38 AM
#4
Frenzied Member
Either Int or Fix is the most useless function, because they both do exactly the same thing.
-
Jul 31st, 2000, 10:54 AM
#5
Frenzied Member
Fix() truncates, Int() rounds down. Pathetic difference I know, but I'm a petty person
Harry.
"From one thing, know ten thousand things."
-
Jul 31st, 2000, 02:19 PM
#6
Hyperactive Member
Int vs Fix
Hi.
I have found no use for Imp or Eqv.
Also on Int vs Fix:
Remarks
Both Int and Fix remove the fractional part of number and return the resulting integer value.
The difference between Int and Fix is that if number is negative, Int returns the first negative integer less than or equal to number, whereas Fix returns the first negative integer greater than or equal to number. For example, Int converts -8.4 to -9, and Fix converts -8.4 to -8.
Fix(number) is equivalent to:
Sgn(number) * Int(Abs(number))
A computer is a tool, not a toy.
-
Jul 31st, 2000, 02:31 PM
#7
transcendental analytic
Imp and Eqv are both operators not functions, and i have had use of both of them. Most usefull function must be Int() and most useless could be IsError.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|