Lugaru's Epsilon Programmer's Editor 14.04
Context:
|
Epsilon User's Manual and Reference > Changes from Older Versions > EEL Programming Changes in Epsilon 12 > Converting Old EEL CodeChanges may be required in older EEL code that uses the call_dll( ) primitive to call Windows DLLs, since the EEL strings that will be passed are now wide 16-bit characters. Often, calling the wide instead of the ANSI (8-bit) version of an API function is all that's needed.Old EEL code that uses the memset( ) primitive to initialize a character array should be changed to use the new set_chars( ) primitive. The former operates on 8-bit bytes, not 16-bit characters. Similarly, some uses of the memcmp( ) or memfcmp( ) primitives may need to be changed to use compare_chars( ). Uses of memcpy( ) should also be checked. The ptrlen( ) primitive returns the accessible length of the pointer it's passed, in char units. If its new optional second argument is nonzero, it now returns its count in bytes instead.
Since keys are now 32 bits (type
EEL code that wants to perform some operation on groups of keys can't
simply use a loop like
|