home *** CD-ROM | disk | FTP | other *** search
/ CD Classic 47 / CD_CLASSIC_47.iso / INTERNET / ftp / ftpctr.exe / %MAINDIR% / Scripts / Example19.ftp < prev    next >
Encoding:
Text File  |  1998-12-23  |  410 b   |  19 lines

  1. ; *****************************************************
  2. ; Example19.ftp
  3. ; =============
  4. ; This example shows the use of Numeric Variables in
  5. ; conjunction with execution parameters.
  6. ; -----------------------------------------------------
  7.  
  8. NumVariable i
  9.  
  10.  
  11. Let i=-1
  12. :Aftur
  13.   Let I=I+1
  14.   if %%i%% <= %%ParamCount%% then
  15.      Message "Parameter %%i%% = %%Param[%%i%%]%%"
  16.      goto Aftur
  17.   endif
  18.  
  19.