How do i call a procedure
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: How do i call a procedure
Yes.
Usually I create separate prg files and functions for each window I am creating. This way I can organize the total project in a systematic manner.
Usually I create separate prg files and functions for each window I am creating. This way I can organize the total project in a systematic manner.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: How do i call a procedure
Good Morning Mr Rathinagiri,
thanks for your reply, that is surely a better way to keep tracks of the program.
Best Regards.
Robert
thanks for your reply, that is surely a better way to keep tracks of the program.
Best Regards.
Robert
- serge_girard
- Posts: 3169
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: How do i call a procedure
Robert,
I use about the same manner as Rathi. But of course (if a rather small project) you can create one big PRG (with different windows names).
Serge
I use about the same manner as Rathi. But of course (if a rather small project) you can create one big PRG (with different windows names).
Serge
There's nothing you can do that can't be done...
Re: How do i call a procedure
Serge,
my app is still a small one, but growing, so I will go the same way. The listed code is just an excerpt for playing around. The additional prg files have no main function, right?
And the prg-files must be noted in hbp?
Have a nice day.
Robert
my app is still a small one, but growing, so I will go the same way. The listed code is just an excerpt for playing around. The additional prg files have no main function, right?
And the prg-files must be noted in hbp?
Have a nice day.
Robert
- serge_girard
- Posts: 3169
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: How do i call a procedure
Rob, this is so because it is not several autonomous programs that come together to form a larger one. It is a large program that is chopped for the convenience of the programmer.
The size and content of the pieces does not matter, and of course none of those pieces is usually an application in itself.
Regarding the .hbp file, it is not necessary: you can type in the command line the names of the pieces one after another every time you compile...
I recommend creating a .hbp file.
I get by with a little help from my friends
Re: How do i call a procedure
Now some things get clearer concerning the windows in HMG, dBase was easier to handle, you always had one window, but HMG is simply the state of the art. Please keep in mind, that I am not a professional programmer.
Robert
Re: How do i call a procedure
Thank you for the advice, creating a project by IDE and building the .exe will do this for me, right?
Robert
- serge_girard
- Posts: 3169
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: How do i call a procedure
Right again!
More or less... Once you have a project you see 'Modules'. In the toolbar you see 'Project'--> New Module.
This will ask a (prg) name and will create an empty PRG file.
Serge
More or less... Once you have a project you see 'Modules'. In the toolbar you see 'Project'--> New Module.
This will ask a (prg) name and will create an empty PRG file.
Serge
There's nothing you can do that can't be done...
Re: How do i call a procedure
Using IDE is a personal choice.
I'm too heterodox as programmer, so I do not even consider using IDE.
Bernardo
I get by with a little help from my friends