0
Как создать цикл в omnet ++ с пользовательской переменной. Я попытался следующие, но он дал мне ошибку: сетевой сети {Как создать цикл в omnet ++?
parameters:
int n @prompt("enter number") = default(2);
connections:
for i=0..n do { // here the n gives me a syntax error (unexpected NAME, expected {
//do things
}