Re: Comments on ORAC
- Posted by Pete Lomax <petelomax at ?l?eyonder.co.uk> Nov 06, 2007
- 651 views
Mike wrote: > > Orac (as a pp) is a stepping stone to a greater goal. OK, good to know. > > > 2) Conditional compilation: > This example would fail in Orac.. was that your intention? I couldn't work it > out, sorry My bad, I really meant to say conditional compilation is only useful for fixed literal constants, such as "constant ASSERT=1" then "if ASSERT then", and/or stripping out assert() and trace() statements, but not conditional includes imho. In the docs you listed: * OS version string/{type,major,minor} * Current video mode * Screen size (text-mode)/resolution (graph mode). * Current printer flags: technology (laser, inkjet, dot-matrix), PCL, etc.. * dpi values for screen and printer * keyboard layout string * Locale string or id * Unicode support (current CP should be enough) Now, if *ANY* of those were applied in the next public release of Edita, or wxEuphoria, not too many people would likely be happy. In other words I am not inspired with confidence by a system that proposes to do such things, and given the choice I would disable such permanently. > > Oh. BTW, what does Backward Compatibility mean? I never really knew what > that was.. > .. does someone have a dictionary..? I think it means suitable for retarded people > > Indirect routine calls: > If we could do: xDeleteObject(hWnd) well, that would be just great. If > someone > could please tell me how to detect the difference between an integer that is > the result > of a dll link and an integer that is a routine_id CChris might know whether it is possible to merge the routine_id and c_func tables in the backend or not. Alternatively, why not just add say #30000000 to define_c_proc results, #20000000 to define_c_func, and #10000000 to routine_ids of procedures? Hence if and_bits(n,#20000000) then it is a C routine else an Eu one, and if and_bits(n,#10000000) then it is a procedure else a function, and mask these things with #0FFFFFFF before use. Regards, Pete