home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   PASCAL_LESSONS      Pascal Programming Lessons      361 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 98 of 361   
   Norman King to Norman King   
   Free Pascal Lesson #1   
   22 May 12 14:38:48   
   
   I know that compiling without a good source code editor is hard work, this   
   should make it a bit easier.   
      
   For Windows try Notepad++ at http://notepad-plus-plus.org/   
      
   It seems to support Pascal syntax and will make debugging easier.   
      
   For Free Pascal 2.6.0 you can add the path to the compiler by entering on the   
   command line:   
      
   set PATH=%PATH%;c:\fpc\2.6.0\bin\i386-win32\   
      
   For Windows NT based Windows like Windows 7 hold down the left Windows key and   
   the R key, you will get a run box now type in CMD to access a command shell or   
   the CLI as some call it.   
      
   Type in the set command that modifies the path. Look in the c:\f   
   c\2.6.0\bin\i386-win32\ directory and see what exe file is there. For mine   
   using Windows 7 64 bit it is called ppcrossx64.exe for the 32 bit version it   
   may be named something else.   
      
   Try this:   
      
   cd c:\fpc\   
      
   mkdir pas   
   cd pas   
      
   This will make a pas directory in your main fpc directory where you can store   
   your source code files and run the compiler on them.   
      
   now you can do this:   
      
   cd c:\fpc\pas\   
   ppcrossx64 hello.pas   
      
   If you want you can add this line to the Autoexec.bat file after the set PATH   
   statement:   
      
   set PATH=%PATH%;c:\fpc\2.6.0\bin\i386-win32\   
      
   Then after a reboot you will have the Free Pascal 2.6.0 64 bit compiler in   
   your path and can run it from anywhere.   
      
   I hope this makes it easier to work with Free Pascal. Enjoy!   
      
   --- BBBS/Li6 v4.10 Dada-1   
    * Origin: Prism bbs (1:261/38)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca