Just a sample of the Echomail archive
Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.
|    PASCAL    |    Pascal programming language discussions    |    592 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 347 of 592    |
|    mark lewis to Nicholas Boel    |
|    FPC snippet.    |
|    28 Jan 17 13:19:24    |
   
    On 2017 Jan 27 08:16:22, you wrote to j b l:   
      
    NB> Hello j,   
      
    NB> On Thu Jan 26 2017 19:50:18, j b l wrote to All:   
      
    jl>> I have some FPC code, that isn't working the way it should.   
      
    jl>> if FileExists(fn+'.PK2') then shell('/usr/bin/mv '+fn+'.PK2   
    jl>> '+fn+'.MIX');   
      
    NB> Was this a typo? Or should the first instance of "fn" have a "+" before it   
    NB> as well?   
      
   no, not a typo... read the ""properly formatted""* routine like this   
      
      
    if FileExists(fn+'.PK2') then   
    shell('/usr/bin/mv ' + fn + '.PK2 ' + fn + '.MIX');   
      
      
   the pluses, in this case, are appending strings together...   
      
   i'd be interested in what the variable "fn" contains... i'd also be concerned   
   about that forced caps stuff with ".PK2" which may be lower case on some file   
   systems which may be case sensitive...   
      
      
      
   [* NOTE: formatting discussions/disagreements have resulted in some extremely   
   heated battles.]   
      
   )\/(ark   
      
   Always Mount a Scratch Monkey   
   Do you manage your own servers? If you are not running an IDS/IPS yer doin' it   
   wrong...   
   ... 1 in every 4 Americans has appeared on television.   
   ---   
    * Origin: (1:3634/12.73)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca