Yoko

All sides of Injection
It is currently 2026-01-17 18:43:40

All times are UTC+02:00




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: 2004-12-02 20:02:02 
Offline
User avatar

Joined: 2004-11-02 23:52:47
Posts: 86
Всем здрасте. Сразу к делу, вот часть скрипта:
Code:
var i, mz 

<...>

sub main()
DIM NGX[10]
  NGX[1]='1001'
  NGX[2]='1002'
  NGX[3]='1003'
  NGX[4]='1004'
  NGX[5]='1005'
  NGX[6]='1006'
  NGX[7]='1007'
  NGX[8]='1008'
  NGX[9]='1009'
 NGX[10]='1010'

DIM NGY[10]
  NGY[1]='1001'
  NGY[2]='1002'
  NGY[3]='1003'
  NGY[4]='1004'
  NGY[5]='1005'
  NGY[6]='1006'
  NGY[7]='1007'
  NGY[8]='1008'
  NGY[9]='1009'
 NGY[10]='1010'

<...>

 For i = 1 to 10
 CheckLag()
 gotoxy(NGX[i],NGY[i],0)
 mz = UO.GetZ("self")

<...>

next

<...>

endsub

После запуска выдаёт ошибку в "sub gotoxy(x,y,prec)": "Line ###: Bad operation for this type of variable- DX" В чём может быть ошибка, и как её исправить?


Top
   
 
 Post subject:
PostPosted: 2004-12-02 20:06:20 
Offline
User avatar

Joined: 2004-11-02 23:52:47
Posts: 86
А, хм, ТУПЛЮ =))) савсем забыл что " '1004' " и " 1004 " разные вещи =) один " int " другой " str " :D


Top
   
 
 Post subject:
PostPosted: 2004-12-02 23:07:06 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
лучше осознать это позже, чем никогда.


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited