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 


@event()

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


Joined: 10 Jun 2005
Posts: 5

PostPosted: Fri Jun 10, 2005 12:37 am    Post subject: @event() Reply with quote

Hi all.
First, i speak french. My english is very bad. If anyone speak french here, check the message bottom. Laughing
---------------------
English (try ^^)
---------------------
I have a problem when i execute my program. It gets the error (french) " Erreur Rune Time 12 " or, in english, " Rune Time error 12 ".
My code is :
Code:
:Evloop
  wait event
  goto @event()

Thanks a lot !!!!
---------------------
French
---------------------
J'ai un problème quand j'éxécute mon programme. J'ai une erreur " Erreur Rune Time 12 ".
Mon code est :
Code:
:Evloop
  wait event
  goto @event()

Merci beaucoup ^^. Si vous avez besoin de plus d'info n'hésitez pas Wink
Back to top
View user's profile Send private message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Fri Jun 10, 2005 3:35 am    Post subject: Reply with quote

Try

:Evloop
wait event,0
goto @event()

or

:Evloop
wait event,1
goto @event()

or

:Evloop
Wait Event,0
%E = @event()
If %E
goto %E
End
goto evloop
Back to top
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Jun 10, 2005 5:56 am    Post subject: Reply with quote

Your program is probably generating an event that does not have a corresponding label in your code.

Try to do this:
Code:
:Evloop
  wait event,1
  %%event = @event()
  info %%event
  goto %%event


Then you'll get an info box with the event and you can check that you also have a label called [eventname]LABEL.

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
orditeck
Newbie


Joined: 10 Jun 2005
Posts: 5

PostPosted: Fri Jun 10, 2005 8:02 pm    Post subject: Reply with quote

filip, your councils do not function... Sad
Dr. Dread => Now, when i run my program, i have the info box " Resize " and the error " Rune Time 12 ".

Thanks Smile
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sat Jun 11, 2005 12:32 am    Post subject: Reply with quote

Code:
  DIALOG CREATE,New Dialog,-1,0,240,160,RESIZABLE
  DIALOG SHOW

:EVLOOP
  WAIT EVENT
  GOTO @event()

:CLOSE
  EXIT

:RESIZE
  GOTO EVLOOP


When you use "RESIZABLE", an event is made called "RESIZE". You
need a branch called ":RESIZE" as seen above.

Hope this helps you.

-Garrett
Back to top
View user's profile Send private message
orditeck
Newbie


Joined: 10 Jun 2005
Posts: 5

PostPosted: Sun Jun 12, 2005 2:39 am    Post subject: Reply with quote

Garrett wrote:
Code:
  DIALOG CREATE,New Dialog,-1,0,240,160,RESIZABLE
  DIALOG SHOW

:EVLOOP
  WAIT EVENT
  GOTO @event()

:CLOSE
  EXIT

:RESIZE
  GOTO EVLOOP


When you use "RESIZABLE", an event is made called "RESIZE". You
need a branch called ":RESIZE" as seen above.

Hope this helps you.

-Garrett


YA !!! THANKS !!!!!
Back to top
View user's profile Send private message
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