Yoko

All sides of Injection
It is currently 2025-12-22 00:53:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2008-09-13 14:54:01 
Offline

Joined: 2006-03-10 19:24:12
Posts: 30
sub spisok_run()

var runeCount=0,runeNumber,u=0,stroka,m=0
var f=file("F:\runes.txt")
dim rune[1000]
f.open()
while not f.eof()
runeCount=runeCount+1
rune[runeCount]=safe call f.Readln()
wend
f.close()
stroka=''
stroka="'" + rune[1] + "'"
for u=2 to runeCount
m=u+u-1
stroka=stroka + ";" + "'" +rune[m]+ "'"
uo.print(m)
next
runeNumber=UO.asmInputList("Выбери руну?",stroka,1)
runetorecall=rune[(runeNumber*2)]
endsub


Вообщем на выделенную строку ругается: Bad operation for this type or variable -STROKA В чем моя ошибка? Подскажите плз уже ломаю голову несколько часов.


Top
   
 Post subject:
PostPosted: 2008-09-13 19:45:00 
Offline
User avatar

Joined: 2006-11-06 21:45:23
Posts: 137
Все что идет после точки с запятой [;] или решетки [#] считается комментарием. Используй другие символы.


Top
   
 Post subject:
PostPosted: 2008-09-14 01:32:30 
Offline

Joined: 2006-03-10 19:24:12
Posts: 30
В данном случае нет. Он печатает окончательную строку, но выдает ошибку.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 5 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® Forum Software © phpBB Limited