scripting question no. 2

Sytske Kimball SKimball at USOUTHAL.EDU
Tue Apr 7 16:45:49 EDT 2009


After the help from a another list member it turned out I needed one more line:
 
'd fidst'
code=subwrd(result,4)
if(code=201)
'draw string 8 1 Agricola'
endif
That fixed it.
Sytske


>>> "Sestak, Michael L CIV 63134" <michael.l.sestak at NAVY.MIL> 4/7/2009 3:09 PM >>>
If that is your entire script, I am stumped because the defaults for string attributes should print something (it may not be pretty, but it should print).  If this is part of a larger script, could you have done something that causes the string color to be the same as the background color?  There is, of course, the set string command, but set background or set color could also cause this problem.  That's my only guess.
 
Michael Sestak
Fleet Numerical Meteorology and Oceanography Center
Monterey, CA
 

From: Sytske Kimball
Sent: Tue 4/7/2009 12:48
To: GRADSUSR at LIST.CINECA.IT 
Subject: Re: scripting question no. 2

Good thought, but unfortunately that wasn't it - I'm in landscape mode.
I also tested the print statement by removing the if and endif lines and it works........
 
Sytske

>>> Semyon Grodsky <senya at atmos.umd.edu> 4/7/2009 2:43 PM >>>
'draw string 8 1 Agricola'
just a thought. If your screen is oriented portrait, then x=8,y=1 is just 
on the right edge of the screen. Try 'draw string 5 1 Agricola' to check 
if this is an issue.
--S

-----------------------------------------------------------
Semyon Grodsky
Computer and Space Science Building (Bldg. #224), Room 2409
Department of Atmospheric and Oceanic Science
University of Maryland
College Park, MD 20742

Phone:  301-405-5330
Fax:    301-314-9482
E-mail: senya at atmos.umd.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/22513bb8/attachment.html 


More information about the gradsusr mailing list