GedB wrote: Weird, I speak fluent Hungarian and i've never heard of that.
"This causes so much confusion that they had to invent Hungarian Notation to tell you its really a long pointer to a string (lpsz). Then their listings looks like Hungarian (hence the name)"
If you are talking about the "sz" part of the lpsz (and I don't know if you are), it's not notation, it's our spelling so that reference confused me.
sz = s in English, it's our equivalent of 'phonetic' spelling:)
ROFL (English is convoluted enough without making it more complicated, my cheeks ache from laughing)
PureBASIC Procedures : Procedure() and new one Function()
- Fangbeast
- PureBasic Protozoa
- Posts: 4789
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Hungarian notation???
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Hungarian notation was named so in honor of the legendary Micro$oft programmer Charles Simonyi. Very simply, the variable name begins with a lowercase letter or letters that denotes the data type of the variable.
Used extensively in Win32 API 
http://www.gregleg.com/oldHome/hungarian.html
Code: Select all
c char or WCHAR or TCHAR
by BYTE (unsigned char)
n short
i int
x, y int used as x-coordinate or y-coordinate
cx, cy int used as x or y lenght; c stands for "count"
b or f BOOL (int); f stands for "flag"
w WORD (unsigned short)
l LONG (long)
dw DWORD (unsigned long)
fn function
s string
sz string terminated by 0 character
h handle
p pointer

http://www.gregleg.com/oldHome/hungarian.html