forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


@win function

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Fri Jul 16, 2004 11:52 am    Post subject: @win function Reply with quote

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
View user's profile Send private message Send e-mail
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Jul 16, 2004 12:01 pm    Post subject: Reply with quote

@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
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Jul 16, 2004 12:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Fri Jul 16, 2004 12:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group