|
Post by larrybtoys on Mar 7, 2024 12:09:19 GMT 1
Is there any difference / operation between using:
Procedure (code) EndProcedure
vs
Pro (code) EndPro
|
|
|
Post by (X) on Mar 7, 2024 13:51:17 GMT 1
Is there any difference / operation between using: Pro (code) EndPro As far as I know 'Proc' is completely equivalent to 'Procedure'
To be 'picky', the above code will give an error in the editor, this should work: Proc P() // (code) EndProc
Re: Procedure vs Sub
I've written my own subroutines using either Proc or Sub without issue so far, but, there may be default behaviour that might make a difference under the right conditions.
From Help Doc...
So, you can write your own Sub or Proc but GB32 Events will only respond to a specificly configured Sub.
For example:
Sub frm1_MouseDown(Button&, Shift&, x!, y!)
|
|