"Fossies" - the Fresh Open Source Software Archive

Member "MACE1.6.0/exampleScripts/twoPowerLambda/callTwoPowers.txt" (18 Aug 2018, 1424 Bytes) of package /windows/misc/MACE1.6.0.zip:

As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 %Copyright (C) 2012-2018 Jan Christian Rohde
    2 %
    3 %This file is part of MACE.
    4 %
    5 %MACE is free software; you can redistribute it and/or modify it under the terms of the
    6 %GNU General Public License as published by the Free Software Foundation; either version 3
    7 %of the License, or (at your option) any later version.
    8 %
    9 %MACE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
   10 %even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   11 %GNU General Public License for more details.
   12 %
   13 %You should have received a copy of the GNU General Public License
   14 %along with MACE; if not, see http://www.gnu.org/licenses.
   16 % Here we see that records can be used for function objects resp., lambdas.
   17 % In this example records print out powers of 2.
   19 setCharacteristic(0)
   21 record(tp,exampleScripts/twoPowerLambda/twopower.txt)
   22 record(tp,exampleScripts/twoPowerLambda/twopower.txt)
   23 record(tp,exampleScripts/twoPowerLambda/twopower.txt)
   24 record(tp,exampleScripts/twoPowerLambda/twopower.txt)
   25 "Now another record":
   26 record(tp2,exampleScripts/twoPowerLambda/twopower.txt)
   27 record(tp2,exampleScripts/twoPowerLambda/twopower.txt)
   28 record(tp2,exampleScripts/twoPowerLambda/twopower.txt)
   29 "Now continue with the first record":
   30 record(tp,exampleScripts/twoPowerLambda/twopower.txt)
   31 record(tp,exampleScripts/twoPowerLambda/twopower.txt)
   32 record(tp,exampleScripts/twoPowerLambda/twopower.txt)