Tweets from pichat

pichatTwo songs from the year I created my first web sites. http://t.co/8eHrOA9K + http://t.co/AuWb2etI #video #retro
About 1 day ago from pichat (Mark Seuffert)

Tweets from 600infos

600infosI HAVE NYANED FOR 888.4 SECONDS! http://t.co/JQYOZebv via @nyannyancat
About 1 week, 5 days ago from 600infos (Wolf)

DOS Function Template

Source: http://www.dostips.com/DtCodeCmdLib.php#Batch.FunctionTemplate

A function template with all features of a true DOS function

Description: The function template can be used as starting point for a new function. Complete the template into a useful function like this:

  • Rename the function
  • Add proper description for the function and its arguments
  • Fill in the function body
  • Return desired values
function.bat
:myFunctionName    -- function description here
::                 -- %~1: argument description here
  SETLOCAL
  REM.--function body here
  set LocalVar1=...
  set LocalVar2=...
  (ENDLOCAL & REM -- RETURN VALUES
      IF "%~1" NEQ "" SET %~1=%LocalVar1%
      IF "%~2" NEQ "" SET %~2=%LocalVar2%
  )
GOTO:EOF
rem or
EXIT /b

Translate
Advertisment
  • more about Pichat on http://www.pichat.net
  • C4 - Tiny chat software
  • http://600infos.de
  •    Counter:  09446  Online:  14  Your IP:  38.107.179.237  DNS:  unknown  Page generated in    0.53 sec.