>I have a application that I want to be able to modify the 'TEXT' resource >that is in the application's resource fork. > >The 'TEXT' resource should contain whatever text was collected from: >this section of the FOR/NEXT loop below: programLine$(X) > >FOR X = 1 TO howmanylines >PRINT #1, programLine$(X) >NEXT X > >I tried Al Stafferri Jr's sample of creating a text file >but that won't work for me since I want to modify the 'TEXT' resource >in my application's resource fork, not a TEXT file. > >-Brian Brian, http://www.pixmix.com/FB/outils.html In the Text Dept. should help. Then you will need to investigate the Resources dept. for getting and storing your text resources. Can you store the programLine$(x) as a string resource? Those are fairly easy to store and get back. In that case see the FB 3 example for the Reference Examples, S, " STR#->INDEX$.Bas" Has save and get routines. Also see in the TEXT/Fonts FB 3 "Examples" folder, "Text Resources" subfolder, for the ticket I bet. If you are using FB II, similar examples should be in the examples/reference folder somewhere. Robert