The MASM Forum

Specialised Projects => PowerBASIC => Topic started by: hutch-- on March 22, 2017, 08:37:28 PM

Title: Notepad style text editor.
Post by: hutch-- on March 22, 2017, 08:37:28 PM
Neat minimum interface for folks who like austerity in software.
Title: Re: Notepad style text editor.
Post by: TWell on March 22, 2017, 11:22:50 PM
ThatGetWindowText Editgt,ByVal pstr,64
ucnt = atol(ByVal pstr)         ' MSVCRT atol fuction
could replaced with ?ucnt = GetDlgItemInt(hDlg,100,0,0)
Title: Re: Notepad style text editor.
Post by: hutch-- on March 24, 2017, 04:01:05 AM
Tim,

I have barely seen the guts of this app for about 8 years but from memory it was among other things showing ways to use MSVCRT in BASIC rather than dependency on the PB conversions, mainly as a code size reduction technique. Your suggestion looks like a good idea.