Search the web
Sign In
New User? Sign Up
dwp · DWP User Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
dwpmake F() and C() functions?   Message List  
Reply | Forward Message #1519 of 1580 |
Re: dwpmake F() and C() functions?

Hello,

the following is taken from dwpmake.txt which by the way is hopefully
still present somewhere in the CVS repository:

Commands are executed on a group of files. Management of these
"file-sets" is done by some built-in functions.

"F([group_no,]file_spec1,file_spec2,...)" adds the specified files
into the specified group. Group IDs are integer numbers in range 0-15.
If it's omitted 0 is assumed. Wild cards are naturally allowed. You
might want to have a look at wildc.c for details about our
mask-matching routine. Each file is added only once into each group.
If the first character of a string is # then the files will be added
into the group but they will be skipped when executing commands.

example:
F('#source\rtl\sys\variants.pas','source\rtl\sys\*.pas')
(note the order of the parameters! since the second one includes
variants.pas it must be specified before if we want to use the 'skip'
attribute.)

"C([group_no])" clears the content of the specified group (default is 0).

"gexcl(0)" will turn off the usage of the global exclusion list. This
means that files that were already used in one group can be added to
another or to the same group after clearing it. By default this
setting is on so no file will be processed twice during execution of
the script. "gexcl(1)" will turn it on again.

"exec(groupno,command)" will execute a program using CreateProcess.
If it failed or the exit-code was non-zero dwpmake is aborted. The
"$<" sequence in `command' will be replaced with a filename. If the
first argument is -1 no file group is used and $< substitution will
not be done.

example:
F('*.pas')
exec(0,'dcc32 $<')

Best regards,
Laszlo







Fri Oct 14, 2005 11:03 am

lagocs83
Offline Offline
Send Email Send Email

Forward
Message #1519 of 1580 |
Expand Messages Author Sort by Date

Hi all, I've got a new computer recently and am slowly re-installing all the applications/tools that were on my previous one ... One such application/tool is...
da Silva, Joe
j_ds_au
Offline Send Email
Oct 13, 2005
9:19 am

Hello, the following is taken from dwpmake.txt which by the way is hopefully still present somewhere in the CVS repository: Commands are executed on a group of...
Laszlo Agocs
lagocs83
Offline Send Email
Oct 14, 2005
12:20 pm

Hi Joe, i use D6 and DWPL and i have to change my computer in the next weeks too. So if there is a working installation on the net, it is very nice for me. But...
Thomas Bornhaupt
kdb2de
Offline Send Email
Oct 15, 2005
8:01 am

Thanks for that, Laszlo, I didn't see any documentation on this stuff in the DWPL package, however I did find that 'dwpmake.txt' file you mentioned in the...
da Silva, Joe
j_ds_au
Offline Send Email
Oct 17, 2005
6:34 am

Hi Joe, ... okay, I guess the problem is that some units must be compiled before others and wildcard matching stuff (*.pas) does not propose any particular...
Laszlo Agocs
lagocs83
Offline Send Email
Oct 17, 2005
8:18 pm

Thanks for the explanation, Laszlo. So, if I understood correctly, this example says : 1. Exclude these files from future 'exec()' calls. 2. Clear the "exec()...
da Silva, Joe
j_ds_au
Offline Send Email
Oct 18, 2005
9:22 am

Hi Thomas, et al. Well, the changes I've made to 'dwpl.dwm' should not affect D6, but I suppose it would be good to verify that. <g> BTW, can you tell us a...
da Silva, Joe
j_ds_au
Offline Send Email
Oct 18, 2005
9:25 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help