Source language: Translate to:

Wake me up !

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Wake me up !

Postby Alex » Mon Aug 14, 2006 7:21 am

Hi,

I had do a program with neobook but I need help :

I have a [Text_Entry300], a [Push_Button] and a Text400 (in this Text is wrotten [result] for show the [Push_Button] result).


My problem is when I ask : wake me up at 6 o'clock or wake me up at 7:24 (it can to be the 24 hours)
I don't know how I can writte the program.

Look what I did :

If "[Entree_de_texte300]" ">=" "wake me up at [Time_to_wake]"
setvar "[Time24]" "[Time_to_wake]"
setvar "[result]" "Ok"
If "[Time_to_wake]" "=" ""
setvar "[result]" "Wake up please"
endif


Can you help me please ?


Thanks
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Neobook » Mon Aug 14, 2006 7:53 am

OK
Last edited by Neobook on Mon Aug 14, 2006 8:00 am, edited 1 time in total.
Neobook
 
Posts: 131
Joined: Sat Jul 01, 2006 7:07 am

Postby Alex » Mon Aug 14, 2006 7:54 am

Excuse me but your code is :

While "[Hour]:[Minute]" "<>" "[Time_to_wake]"
.do nothing
EndWhile
AlertBox "Message" "Wake up please"


and my is :

If "[Entree_de_texte300]" ">=" "wake me up at [Time_to_wake]"
setvar "[Time24]" "[Time_to_wake]"
setvar "[result]" "Ok"
If "[Time_to_wake]" "=" ""
setvar "[result]" "Wake up please"
endif



Where must your code going ???
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Alex » Mon Aug 14, 2006 8:43 am

Excuse me but it s not working, can you send me and exemple please ???


Thanks
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Alex » Sun Sep 10, 2006 2:22 am

Thanks
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron