ISO Modula-2 Library Reference
00 00 00 0000000000000000000000 Input/Output Standard and Default Channels Module StdChans Reading and Writing of Data Modules TextIO and STextIO Modules WholeIO and SWholeIO Modules RealIO, SRealIO, LongIO, and SLongIO Modules RawIO and SRawIO Module IOConsts Modules IOResult and SIOResult Device-Independent Channel Operations Module IOChan Module IOChan - Text Operations Module IOChan - Raw Operations Module IOChan - Common Operations Module IOChan - Access to Read Results Module IOChan - Channel Enquiries Module IOChan - Exceptions and Device Errors Obtaining Channels from Device Modules Module ChanConsts Module StreamFile Module SeqFile Module RndFile Module TermFile Module ProgramArgs Interface to Channels for New Device Modules Module IOLink Mathematical Modules RealMath and LongMath Constants - Useful constants sqrt - Calculate square root exp - Calculate exponent ln - Calculate natural logarithm sin - Calculate sine cos - Calculate cosine tan - Calculate tangent arcsin - Calculate arcsine arccos - Calculate arccosine arctan - Calculate arctangent power - Calculate power round - Round IsRMathException - Query exceptional state Modules ComplexMath and LongComplexMath Constants - Useful constants abs - Calculate modulus arg - Calculate argument conj - Calculate conjugate power - Calculate power sqrt - Calculate square root exp - Calculate exponent ln - Calculate natural logarithm sin - Calculate sine cos - Calculate cosine tan - Calculate tangent arcsin - Calculate arcsine arccos - Calculate arccosine arctan - Calculate arctangent polarToComplex - Convert from polar to complex scalarMult - Scalar Multiplication IsCMathException - Query exceptional state Concurrent Programming Module Processes Types of Processes The Procedures of Processes Create - Create new process Start - Start new process StopMe - Terminate calling process SuspendMe - Suspend calling process Activate - Activate process SuspendMeAndActivate - Suspend current process and activate another Switch - Switch to another process Wait - Wait for event Attach - Associate event source Detach - Dissociate event source IsAttached - Query event source Handler - Query event handler Me - Query current process id MyParam - Query current process parameter UrgencyOf - Query process urgency IsProcessesException - Query exceptional state ProcessesException - Query exception id Module Semaphores Create - Create new semaphore Destroy - Destroy semaphore Claim - Claim semaphore Release - Unclaim semaphore CondClaim - Claim semaphore safely IsSemaphoresException - Query exceptional state String Manipulation Module Strings Length - Query string length CanAssignAll - Check whether Assign will succeed Assign - Assign string value CanExtractAll - Check whether Extract will succeed Extract - Extract substring CanDeleteAll - Check whether Delete will succeed Delete - Delete substring CanInsertAll - Check whether Insert will succeed Insert - Insert substring CanReplaceAll - Check whether Replace will succeed Replace - Replace substring CanAppendAll - Check whether Append will succeed Append - Append string CanConcatAll - Check whether Concat will succeed Concat - Concatenate strings Capitalize - Capitalize string Compare - Compare strings Equal - Compare strings FindNext - Search string forward FindPrev - Search string backward FindDiff - Find position of string difference String Conversions Common Data Types Module ConvTypes High-Level String Conversion Modules EXAMPLE - Conversion of strings read by ReadToken Module WholeStr Modules RealStr and LongStr Low-Level String Conversion Modules EXAMPLE - Use of ScanInt Module WholeConv Modules RealConv and LongConv Miscellaneous Module CharClass IsNumeric - Test for numeric character IsLetter - Test for letter IsUpper - Test for upper case letter IsLower - Test for lower case letter IsControl - Test for control character IsWhiteSpace - Test for white space character Modules LowReal and LowLong Constants and Types - exponent - Exponent value fraction - Significand part sign - Signum succ - Next greater value ulp - Unit in the last place pred - Previous less value intpart - Integral part fractpart - Fractional part scale - Scale trunc - Truncate round - Round synthesize - Construct value setMode - Set status flags currentMode - Current status flags IsLowException - Query exceptional state Module Storage StorageExceptions - Storage exceptions identities ALLOCATE - Allocate storage DEALLOCATE - Deallocate storage IsStorageException - Query exceptional state StorageException - Query exception id Module SysClock The Constants and Types of SysClock CanGetClock - Query system clock read permission CanSetClock - Query system clock write permission IsValidDateTime - Verify date and time GetClock - Determine current date and time SetClock - Set current date and time