home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

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

   Message 2,084 of 2,978   
   Dr John Stockton to All   
   Re: Communication between Borland Pascal   
   13 Mar 06 14:31:06   
   
   XPost: comp.lang.pascal.misc, comp.lang.pascal.delphi.misc   
   From: jrs@merlyn.demon.co.uk   
      
   JRS:  In article , dated Sun, 12 Mar   
   2006 16:48:45 remote, seen in news:comp.lang.pascal.borland, Femme   
   Verbeek  posted :   
      
   >program Msg2Clip;   
   >{Delphi console mode program }   
   >{This program copies the paramstring to the windows clipboard}   
   >{To compile from the dos prompt type  DCC32 Msg2clip         }   
   >{$APPTYPE CONSOLE}   
   >uses clipbrd;   
   >begin   
   >   clipboard.astext:=cmdline;   
   >end.   
   >   
   >   
   >Probably the shortest program I ever made, but still in Delphi 6 it   
   >compiles to 390 KB.   
      
   The clipboard is a general resource and using it to communicate between   
   two programs must be dangerous if anything else may be using it as the   
   same time.   
      
   Upgrade to Delphi 3 and your program becomes under 195kB.   
      
   A decade ago, I wanted to do something like that in Pascal - see TOGL*   
   via sig line 3 if interested - I don't recall trying it after WfWg3.11.   
      
   Your article went to comp.langpascal.misc instead of to   
   comp.lang.pascal.misc .   
      
   --   
    © John Stockton, Surrey, UK.  ?@merlyn.demon.co.uk   Turnpike v4.00   MIME. ©   
    Web   - FAQqish topics, acronyms & links.   
    PAS EXE TXT ZIP via .   
    Do not Mail News to me.    Before a reply, quote with ">" or "> " (SoRFC1036)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca