# All Procedures

• Abs — Converts negative numbers to positive numbers.
• Acos — Calculates the arc cosine of a number.
• Asin — Calculates the arc sine of a number.
• Atan — Calculates the arc tangent of a number.
• Atan2 — Calculates the arc tangent of y/x.
• AvailableLocales — Returns all locales available to TMBASIC.
• AvailableTimeZones — Returns all time zones available to TMBASIC.
• Ceil — Finds the closest integer ≥ x.
• Characters — Converts a String to a list of characters.
• Chr — Converts a Unicode code point to a string.
• CodePoints — Converts a string to a list of 32-bit Unicode code points.
• CodeUnit — Gets one 16-bit Unicode code unit from a string.
• CodeUnits — Converts a string to a list of 16-bit Unicode code units.
• Concat — Combines multiple strings into one, with an optional separator between them.
• Cos — Calculates the cosine of an angle in radians.
• CreateDirectory — Creates a directory, and any parent directories in the path as needed.
• DateFromParts — Creates a Date from individual date components.
• DateTimeFromParts — Creates a DateTime from individual date and time components.
• DateTimeOffsetFromParts — Creates a DateTimeOffset from individual date, time, and zone components.
• Days — Creates a TimeSpan for the specified number of days.
• DeleteDirectory — Deletes a directory, and optionally any subdirectories or files inside it.
• DeleteFile — Deletes a file.
• ErrorCode — Gets the last error code that was thrown.
• ErrorMessage — Gets a user-readable description of the last error to be thrown.
• Exp — Calculates e^x.
• FileExists — Checks whether a file exists or not.
• Floor — Finds the closest integer ≤ x.
• HasValue — Determines whether an Optional contains a value of the underlying type.
• Hours — Creates a TimeSpan for the specified number of hours.
• Len — Returns the number of 16-bit Unicode code units in a String.
• ListDirectories — Lists all the subdirectories in a given directory.
• ListFiles — Lists all the files in a given directory.
• Log — Calculates the natural (base-e) logarithm of a number.
• Log10 — Calculates the base-10 logarithm of a number.
• Milliseconds — Creates a TimeSpan for the specified number of milliseconds.
• Minutes — Creates a TimeSpan for the specified number of minutes.
• NewLine — Returns the end-of-line character sequence.
• PathCombine — Makes a filesystem path by combining multiple path components with slashes.
• PathDirectoryName — Gets the parent directory that contains the given directory or file.
• PathExtension — Gets the file extension (like .txt) from a path.
• PathFileName — Gets the filename part of a path.
• PathFileNameWithoutExtension — Gets the part of the filename before the final dot.
• PathSeparator — Returns the path separator character.
• ReadFileBytes — Reads the contents of a file as a list of bytes.
• ReadFileLines — Reads the contents of a file as a list of strings.
• ReadFileText — Reads the contents of a file as a string.
• Round — Finds the closest integer to a given number.
• Seconds — Creates a TimeSpan for the specified number of seconds.
• Sin — Calculates the sine of an angle in radians.
• Sqr — Calculates the square root of a number.
• StringFromCodePoints — Creates a string from a list of 32-bit Unicode code points.
• StringFromCodeUnits — Creates a string from a list of 16-bit Unicode code units.
• Tan — Calculates the tangent of an angle in radians.
• TimeZoneFromName — Looks up a TimeZone by name.
• TotalDays — Converts a TimeSpan to days.
• TotalHours — Converts a TimeSpan to hours.
• TotalMilliseconds — Converts a TimeSpan to milliseconds.
• TotalMinutes — Converts a TimeSpan to minutes.
• TotalSeconds — Converts a TimeSpan to seconds.
• Trunc — Returns the integer part of the given number.
• UtcOffset — Calculates the difference between UTC and another time zone for a particular local time.
• Value — Returns the underlying value contained in an Optional.
• WriteFileBytes — Creates or overwrites a text file with a list of bytes.
• WriteFileLines — Creates or overwrites a text file with a list of line strings.
• WriteFileText — Creates or overwrites a text file with the contents of a string.