Minor Query Problem
#1

Hello, i am having a Minor Query Error idk why..
This is the line:
PHP код:
if(!Iter_Count(Logsid)) return 1
i added to top of script:
PHP код:
new IteratorLogs<MAX_LOGS>; 
any guess why there is error?
PHP код:
 (548) : error 017undefined symbol "Logs" 
Reply
#2

Bump
Reply
#3

Logs not declared
Reply
#4

But i did Interator: Logs<MAX_LOGS> as you can see in my given code....
Reply
#5

YSI library does not use common naming, that means that declaring an iterator called "Logs", it actually declares them as "Logs@YSII_Cg", "Logs@YSII_Ag" and "Iter_Single@Logs", "Iterator@Logs" for YSI 3.1 and YSI 4 respectively.

Iter_Count also has 1 parameter and that is the name of the iterator. You have used a second parameter so I assume you wanted to use Iter_Contains instead?
Reply
#6

i understand what chu mean.. no i wanted how much Logs are saved in the interator. it was for Loading wodden Log Objects. so if there are no Logs saved, then it will return 1 the LogsLoading function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)