jim said: > I want to use the number of lines in STR# resource 200 > as count factor gMyCount to use in the below FOR/TO/NEXT Loop don't know if you got the answer yet, but here it is: > resHndl&=FN GET1RESOURCE(_"STR#",200) > IF resHndl& then gMyCount={[resHndl&]} -bowerbird