| View previous topic :: View next topic |
| Author |
Message |
arcray Valued Contributor


Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Fri Jul 16, 2004 11:52 am Post subject: @win function |
|
|
http://forum.vdsworld.com/viewtopic.php?t=2829
This does not work for me! Not sure why!
| Code: |
%B = 320
%A = @sendmsg(@win(~Safe),352,%B,0)
|
I just get an invalid function when the pre-compile runs...
Any help much appreciated as I would really like wider drop down boxes!
Cheers
Topic title edited by moderator for clarity _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Jul 16, 2004 12:01 pm Post subject: |
|
|
@win is not a valid function.
In earlier versions of VDS you could use shortened versions of the function names. The VDS 5 validates the command function names against a list so you either have to use the full name or #DEFINE the short version. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Jul 16, 2004 12:02 pm Post subject: |
|
|
Actually, I don't think you need the @winexists() at all there. I think it will work okay if you just put ~Safe . _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
arcray Valued Contributor


Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Fri Jul 16, 2004 12:27 pm Post subject: |
|
|
YOU ARE RIGHT! YOU DO NOT NEED @WIN OR @WINEXISTS!
Sorry about the caps!
The original tip was at:-
http://forum.vdsworld.com/viewtopic.php?t=2829
Many Thanks! _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
| Back to top |
|
 |
|