Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Long or Integer
#11
Hi all,

Thank you guys for all the answers ... I learned a lot from it.

But one question is still there:

Is it propper coding style to mix integers and longs?
For instance take the example "examples\Windows\gui\hello.bas". The arguments of DefWindowProc are declared as integers, but longs are passed. If you look in the mentioned example it is the same with other functions (BeginPaint returns an integer, this integer is stored in hDC, which was declared as long).

cu, helpy
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)