Repository navigation
v0.2.215
PB64Basic Enhanced v0.2.215 - batch 435.
See the full changelog in README.md
batch 435 (Gary Beene batch 7) - 50/50 samples compile on both compilers, 50/50 run, and the GUI pixel comparison is 48 identical / 2 near (0.016% and 0.053%). The batch closed the following PBWin differences.
DIR$:DIR$(NEXT, ONLY attr)re-applies the attribute filter on every NEXT call; theDIR$(mask [, ONLY attr] TO DirData)andDIR$(NEXT, TO DirData)forms fill the PBWinDirDatarecord; the%SUBDIRbuilt-in equate (value 16) is now defined; anONLYscan excludes hidden/system entries.- GRAPHIC:
GRAPHIC PIE/GRAPHIC ARCangles are parsed and passed as doubles and converted to the geometric polar angle PBWin uses for elliptic arcs; a supplied fill colour without a fill style defaults to solid; the virtual canvas is rebuilt whenCONTROL SET SIZEchanges a GRAPHIC control; a bordered GRAPHIC that requests the parent client area gets the client size instead of adding border pixels;GRAPHIC CLIENT/GRAPHIC CANVASaccept X/Y offsets. - GRAPHIC scroll bars:
GetScrollInfonow reportsnMaxas the viewport width/height rather than width-1, matching PBWin's thumb range. - ListBox: the control is created with
WS_VSCROLL, so a scroll-bar added by style has a real range immediately;pb_listbox_auto_vscrolladds the style when the content overflows and removes it when it does not. - DIALOG: all
DIALOG NEWarguments are converted to 32-bit values (including units); the first focusable control is chosen by walkingGW_CHILD/GW_HWNDNEXTand skipping plain statics while acceptingSS_OWNERDRAWgraphics. - TreeView: item handles are kept in a 32-bit token table and translated at every entry point;
NM_TREEVIEWnotifications are copied before use; item text is converted UTF-8 to ANSI and back. - Text and colour:
TEXTOUTclears the DC background mode first so text is transparent; edit controls apply PBWin's top margin (5 px for a normal font, 1 px for small fonts);RGB()/BGR()saturate each component to 0..255 instead of wrapping;LO(BYTE, <ByRef param> \ 256)keeps the 16-bit mask PBWin applies;GETCLIPBOARDDATA/SETCLIPBOARDDATAare recognised as pointer-returning APIs. - Parser:
DISPATCHis an 8-byte object pointer;STRINGZ * nis the same fixed NUL-terminated storage asASCIIZ * n;THREAD CREATE fn(...), TO haccepts the optional comma. - Runtime objects
pb_runtime_x64.objandpb_runtime_x86.objwere rebuilt from the updatedpb_runtime.c. - Remaining near pairs, reported as near and not identical:
09153-D pie at 0.016% (14 pixels on two radial boundary lines) and1595timer at 0.053% (8 pixels in a counter digit, a timer-phase artefact). Self-check:examples/batch435_test.bas(batch435-fails= 0).