1
MICROSOFT LANGUAGES NEWSLETTER Vol. 1-2 News about the Microsoft Language Family New Microsoft® LISP Offers a Complete LISP ftogramrning Environment Microsoft has extended its six-year relationship with Soft Warehouse, Inc. of Hawaii by renewing the licensing agreements for muLISP™ and muMATH™ products. Microsoft LISP, the newly updated release of Microsoft muLISI? is the most powerful LISP development environment available for MS-DOS® today. Not only is Microsoft LISP three times faster than its competitors, it also allows larger artificial intelligence programs and expert systems to be developed. The new LISP provides over 400 Common LISP functions, macros, special forms, and control variables. Microsoft LISP comes with an integrated window-oriented LISP editor and debugger, tutorial lessons, and several demonstration LISP programs. Mixed Memory Model Dynamic Allocation in Microsoft C—Part 1 The standard method of dynamic heap allocation in C is provided by the malloc and free library routines. In Microsoft C this has been extended to allow mixed memory model dynamic allocation and deallocation in both near and far heaps for all memory models by using the undocumented routines below: extern char near* _nmalloc(unsigned int); extern void _nfree(char near*); extern char far* _fmalloc(unsigned int); extern void _ffree(char far*); /*near heap*/ /*near heap*/ /*far heap*/ /*far heap*/ For example, a small memory model C program can be written that can dynamically allocate and access more than 64K of data by using far heap allocation and far pointers. Similarly, the efficiency of large model programs can be improved by using near pointers and the near heap. However, with mixed model programming, care must be taken when accessing library routines that take pointers for parameters. Part II to follow next month. Microrim's R:BASE™ 5000 Developed in Microsoft FORTRAN and C The core R:BASE 5000 database management system product contains about 40,000 lines of Microsoft FORTRAN code. New modules for R.BASE were developed in Microsoft C. Fred Gray, Microrim's Director of Development said, "Interlanguage calling allows us to migrate our code from FORTRAN to C without having to rewrite the entire product at once'.' Microrim also provides the R.BASE Program Interface .which is a library of relocatable FORTRAN routines for accessing R.BASE databases. The interlanguage calling support in Microsoft FORTRAN, Pascal, and C allows application developers to call any routine in the Program Interface. Write to: MICROSOFT Languages Newsletter 10700 Northup Way, Box 97200 Bellevue, WA 98009 for product and update information Or phones (800) 426-9400. In Washington State and Alaska, call (206) 828-8088. In Canada, call (800) 387-6616. Microsoft and MS-DOS are registered trademarks of Microsoft Corporation. muLISP and muMATH are trademarks of Soft Warehouse, Inc. R.BASE ts a trademark of Microrim, Inc. Latest DOS Versions: Microsoft C 3.00 Microsoft COBOL 2.10 Microsoft FORTRAN 3.31 Microsoft Macro Assembler 4.00 Microsoft Pascal 3.31 Microsoft QuickBASIC 1.00 pcjs.org

News about the Microsoft Language Family · the licensing agreements for muLISP™ and muMATH™ products. Microsoft LISP, the newly updated

  • Upload
    lamtruc

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

MICROSOFT LANGUAGES NEWSLETTER Vol. 1-2News about the Microsoft Language Family

New Microsoft® LISP Offers a Complete LISP ftogramrning EnvironmentMicrosoft has extended its six-year relationship with Soft Warehouse, Inc. of Hawaii by renewing

the licensing agreements for muLISP™ and muMATH™ products. Microsoft LISP, the newly updatedrelease of Microsoft muLISI? is the most powerful LISP development environment available forMS-DOS® today. Not only is Microsoft LISP three times faster than its competitors, it also allowslarger artificial intelligence programs and expert systems to be developed. The new LISP providesover 400 Common LISP functions, macros, special forms, and control variables. Microsoft LISPcomes with an integrated window-oriented LISP editor and debugger, tutorial lessons, and severaldemonstration LISP programs.

Mixed Memory Model Dynamic Allocation in Microsoft C—Part 1The standard method of dynamic heap allocation in C is provided by the malloc and free

library routines. In Microsoft C this has been extended to allow mixed memory model dynamicallocation and deallocation in both near and far heaps for all memory models by using theundocumented routines below:

extern char near* _nmalloc(unsigned int);extern void _nfree(char near*);extern char far* _fmalloc(unsigned int);extern void _ffree(char far*);

/*near heap*//*near heap*//*far heap*//*far heap*/

For example, a small memory model C program can be written that can dynamically allocateand access more than 64K of data by using far heap allocation and far pointers. Similarly, theefficiency of large model programs can be improved by using near pointers and the near heap.However, with mixed model programming, care must be taken when accessing library routinesthat take pointers for parameters.

Part II to follow next month.

Microrim's R:BASE™ 5000 Developed in Microsoft FORTRAN and CThe core R:BASE 5000 database management system product contains about 40,000 lines of

Microsoft FORTRAN code. New modules for R.BASE were developed in Microsoft C. Fred Gray,Microrim's Director of Development said, "Interlanguage calling allows us to migrate our code fromFORTRAN to C without having to rewrite the entire product at once'.'

Microrim also provides the R.BASE Program Interface .which is a library of relocatableFORTRAN routines for accessing R.BASE databases. The interlanguage calling support inMicrosoft FORTRAN, Pascal, and C allows application developers to call any routine in theProgram Interface.

Write to: MICROSOFT Languages Newsletter10700 Northup Way, Box 97200Bellevue, WA 98009 for product and update informationOr phones(800) 426-9400. In Washington State and Alaska,call (206) 828-8088. In Canada, call (800) 387-6616.

Microsoft and MS-DOS are registered trademarks of Microsoft Corporation. muLISP and muMATH are trademarks ofSoft Warehouse, Inc. R.BASE ts a trademark of Microrim, Inc.

Latest DOS Versions:Microsoft C 3.00Microsoft COBOL 2.10Microsoft FORTRAN 3.31Microsoft Macro Assembler 4.00Microsoft Pascal 3.31Microsoft QuickBASIC 1.00

pcjs.org