SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
Thread Tools | Search this Thread | Display Modes |
|
05-26-08, 12:49 PM | #1 |
Samurai Navy
Join Date: Sep 2006
Location: Germany
Posts: 597
Downloads: 36
Uploads: 0
|
Doctrine language: While
Have anybody of you guys worked with the 'While' statement, which seems part of the Doctrine language?
I used it in a tactic doctrine that way: While ( counter ) { DebugOut "Test" ;do sth with the counter here... } but hasn't worked. Since the whole doctrine script is embedded in a big 'for loop' there are workarounds but sometimes such a statement would be handy. For example if you create two random numbers and both are dependent to each other.
__________________
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein |
05-26-08, 03:50 PM | #2 | |
Soundman
Join Date: Sep 2004
Location: Compartment № 5 /Silos/
Posts: 149
Downloads: 0
Uploads: 0
|
Quote:
It can spoil the doctrine. /. Read Lerning About Doctrine Scripts Maybe its Help For You.
__________________
-+= I the ocean hunter, and I am dangerous =+- *** Kalashnikov - the best *** |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|