Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 262,197 of 264,096    |
|    =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All    |
|    Re: Coding examples (Re: VMS Pascal arti    |
|    05 Jan 25 11:12:50    |
   
   From: arne@vajhoej.dk   
      
   On 1/5/2025 11:06 AM, Arne Vajhøj wrote:   
   > On 1/4/2025 11:19 PM, David Meyer wrote:   
   >> Arne Vajhøj writes:   
   >>> $ search sys$common:[syshlp.examples.pascal]*.pas varying   
   >>> $ search sys$common:[syshlp.examples.pascal]*.pas "string("   
   >>   
   >> Wow! That directory and the others around it are a real treasure   
   >> trove. I found answers to questions I had about calling RTL routines   
   >> from Pascal.   
   >   
   > For system services and LIB$ (and other RTL) routines, then   
   > I recommend:   
   >   
   > General prep:   
   > 1) browse through documentation for system services and LIB$   
   > routines to get an overview   
   > 2) learn about the VMS calling convention   
   > 3) learn about how to use VMS calling convention   
   > in your favorite programming language   
   > For specific task:   
   > A) identify the system services and LIB$ routine you need   
   > to use   
   > B) read the language independent description of how to call it   
   > C) implement call in your favorite programming language   
      
   For specific questions then you can always ask here (or at   
   the VSI forum).   
      
   There is a fair chance that someone has tried it before and   
   maybe even have an example laying around.   
      
   I have written a few things that may be useful.   
      
    From the article that is the topic:   
      
    https://www.vajhoej.dk/arne/articles/vmspascal.html#proc_nonpas   
      
    https://www.vajhoej.dk/arne/articles/vmspascal.html#mod (scroll   
   down a page)   
      
   Other:   
      
    https://www.vajhoej.dk/arne/articles/call4.html#vms   
      
   And Pascal examples in:   
      
    https://www.vajhoej.dk/arne/articles/vmsipc.html   
      
    https://www.vajhoej.dk/arne/articles/rms.html   
      
   Arne   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca