TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Don Waybright
from: Roy J. Tellason
date: 1998-10-09 22:46:16
subject: MEX -- What is it?

Don Waybright wrote in a message to Robby Dittmann:

 DW> Robby Dittmann wrote in a message to Don Waybright:

 DW> It has been awhile since I ran Maximus..... I have been 
 DW> reading references to MEX out hear and a couple other 
 DW> places.  What is it?  Is it like PEX for ProBoard BBS?

RD> MEX is an advanced programming language for Maximus.  It's
RD> like MECCA++. 

 DW> Thanks for the reply Robby.  I liked MECCA a lot when I was
 DW> running Max before.  Just how much more powerful is MEX than
 DW> MECCA?

Well,  the doc file for max 3.01 is up over a meg,  1,1??,???,  and prints
out to something over 400 pages.  (No,  I didn't print it out yet! :-) 
From the table of contents we have this stuff dealing with MEX:

   10. Introduction to MEX Programming ......................161
      10.1. About MEX........................................161
      10.2. MEX Road Map.....................................161
      10.3. Creating a Sample MEX Program....................162
      10.4. Compiling MEX Programs...........................165
      10.5. Running MEX Programs.............................166

   11. MEX Language Tutorial ................................169
      11.1. Program Development Cycle........................169
      11.2. Elements of a MEX Program........................171
      11.3. Variable Declarations............................174
      11.4. Variable Scope...................................178
      11.5. Preprocessor.....................................179
      11.6. Calculations and Arithmetic......................180
      11.7. Displaying Output................................185
      11.8. Flow Control.....................................187
      11.9. Function Calls...................................194
      11.10. Arrays..........................................206
      11.11. Structures......................................214
      11.12. Casts...........................................223
      11.13. Further Explorations in MEX.....................225

   12. MEX for C and Pascal Programmers .....................227
      12.1. Comments.........................................227
      12.2. Include Files....................................227
      12.3. Blocks...........................................227
      12.4. Function Definitions.............................227
      12.5. Types............................................229
      12.6. Variable Declarations............................229
      12.7. Function Prototypes..............................229
      12.8. Function Return Values...........................229
      12.9. Strings..........................................229
      12.10. Compound Statements.............................230
      12.11. Arithmetic, Relational and Logical Operators....230
      12.12. The for Statement...............................231
      12.13. Arrays..........................................231
      12.14. Pointers........................................231
      12.15. Pass-By-Reference Arguments.....................232
      12.16. Variable-Length Arrays..........................232
      12.17. Structures......................................232
      12.18. Run-Time Library Support........................233

   13. Interfacing MEX with Maximus .........................235
      13.1. User Information.................................235
      13.2. Message Area Information.........................236
      13.3. File Area Information............................237
      13.4. Changing Message and File Areas..................237
      13.5. Displaying Output................................237
      13.6. Retrieving Input.................................238
      13.7. File I/O.........................................239
      13.8. Menu Commands, Displaying Files and External Programs
      .......................................................239
      13.9. Download Queue...................................239
      13.10. Other Functions.................................240

   14. MEX Compiler Reference ...............................241
      14.1. Command Line Format..............................241
      14.2. Environment Variables............................242
      14.3. Error Messages and Warnings......................242

   15. MEX Library Reference ................................251
      15.1. Global Variables and Data Structures.............251
      15.2. Functions by Category............................262
      15.3. Function Descriptions............................272

   16. MEX Language Reference ...............................351
      16.1. Operator Precedence..............................351
      16.2. Language Grammar.................................351

(Page breaks removed...)

That should give you some idea,  eh?  Almost two hundred pages on it... 

email: roy.j.tellason%tanstaaf{at}frackit.com 
--- 
* Origin: TANSTAAFL BBS 717-432-0764 (1:270/615)
SEEN-BY: 396/1 632/0 371 633/260 267 270 284 371 634/397 635/506 725 728
SEEN-BY: 639/252 670/218
@PATH: 270/615 720 211 101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.