Difference between revisions of "ISKernel:navigation (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
'''This navigation system is deprecated and is not supported. There may be bugs in it. Please use [[LavishNav]] instead'''
 +
 
== Description ==
 
== Description ==
 
This data type gives access to navigation worlds.
 
This data type gives access to navigation worlds.
Line 5: Line 7:
  
 
== Methods ==
 
== Methods ==
 +
*'''AddWorld['''name''']''': Adds the world <name> to the known universe.
 
*'''RemoveWorld['''name''']''': Removes the world <name> from the known universe.  
 
*'''RemoveWorld['''name''']''': Removes the world <name> from the known universe.  
 
*'''Export['''filename''']''': Exports a given world or universe into <filename>
 
*'''Export['''filename''']''': Exports a given world or universe into <filename>
 +
 
== Returns ==
 
== Returns ==
 
''NULL''
 
''NULL''
Line 31: Line 35:
 
*[[ISSession:Navigation (Top-Level Object)|Navigation (Top-Level Object)]]
 
*[[ISSession:Navigation (Top-Level Object)|Navigation (Top-Level Object)]]
 
*[[ISSession:NavPath (Top-Level Object)|NavPath (Top-Level Object)]]
 
*[[ISSession:NavPath (Top-Level Object)|NavPath (Top-Level Object)]]
* [[IS:Session#Data_Types|Inner Space Session Data Types]]
+
*[[LavishScript:Data Types|Data Types]]
* [[LavishScript:Data Types|LavishScript Data Types]]
+
*[[IS:Kernel#Data_Types|Kernel Data Types]]
 +
 
  
  
 
{{DT-Stub}}
 
{{DT-Stub}}
 
[[Category:Inner Space]]
 
[[Category:Inner Space]]
[[Category:Inner Space Session]]
+
[[Category:Inner Space Kernel]]
[[Category:Inner Space Session Data Types]]
+
[[Category:Inner Space Kernel Data Types]]

Latest revision as of 13:54, 10 July 2009

This navigation system is deprecated and is not supported. There may be bugs in it. Please use LavishNav instead

Description

This data type gives access to navigation worlds.

Members

  • navworld World[name]: Retrieves the navigation world with this name

Methods

  • AddWorld[name]: Adds the world <name> to the known universe.
  • RemoveWorld[name]: Removes the world <name> from the known universe.
  • Export[filename]: Exports a given world or universe into <filename>

Returns

NULL

Examples

Retrieve the navigation world

  • echo ${Navigation.World[earth]}
This command will retrieve the navigation world "earth"

Remove the world Mars

  • Navigation:RemoveWorld[mars]
Removes the world 'mars' from the known universe

Export a world to a file

  • Navigation.World[mars]:Export[mars.xml]

Export the universe to a file

  • Navigation:Export[Universe.xml]

See Also