lst - List information

Name

lst — List information

Syntax

lst @ | hi | i | j | f | g | cur | data | mod

Description

List various information to the Message window.

Arguments

@

List all Geocap variables. These variables are accessed as gvar ... in scripts.

hi expression

List workspaces [matching regular expression (e.g ha* or ^*)]

i | j | f | g number [number2]

List Geocap internal array number [to number2].

cur

List and display the current cursor position.

data

List technical information about active dataset.

mod

List the loaded Geocap plugin modules.

Examples

Ex.1: Checking if the Montecarlo module is loaded

# Script code for testing if the Montecarlo module is loaded
set modules [package names]   ; # get name of modules
puts $modules                 ; # list all modules
foreach {mod} $modules {
   if {$mod == "Montecarlo"} {
      puts "Montecarlo module is present"
   }        
}

See also

dgw - Display graphical window