Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: scripter.save - Function Up: scripter - Tool Previous: scripter.gui - Function


scripter.log - Function



Package utility
Module tasking
Tool scripter


Log one or more commands


Synopsis
log(command, run)


Description
Log one or more command(s). The commands are stored in the scripter. The commands will be executed directly if the flag run is set to T.



Arguments

command   Command(s) to be logged
    Allowed: String
run   Flag to determine if command(s) are run immediately
    Allowed: Boolean
    Default: F


Returns
Bool


Example
include 'scripter.g'
ds.log('myimager:=imager(\'3C273XC1.ms\')');
ds.log('myimager.setimage(nx=300,ny=300,cellx=\'0.7arcsec\'',celly=\'0.7arcsec\')')
ds.log('myimager.clean()');





next up previous contents index
Next: scripter.save - Function Up: scripter - Tool Previous: scripter.gui - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15