Procedural BP Mac OS
Downloads - Mailing list archives
Mac OS X Manual Page For pmapset (3) RPC (3N) RPC (3N) NAME rpc - library routines for remote procedure calls SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Buy SIIG DisplayPort 1.4 to 3 Port DisplayPort DP Multi Monitor Splitter - Triple Display Adapter MST Hub for Windows PC and Laptop (Not for Mac OS): DVI-HDMI Adapters - Amazon.com FREE DELIVERY possible on eligible purchases.
About GNU Pascal
This page is a direct extract from the GPC Manual.If you want to browse the manual, you can start at thetop of the manual or at thecounterpart of this page within the manual.
1 Some of GPC's most interesting features.
The GNU Pascal Compiler (GPC) is, as the name says, the Pascalcompiler of the GNU family (http://www.gnu.org/software/gcc/). This means:
- GPC is a 32/64 bit compiler,
- does not have limits like the 64 kB or 640 kB limit known fromcertain operating systems – even on those systems –,
- runs on all operating systems supported by GNU C, including
- GNU Hurd,
- Linux on Intel, AMD64, Sparc,Alpha, S390, and all other supported types of hardware,
- the BSD family: FreeBSD,NetBSD,OpenBSD,
- DOS with 32 bits, usingDJGPP or EMX,
- MS-Windows 9x/NT, usingCygWin ormingw orMSYS,
- OS/2 with EMX,
- Mac OS X,
- MIPS-SGI-IRIX,
- Alpha-DEC-OSF,
- Sparc-Sun-Solaris,
- HP/UX,
and more (note: the runtime system only supports ASCIIbased systems; that includes almost all of today's systems, but afew IBM machines still use EBCDIC; on those, the compiler might run,but the runtime support might need major changes),
- can act as a native or as a cross compiler between allsupported systems,
- produces highly optimized code for all these systems,
- isFree Software(Open-Source Software)according to theGNU General Public License,
- is compatible to other GNU languages and tools such as GNU Cand the GNU debugger.
The compiler supports the following language standardsand quasi-standards:
- ISO 7185 Pascal (see Resources),
- most of ISO 10206 Extended Pascal,
- Borland Pascal 7.0,
- parts of Borland Delphi, Mac Pascal and Pascal-SC (PXSC).
Some highlights:
- From Standard Pascal: Many popular Pascal compilers claim toextend Standard Pascal but miss these important features.
- Conformant array parameters – the standardized and comfortable wayto pass arrays of varying size to procedures and functions. [Example]
- Passing local procedures as procedural parameters – with fullaccess to all variables of the “parent” procedure. [Example]
- Automatic file buffers and standard Get and Putprocedures. Read ahead from files without temporary variables. [Example] This allows you, for instance, tovalidate numeric input from text files before reading withoutconversion through strings. [Example]
- True packed records and arrays. Pack 8 Booleans into 1 byte. [Example]
- Internal files. You don't have to worry about creating temporaryfile names and erasing the files later. [Example]
- Global goto. (Yes, goto has its place when it is notrestricted to the current routine.) [Example]
- Automatically set discriminants of variant records in New. [Example]
- Sets of arbitrary size. [Example]
- From Extended Pascal:
- Strings of arbitrary length. [Example]
- ReadStr and WriteStr. Read from and write to stringswith the full comfort of ReadLn/WriteLn. [Example]
- System-independent date/time routines. [Example]
- Set member iteration:for Ch in ['A' .. 'Z', 'a' .. 'z'] do ...[Example]
- Set extensions (symmetric difference, Card)
- Generalized Succ and Pred functions(
foo := Succ (bar, 5);
). - Complex numbers. [Example][Example]
- Exponentiation operators (pow and **) for realand complex numbers.
- Initialized variables. [Example]
- Functions can return array or record values.
- Result variables. [Example]
- Modules.
- Non-decimal numbers in base 2 through 36: base#number.
- MinReal, MaxReal, EpsReal, MaxCharconstants.
- Schemata – the Pascal way to get dynamic arrays without dirtytricks. [Example]
- Local variables may have dynamic size. [Example]
- Array Slice Access – access parts of an array as a smaller array,even on the left side of an assignment[Example]
- Compatible to Borland Pascal 7.0 with objects (BP):
- Supports units, objects, ..., and makes even things likeabsolute variables portable. [Example]
- Comes with portable versions of the BP standard units withfull source.
True network-transparent CRT unit: You can run your CRT applicationslocally or while being logged in remotely, without any need to worryabout different terminal types. Compatible to BP's unit, but withmany extensions, such as overlapping windows. [Example]
(PNG, 21 kB)- Fully functional GUI (X11) version of CRT (also completelynetwork transparent).
- The Random function can produce the same sequence ofpseudo-random numbers as BP does – if you need that instead of themuch more elaborate default algorithm.
- Supports BP style procedural variables as well as Standard Pascal'sprocedural parameters. [Example]
- A Ports unit lets you access CPU I/O ports on systems wherethis makes sense. [Example]
- Special compatibility features to help migrating from BP to GPC,like a GPC for BP unit which provides some of GPC's featuresfor BP, and some routines to access sets of large memory blocks in auniform way under GPC and BP (even in real mode). [Example]
- Comes with a BP compatible binobj utility. [Example]
- From Borland Delphi:
- abstract object types and methods
- is and as operators to test object typemembership
- Comments with //
- Empty parameter lists with ()
- Assertions
- A SetLength procedure for strings makes it unnecessaryto use dirty tricks like assignments to the “zeroth character”.
- Initialize and Finalize for low-level handlingof variables.
- initialization and finalization for units.
- From Pascal-SC (PXSC):
- User-definable operators. Add your vectors with +.
- Carefully designed GNU extensions help you to make yourreal-world programs portable:
- 64-bit signed and unsigned integer types.
- Special types guarantee compatibility to other GNU languages such asGNU C. Directives like {$L foo.c} make it easy tomaintain projects written in multiple languages, e.g., includingcode written in other languages into Pascal programs[Example (Pascal part)][Example (C part)],
- or including Pascal code into programs written in other languages. [Example (Pascal part)][Example (Pascal unit)][Example (C part)]
- Extensions like BitSizeOf and ConvertFromBigEndianhelp you to deal with different data sizes and endianesses. [Example]
- Little somethings like DirSeparator,PathSeparator, GetTempDirectory help you to writeprograms that look and feel “at home” on all operating systems.
- The PExecute routine lets you execute child processes in aportable way that takes full advantage of multitasking environments. [Example][Example]
- The GNU GetOpt routines give you comfortable access to Unix-styleshort and long command-line options with and without arguments. [Example]
- Routines like FSplit or FSearch or FExpand knowabout the specifics of the various different operating systems. [Example]
- The FormatTime function lets you format date and time values,according to various formatting rules. [Example]
- Useful and portable GNU standard units:
- A Pipes unit gives you inter-process communication even underplain DOS. [Example][Demo process for the example]
- With the RegEx unit you can do searches with regularexpressions. [Example]
- The GNU MultiPrecision (GMP) unit allows you to doarithmetics with integer, real, and rational numbers of arbitraryprecision. [Example: factorial][Example: fibonacci][Example: power][Example: real power][Example: pi]
- Posix functions like ReadDir, StatFS orFileLock provide an efficient, easy-to-use and portableinterface to the operating system. [Example][Example][Example]
- A DosUnix unit compensates for some of the incompatibilitiesbetween two families of operating systems. [Example]
- An MD5 unit to compute MD5 message digests, according to RFC1321. [Example]
- A FileUtils unit which provides some higher-level file anddirectory handling routines. [Example]
- A StringUtils unit which provides some higher-level stringhandling routines. [Example]
- An Intl unit for internationalization. [Example][Example]
- A Trap unit to trap runtime errors and handle them withinyour program. [Example]
- A TFDD unit that provides some tricks with text files, e.g. a“tee” file which causes everything written to it to be written totwo other files. [Example]
- A HeapMon unit to help you find memory leaks in yourprograms.
The demo programs mentioned above are available both on the WWW andin GPC source and binary distributions.
Disadvantages:
- The GNU debugger (GDB) still has some problems with Pascaldebug info.
- Compilation with GPC takes quite long.
Co-workers welcome!
Able, committed programmers are always welcome in the GNU Pascalteam. If you want to be independent of companies that you have topay in order to get a compiler with more restrictive licensingconditions that only runs on one operating system, be invitedto join the development team, Acknowledgments.
- About GNU Pascal
Procedural Bp Mac Os X
Copyright © 1996-2005 GNU Pascal development team
Verbatim copying and distribution is permitted in any medium,provided that this notice and the disclaimer below arepreserved.
Procedural Bp Mac Os Catalina
This information is provided in the hope that it will be useful,but without any warranty. We disclaim any liability for the accuracyof this information.
Procedural Bp Mac Os Download
We are not responsible for the contents of web pages referencedby this site.