Changeset 200 for trunk/tools


Ignore:
Timestamp:
Mar 27, 2019, 3:12:47 AM (6 years ago)
Author:
David Azarewicz
Message:

Minor changes to debug output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/AddToFile.cmd

    r190 r200  
    11/** AddToFile.cmd
    22 * Adds the specified line to the end of the specified file.
    3  * Written by and Copyright (c) 2010-2016 David Azarewicz http://88watts.net
     3 * Written by and Copyright (c) 2010-2018 David Azarewicz http://88watts.net
    44 *
    5  * @#D Azarewicz:1.01#@##1## 16 Sep 2016              DAZAR1    ::::::@@AddToFile.cmd (c) David Azarewicz 2016
     5 * @#D Azarewicz:1.02#@##1## 15 Nov 2018              DAZAR1    ::::::@@AddToFile.cmd (c) David Azarewicz 2018
    66 * V1.01 16-Sep-2016 First official release
     7 * V1.02 02-Jun-2017 Added Asd to bldlevel, added DATE1
    78 *
    89 * The following line is for the help sample code for the VAR function:
     
    1819  Say 'Functions:';
    1920  Say '  DATEL - Adds the date as a long number.';
    20   Say '  BLDLEVEL - Adds a formatted BLDLEVEL string.';
     21  Say '  DATE1 - Adds the date in 2017-Jul-01 format.';
     22  Say '  BLDLEVEL - Adds a standardized formatted BLDLEVEL string.';
    2123  Say '  DATEYEAR - Adds the current year.';
    2224  Say '  DATEMONTH - Adds the current month.';
     
    3335  rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd);
    3436  call 'AddToFile.cmd' MyCmd;
     37  MyCmd=MyFile||',#define DDATE,DATE1';
     38  rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd);
     39  call 'AddToFile.cmd' MyCmd;
    3540  MyCmd=MyFile||',option description,BLDLEVEL,Vendor,1.2.3,Description,Fixpack,Asd';
    3641  rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd);
     
    223228  do while (QUEUED() > 0)
    224229    PARSE PULL Line1':'Line2
     230    if (Line1 = "Revision") then leave;
    225231    if (Line1 = "Last Changed Rev") then leave;
    226232    Line2 = "";
Note: See TracChangeset for help on using the changeset viewer.