' **************************************************************************** ' Description: Tutorial 6b, Conditional Looping. Shows how to set up to ' conditional loop on a series of statements. Conditional Loops ' continue to run as long as a string condition is true. ' Author: Jim KN6PE ' Revision: 09/18/08: Original ' **************************************************************************** SCRIPT Var FNAME as string BEGIN Print("create a file in the c:\data\ directory named Weather.txt") Pause(0) FNAME = "c:\data\Weather.txt" ' initialize with a file name WHILE Exists(FNAME) = True ' loop as long as the file exists Print("The file " & FNAME & " is still there") pause(5) ENDWHILE END