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 


Multi Therads in scripts.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri May 02, 2003 8:24 pm    Post subject: Reply with quote

Skit3000 wrote:
It's a good idea, but useless if you want to test it quick, cause you always need to compile it...


True. But once all of the bugs are worked out there's nothing really to
test until you test your final compiled executable. And I don't think there
are any bugs in that code. Just keep in mind that you must put text after
the /INFO or /WARN or it will make a runtime error.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri May 02, 2003 8:27 pm    Post subject: Reply with quote

Or you can use this in top of your code...

Code:
if @equal(@substr(%1,1,5),/INFO)
   if @not(@null(%2))
     INFO %2
     end
   exit
end

if @equal(@substr(%1,1,5),/WARN)
   if @not(@null(%2))
     INFO %2
     end
   exit
end

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri May 02, 2003 8:27 pm    Post subject: Reply with quote

And keep in mind that it won't be so much of a pain in VDS 5 since you
won't need to save the script every time you want to compile. Very Happy

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri May 02, 2003 8:31 pm    Post subject: Reply with quote

Skit3000 wrote:
Or you can use this in top of your code...


Yes. That's a good approach. But it uses more code and if you're just going
to use it for your own program's purposes the developer should know
what they are doing. Wink

But thanks Skit. Thumbs Up Wink

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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