Hi Gene, When I made FoxBin2Prg, the main reason to do it was to generate prg-like code with the maximum possible prg compatibility, but allowing the reverse convertion with a valid binary again, so this imposed some constraints in the way that value assignments are made to preserve the original assignment.
Rigth now, if you generate a prg from a scx file, the only adjustment you need to make, AFAIR, is in the property assignments, because they are in a format like: Property = string And not in the proper prg format, that is: Property = "string" I did it this way because there are like 4 different ways of assigning properties, and in any case the value must preserve a format that is needed to differentiate between these possibilities: - default blank property value - default property value when you press enter on it's value - normal user assigned value - user assigned function (like when using "=value" in the property value, with the equal sign) So, if checking/correcting those values and adding the missing quotes is not a problem for you, the other 99% of the generated code is pure prg that follows the prg rules and syntax. Hope it helps, Fernando D. Bozzo El mar., 29 ene. 2019 6:59, Gene Wirchenko <[email protected]> escribió: > Hello: > > How do I convert a .scx to a .prg? > > I have found most of the pieces of code, but I do not see how > the contained objects are created. (I was expecting to find a form > .Init().) > > Sincerely, > > Gene Wirchenko > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cagq_jukkpxao5q8vbk7gwbq_p7y9xysmbc-qnptqxgmwgxl...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

