hi klaus
this is the script. First read from socket and then store in three different variable. the Third variable pResult2 is used in the last condition..
on mouseup
read from socket tSocket until return
put it into tResult
put item 1 of tResult into pResult
put item 2 of tResult into pResult1 ...
Search found 20 matches
- Thu Sep 30, 2010 2:28 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
- Thu Sep 30, 2010 1:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi klaus,
i am trying that script... let me clear on thing that when i stop the grc object with script below
STOP MOVING grc "Obj8533" then it is working ,, but when i want to stop it with condition like..
if pResult2="complete" then send STOP MOVING grc "Obj8533" .......... This script is now ...
i am trying that script... let me clear on thing that when i stop the grc object with script below
STOP MOVING grc "Obj8533" then it is working ,, but when i want to stop it with condition like..
if pResult2="complete" then send STOP MOVING grc "Obj8533" .......... This script is now ...
- Thu Sep 30, 2010 11:49 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi kluas,
i know graphic stooping is working but now i want to stop the moving graphic at specific location (on plant r on field) graphic object.
i try the following script to stop the graphic object at plant but it is not working.
-STOP MOVING grc "Obj8533" to the loc of grc "Obj8517"
--STOP ...
i know graphic stooping is working but now i want to stop the moving graphic at specific location (on plant r on field) graphic object.
i try the following script to stop the graphic object at plant but it is not working.
-STOP MOVING grc "Obj8533" to the loc of grc "Obj8517"
--STOP ...
- Wed Sep 29, 2010 8:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi kluas,,
Thank you very much for suggesting me to read example ..it helps me a lot and solve all my minor problems ,,, now i am stuck in the final stage .. it is stated below
on Finished
---if pResult2="odd" then
STOP MOVING grc "Obj8533"
STOP MOVING grc "Obj8535"
STOP MOVING grc "Obj8537 ...
Thank you very much for suggesting me to read example ..it helps me a lot and solve all my minor problems ,,, now i am stuck in the final stage .. it is stated below
on Finished
---if pResult2="odd" then
STOP MOVING grc "Obj8533"
STOP MOVING grc "Obj8535"
STOP MOVING grc "Obj8537 ...
- Mon Sep 27, 2010 10:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi Klaus,,
i am trying to explain my problem in detail below.
what is problem.
i have develop an Harvesting logistic application in Revolution studio.The application has following main objectives.
1. Truck move from plant to field ,load raw material from field and unload it on the plant.
2.The ...
i am trying to explain my problem in detail below.
what is problem.
i have develop an Harvesting logistic application in Revolution studio.The application has following main objectives.
1. Truck move from plant to field ,load raw material from field and unload it on the plant.
2.The ...
- Mon Sep 27, 2010 3:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how string splitted by comma is store in two variable
- Replies: 2
- Views: 4382
Re: how string splitted by comma is store in two variable
hi klaus
Thank you very much for kind assistance.
Regard
Irfan
Thank you very much for kind assistance.
Regard
Irfan
- Mon Sep 27, 2010 1:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how string splitted by comma is store in two variable
- Replies: 2
- Views: 4382
how string splitted by comma is store in two variable
hi member,,
i want to split the string into two parts separated by comma and then want to store split parts in two different variables like this.
my script is gieven below..
read from socket tSocket until return
put it into Result
split Result by comma
...Now i want to store splitted part of ...
i want to split the string into two parts separated by comma and then want to store split parts in two different variables like this.
my script is gieven below..
read from socket tSocket until return
put it into Result
split Result by comma
...Now i want to store splitted part of ...
- Sun Sep 26, 2010 11:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi klaus
first i am sorry if you suffer with my posts.... Actually the problem i am going to address is not understood able by you.
i was asking you that the code of timer given by you is not working at any stage . i place it out side the if statment also and try to execute. As it should be work ...
first i am sorry if you suffer with my posts.... Actually the problem i am going to address is not understood able by you.
i was asking you that the code of timer given by you is not working at any stage . i place it out side the if statment also and try to execute. As it should be work ...
- Sun Sep 26, 2010 5:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi klaus
i am not kidding .. really i told you that i am also suprise why this timer is not working ...
with this code format timer is not working .
Reagard
Irfan
i am not kidding .. really i told you that i am also suprise why this timer is not working ...
with this code format timer is not working .
Reagard
Irfan
- Sat Sep 25, 2010 9:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi kluas
it my code.. i am first trying to only trigger the timer and then i will put the timer inside the if statemnt.
code...
read from socket tSocket until return
put it into pResult
put pResult into field "lblfld1" --this put the result in field table
click at the loc of btn ...
it my code.. i am first trying to only trigger the timer and then i will put the timer inside the if statemnt.
code...
read from socket tSocket until return
put it into pResult
put pResult into field "lblfld1" --this put the result in field table
click at the loc of btn ...
- Sat Sep 25, 2010 7:32 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi dunbarx
the code you sent to me keep stoping the execution of script for a while but i want that when the script start the timer also start and after the specified time the timer stop the execution of that particular script on which it is operated.
i hope you will assist me .. waiting for your ...
the code you sent to me keep stoping the execution of script for a while but i want that when the script start the timer also start and after the specified time the timer stop the execution of that particular script on which it is operated.
i hope you will assist me .. waiting for your ...
- Sat Sep 25, 2010 7:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi klaus
the error you told me is not because without timer it is working with my posted code.. when instruction is given from the java side it start working ... i need to set timer inside..
as your code is given below
if the seconds - tStarttime > 10 then
answer "Time has passed"
exit mouseup ...
the error you told me is not because without timer it is working with my posted code.. when instruction is given from the java side it start working ... i need to set timer inside..
as your code is given below
if the seconds - tStarttime > 10 then
answer "Time has passed"
exit mouseup ...
- Sat Sep 25, 2010 6:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi klaus..
i want to clearfy what i want is that .. i am using number of if statements and inside each statement we have number of object to move. my target is firstly that when i set the timer inside each if statement like this..
if statement
timer is initilized here ...
all moveing object script ...
i want to clearfy what i want is that .. i am using number of if statements and inside each statement we have number of object to move. my target is firstly that when i set the timer inside each if statement like this..
if statement
timer is initilized here ...
all moveing object script ...
- Sat Sep 25, 2010 5:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi klaus
i use the same strategy that you told me but ,, after specified time code is not stopping, no any wind is appear with message "time passed".
wainting for kind assistance
Regard
irfan
i use the same strategy that you told me but ,, after specified time code is not stopping, no any wind is appear with message "time passed".
wainting for kind assistance
Regard
irfan
- Sat Sep 25, 2010 2:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How timer is used in Revolution studio
- Replies: 30
- Views: 21089
Re: How timer is used in Revolution studio
hi,,
its my code and i want to execute script started from if condition like (if "truckContractor1need nine truck"= pResult -- evaluates to true) to the end.
the overall code is given below
on mouseup
local pResult, tSocket, tProcess
put "java JRSocket 54322 10000" into tProcess
open process ...
its my code and i want to execute script started from if condition like (if "truckContractor1need nine truck"= pResult -- evaluates to true) to the end.
the overall code is given below
on mouseup
local pResult, tSocket, tProcess
put "java JRSocket 54322 10000" into tProcess
open process ...