Hello everyone...what would be the most usefull/useless function you have encountered?
Am curios :):):):):)
Printable View
Hello everyone...what would be the most usefull/useless function you have encountered?
Am curios :):):):):)
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
the Replace function was a great addition to VB 6
Either Int or Fix is the most useless function, because they both do exactly the same thing.
Fix() truncates, Int() rounds down. Pathetic difference I know, but I'm a petty person ;)
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))
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.