Rules at a (Struts hosting) Glance If you omit

Rules at a Glance If you omit the drive from path, a new folder will be created on the current drive. You can specify the drive by using either its local drive letter or its UNC name. path can either be a fully qualified path (i.e., a path from the drive’s root directory to the directory to be created) or a relative path (i.e., a path from the current directory). If the directory to be created by the MkDir procedure already exists, an IOException exception is raised. Programming Tips and Gotchas If your program is running on Windows NT, ensure that the logged-in user has the right to create a folder on the specified drive prior to calling the MkDir procedure. VB does not automatically make the new folder the current folder after a call to MkDir. You will need to call the ChDir procedure to do this. To remove a folder, use the RmDir procedure. Use CurDir to determine the current drive. See Also RmDir Procedure Mod Operator Syntax result = number1 Mod number2 number1, number2 Use: Required Data Type: Any A numeric expression Return Value Returns the modulus Description Returns the modulus, that is, the remainder when number1 is divided by number2. This return value is a non-negative integral data type. Rules at a Glance Floating point numbers are rounded to integers before the division. If number1 or number2 is Nothing, then an error occurs. The Mod operator returns the data type of number1 and number2 if they are the same type, or the widest data type of number1 and number2 if they are different.

Hint: This post is supported by Gama web hosting php services

Comments are closed.