de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 null issue
PostPosted: Thu Mar 03, 2016 4:29 pm 
Offline
Veteran
User avatar
hi all,

I have copied a piece of code from my old script to a new one and now it no longer functions correctly.

Code:
done=false
while(done==false){
   id=getRandom(999999999)
   if(receiveString("enforced_chastity."+id)==null{done=true}
   }


it was supposed to find a random id not currently being used and it used to work however it now hangs the system.

i used the following
Code:
done=false
while(done==false){
   id=getRandom(999999999)
   show(id)
   test=receiveString("enforced_chastity."+id)
   show(test)
   if(receiveString("enforced_chastity."+id)==null){done=true}
   }

to test what was happening and the show(id)is working (displaying random numbers every second or so)
but the while loop never ends.

what have i missed?

_________________
"If you don't gosub a program loop, you'll never get a subroutine."


Top
 Profile Send private message 
 
 Re: null issue
PostPosted: Thu Mar 03, 2016 4:51 pm 
Offline
Veteran
User avatar
ok, ignore that....

looks like i had not updated the main program in a while.

works with the new version

_________________
"If you don't gosub a program loop, you'll never get a subroutine."


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


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 post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.