Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Day 4 starts on page 46 of the tutorial. The WinDev 16 tutorial that is - with the official English WD17 release looming I'll be switching over soon. But I imagine the tutorial will remain similar. 

...

The tutorial also notes that you can create menu items programmatically. 

Variables

In WinDev, variables are declared using the 

...

Interestingly, global procedures are stored in "sets", and each set is kept in a binary .WDG file. Procedure sets can be shared among projects and among developers within a project. 

Procedure parameters

Procedure parameters can be mandatory or optional. Mandatory parameters must be declared first; optional parameters are defined by specifying a default value for the parameter. 

From the example it appears you don't need to define the parameter type, and this is confirmed in the help. You can force the type in the declaration, but if you don't the type is passed in with the procedure call. I'll be interested to learn more about how this is implemented. 

Defining procedures

You can define both local and global procedures via the Project Explorer.

...