9
votes
Good Practices for JavaScript “asm” sections in DWS/OP4JS
DelphiTools
– The compiler supports writing “asm” aka JavaScript section in the middle of Object Pascal, there are a few good practices as well as tips to keep in mind, let’s review the menu: Name conflicts and obfuscation support Do you really need an “asm” section? Don’t rely on implicit parameters structure Handling callbacks with “Variant” methods Handling callbacks in an “asm” section Current limitations 1. Name conflicts and obfuscation support This should be a point zero actually, but the first thing to have in mind is that you are allowed ...
Statistics
|
Visits by Source |
User Actions |




