⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cenvi.doc

📁 C 语言开发HNT格式数据库系统
💻 DOC
📖 第 1 页 / 共 4 页
字号:
          "CENVI_EXIT:".  This example Rexx file for OS/2 behaves the same
          as the previous batch program example (CEnviSet.cmd is an OS/2
          batch file that helps run Cmm files if environment variables need
          to be altered--see ESet in the OS2Lib appendix):

              /***********************************************************
               *** SUM.CMD - Use CEnvi to sum lots of numbers together,***
               ***           setting the SUM environment variable to   ***
               ***           the result of adding all the numbers.     ***
               ***********************************************************/
              'call CEnviSet %0.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9'
              SIGNAL CENVI_EXIT

              main(argc,argv)
              {
                SUM = 0;
                for ( i = 1; i < argc; i++ )
                SUM += atoi(argv[i])
              }

              CENVI_EXIT:

1.6.9   CMM File Association and Drag-and-Drop (OS/2)

          You can associate CEnvi.exe with .cmm files through the settings
          notebook of CEnvi.exe.  This lets you executed any CEnvi *.cmm
          file simply by double-clicking its icon in the desktop.

          A Cmm program can be set up as a Workplace Shell program that
          accepts drag and drop.  To do this, drag a program template out
          of the templates folder and place it on the desktop where you
          want your Cmm program to run from.  In program settings for this
          program object set the program name to the path and file
          specification for CEnvi.exe (e.g., "C:\CMM\CEnvi.exe").  Set
          Parameters to the full source and file name of the Cmm file
          (e.g., "C:\CMM\CZIP.cmm").  Then rename the program object to
          whatever you want (e.g., "CZIP").  Then whenever you drag a file
          onto that object then the filename will be the second argument to
          main().

1.6.10  CMM File Association and Drag-and-Drop (Windows)

          You can associate Cmm files with CEnvi.exe by using the File
          Manager: select a .cmm file then choose File/Association and
          select the full path to CEnvi.exe.  After this, you can run any
          of *.cmm program simply by double-clicking on it.

1.6.11  /BIND= Create Stand-Alone Cmm Executables

          The CEnvi /BIND option allows you to create stand-alone,
          royalty-free executables from your Cmm code.  The result of /BIND
          is a binary executable file that operates the same as if CEnvi
          were invoked as an interpreter, except that CEnvi.exe is not
          needed to execute the bound file, because CEnvi.exe and your Cmm
          code are bound together in the created executable.

          The following example creates an executable named HELLOW.EXE that
          would print "Hello world!".

              CEnvi /BIND=HELLOW printf("Hello world!");

          As another example, you could create a stand-alone editor, which
          we'll call CMMEDIT.EXE, from the result of the CEnvi tutorial
          with the following command:

              CEnvi /BIND=CMMEDIT.EXE CMMEDIT.CMM

          Now running "CMMEDIT.EXE C:\AUTOEXEC.BAT" from the command line
          would be identical to executing "CENVI.EXE CMMEDIT.CMM
          C:\AUTOEXEC.BAT".

1.6.12  /BIND for OS/2 and CEnvi2PM.EXE

          When you /BIND Cmm source code that contains calls to
          PMDynamicLink(), or other PMxxx() calls that invoke CEnvi2PM.exe,
          the resulting executable will still require CEnvi2PM.exe.  So
          users running the bound executable will still need CEnvi2PM.exe
          in a directory of their search path.  CEnvi2PM.exe may be
          distributed royalty-free.

1.6.13  /BIND for Windows

          The simplest method for using /BIND in Windows is to execute
          CEnvi.exe, and then to enter the /BIND statement and Cmm source
          name from the CEnvi command prompt.  For example, to turn
          WhoRYou.cmm into the stand-alone WhoRYou.exe, you would execute
          CEnvi.exe and then enter the following at the CEnvi "Code:"
          prompt:

              Code: /BIND=WhoRYou WhoRYou.cmm

-------------------------------- FILE LIST --------------------------------
The CEnvi Unregistered Shareware package includes the files in the
following list.  You are not permitted to upload or otherwise transfer
copies of any registered version of CEnvi that does not include all of the
files in this list.

*CENVI.EXE: CEnvi shareware executable for DOS, OS/2, or Windows.
*CENVI2PM.EXE: Gateway program, executed trasnparently by CEnvi, for access
  to PM-dependent system calls (OS/2 version only).
*CENVI.DOC: CEnvi Shareware Manual, Chapter 1: CEnvi Unregistered Shareware
*CMMTUTOR.DOC: CEnvi Shareware Manual, Chapter 2: Cmm Language Tutorial
*CMM_VS_C.DOC: CEnvi Shareware Manual, Chapter 3: Cmm versus C, for C
  Programmers
*CENVILIB.DOC: CEnvi Shareware Manual, Chapter 4: Function Library
*LICENSE.DOC: CEnvi Unregistered Shareware License Agreement
*README.DOC: Introductory file. Read this first for quick intallation.
*REGISTER.DOC: CEnvi registration form
*INSTALL.CMM: Cmm source file for installing this shareware version
* *.CMM, *.CMD, *.BAT, *.LIB: Many many sample programs using CEnvi.  See
  CENVI.DOC for a complete list.

----------------------------- REGISTRATION -------------------------------
This is a shareware release.  Please register.  As a registered CEnvi user
you will receive:
*The latest version of CEnvi for all supported platforms (currently DOS,
  OS/2, and Windows).
*The CEnvi user's manual (almost 100 pages, including a description of the
  Cmm programming language, a tutorial for those who have never programmed,
  and descriptions and examples of the over 150 functions included in the
  CEnvi library).
*Free incremental electronic downloads for new versions of CEnvi for all
  supported operating systems.
*Unlimited support from Nombas and CEnvi/Cmm users through CompuServe
  (72212,1622), internet (bsn@world.std.com), the cenvi-cmm e-mail mailing
  list (cenvi-cmm@world.std.com), and the Nombas BBS
  (ATDT16173916595,,,,,44444).
*Access to the growing list of CEnvi utilities and libraries (some of which
  are included in this unregistered shareware package, and others are
  contributed by Nombas and CEnvi/Cmm users to the electronic locations
  described above).
 
There are three ways to register CEnvi version 1.008: 
***************************************************************************
********* REGISTRATION METHOD 1: CENVI MAIL-IN REGISTRATION FORM **********
***************************************************************************
Please fill out and mail in this form, along with payment.

Where did you get CEnvi? ______________________________________________

Name: _________________________________________________________________

Company: ______________________________ Position: _____________________

Address: ______________________________________________________________

_______________________________________________________________________

______________________________________________________________________

Country: _________________________   (add ZIP code if applicable)

Phone: ___________________________  EMail: ______________________________

          Diskette size: [  ] 3.5"   [  ] 5.25"

CEnvi Registered License & Manual.... Quantity _____ x $38.00 = $ _________
License fee for additional CEnvi users at
your organization (does not include additional
manual or diskettes)...Simultaneous-User Count _____ x $15.00 = $ _________
Additional CEnvi Manuals..............Quantity _____ x $10.00 = $ _________
Shipping outside USA, Canada, or Mexico  $4.00 ................ $ _________
                                                       Subtotal $ _________
Massachusetts residents please add 5% sales tax ............... $ _________

                                                          Total $ _________

Include a check or money order for this total, IN U.S. FUNDS AND DRAWN ON A
U.S. BANK, payable to Nombas, or supply the following credit card payment
information.  Credit cards orders will be processed through a distributor:
Custom Computer Systems of Medford, MA.

Credit card orders (circle one): MasterCard / Visa / American Express

                                 Discover / Carte Blanche / Diners Club

    Card Number _____________________________________  Expires ____________

    Exact name on card (print) ____________________________________________

    Signature (REQUIRED) __________________________________________________

Mail this form, along with payment or credit information, to:
               Nombas
               P.O. Box 875
               Medford, MA  02155   USA


***************************************************************************
******** REGISTRATION METHOD 2: COMPUSERVE ELECTRONIC REGISTRATION ********
***************************************************************************
CompuServe members may register directly through the CompuServe
Registration Service.  To use this service enter GO SWREG at your CI$
prompt.  Registration ID is 1354 for CEnvi for DOS, 1355 for CEnvi for
OS/2, and 1356 for CEnvi for Windows (you only need to register ONE
version).  Nombas will immediately be informed of your registration, and
the CEnvi registration fee will automatically be added to your CompuServe
bill.

***************************************************************************
************ REGISTRATION METHOD 3: Public (software) Library *************
***************************************************************************
CREDIT CARD ORDERS ONLY -

You can order with MC, Visa, Amex, or Discover from Public (software)
Library by calling 800-2424-PsL or 713-524-6394 or by FAX to 713-524-6398
or by CIS Email to 71355,470. You can also mail credit card orders to PsL
at P.O.Box 35705, Houston, TX 77235-5705.

THE ABOVE NUMBERS ARE FOR ORDERS ONLY.

Any questions about the status of the shipment of the order, refunds,
registration options, product details, technical support, volume discounts,
dealer pricing, site licenses, etc, must be directed to Nombas (see phone
number and addresses below).

To insure that you get the latest version, PsL will notify Nombas the day
of your order and we will ship the product directly to you.

CEnvi (all versions) is PsL product #11069.  Prices (including shipping and
handling) are: $42 US/Canada and $45 overseas.


***************************************************************************
Thank you for trying this shareware copy of CEnvi.  Mail inquires and other
correspondences to:
     Nombas
     P.O. Box 875
     Medford, MA  02155   USA

Nombas may also be contacted at:
     Phone: (617)391-6595
     Internet: bsn@world.std.com
     CompuServe: 72212,1622
     BBS: (617)391-6595 ext. 44 (e.g., ATDT16173916595,,,,,44444)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -