Reverse Engineer Print @

Started by Jeffrey Ferreira, May 13, 2021, 12:00:46 PM

Previous topic - Next topic

Jeffrey Ferreira

Hello All
If I have a text file that contains print @ like this

->print@(0),"Jeff",@(20),"PxPlus",@(50),"Canada"
Jeff                PxPlus                        Canada

I want to convert the string containing the print @ to the nicely formatted with spaces...
is there a way to do that.

Jeff



Mike King

Print to a memory file then read it back.

->open (1) "*memory*"
->print (1) @(0),"Jeff",@(20),"PxPlus",@(50),"Canada"
->read record (1,ind=0) R$
->print r$
Jeff                PxPlus                        Canada
->print hta(R$)
4A656666202020202020202020202020202020205078506C757320202020202020202020202020202020202020202020202043616E616461
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com

Jeffrey Ferreira

thank you Mike / that is perfect...