Difference between revisions of "Working with Directories in Lianja"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 1: Line 1:
==Working with Directories in Recital==
+
==Working with Directories in Lianja==
===Creating Directories in Recital===
+
===Creating Directories in Lianja===
 
* [[MKDIR|mkdir]] - create a directory
 
* [[MKDIR|mkdir]] - create a directory
  
Line 7: Line 7:
 
</pre>
 
</pre>
  
===Deleting a Directory in Recital===
+
===Deleting a Directory in Lianja===
 
* [[RMDIR|rmdir]] - delete a directory
 
* [[RMDIR|rmdir]] - delete a directory
  
Line 14: Line 14:
 
</pre>
 
</pre>
  
===Finding and Changing the Current Working Directory in Recital===
+
===Finding and Changing the Current Working Directory in Lianja===
 
* [[CURDIR()|curdir()]] - return name of the current directory
 
* [[CURDIR()|curdir()]] - return name of the current directory
  
Line 33: Line 33:
 
</pre>
 
</pre>
  
===Listing Files in a Directory in Recital===
+
===Listing Files in a Directory in Lianja===
 
* [[DIR|dir]] - display a directory of files
 
* [[DIR|dir]] - display a directory of files
  
Line 54: Line 54:
 
</pre>
 
</pre>
  
===Finding and Changing the Current Search Path in Recital===
+
===Finding and Changing the Current Search Path in Lianja===
* [[PATH()|path()]] - return current Recital path setting
+
* [[PATH()|path()]] - return current Lianja path setting
  
 
<pre>
 
<pre>
Line 61: Line 61:
 
</pre>
 
</pre>
  
* [[SET PATH|set path]] - set Recital path
+
* [[SET PATH|set path]] - set Lianja path
  
 
<pre>
 
<pre>

Revision as of 01:39, 9 December 2012

Working with Directories in Lianja

Creating Directories in Lianja

  • mkdir - create a directory
mkdir <directory as character>

Deleting a Directory in Lianja

  • rmdir - delete a directory
rmdir <directory as character>

Finding and Changing the Current Working Directory in Lianja

  • curdir() - return name of the current directory
character = curdir()
  • default()- return name of the current directory
character = default()
set default to [<directory as character>]

Listing Files in a Directory in Lianja

  • dir - display a directory of files
dir [<skeleton as character>]
  • adir() - return number of files matching a pattern and load filenmames and information into arrays
numeric = adir(<skeleton as character> [, <filenames as array> [, <filesizes as array> 
[, <creationdates as array> [, <creationtimes as array> [, <attributes as array>]]]]])
 
  • filecount()- return number of files matching a pattern
numeric = filecount(<skeleton as character>)

Finding and Changing the Current Search Path in Lianja

  • path() - return current Lianja path setting
character = path()
set path to [<directories as character>]