On 18-Oct-2019 10:24 AM, Johan Nel wrote:
X# itself is more function based than command based (like VFP) but has a pre-processor that helps to translates commands into functions. So you can still write code like you do in VFP. For example "SKIP 1" is translated to DbSkip(1) and "SKIP 1 IN Customer" is translated to ("Customer")->DbSkip(1).
Interesting - very similar to Clipper. Clipper also allowed you to DECLARE your own commands and a pre-compiler that translated them into Clipper source code. fwiw I would quibble that ("Customer")->DbSkip(1) is not a traditional function format (more OO) - I think Clipper would have had DbSkip("Customer", 1). As I *may* have mentioned before, Clipper also handled arrays /properly/ <g>. For free it certainly can't hurt to look!
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---