CurrentDir.htm 1006 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <html>
  2. <head>
  3. <title>Blitz3D Docs</title>
  4. <link rel=stylesheet href=../css/commands.css type=text/css>
  5. </head>
  6. <body>
  7. <h1>CurrentDir$()</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. None.
  13. </td>
  14. </tr>
  15. </table>
  16. <h1>Description</h1>
  17. <table>
  18. <tr>
  19. <td>
  20. This command will return the currently selected directory for disk operations, useful for advanced file operations. Use CHANGEDIR to change the current directory. The value returned doesn't have a trailing slash - aside from the root directory of the drive.
  21. </td>
  22. </tr>
  23. </table>
  24. <h1><a href=../2d_examples/CurrentDir.bb>Example</a></h1>
  25. <table>
  26. <tr>
  27. <td>
  28. ; CurrentDir$() example <br />
  29. <br />
  30. ; Print the current directory until ESC key <br />
  31. While Not KeyHit(1) <br />
  32. Print CurrentDir$() <br />
  33. Wend
  34. </td>
  35. </tr>
  36. </table>
  37. <br>
  38. <a target=_top href=../index.htm>Index</a><br>
  39. <br>
  40. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=CurrentDir&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  41. </html>