mIRC Home    About    Download    Register    News    Help

Print Thread
#173449 25/03/07 01:49 PM
Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
in my dialog i tupe "boing" name click button and he set
%boing1
%boing2
%boing3
...
%boing31

and add name on the list

now he can asinge values to the 31 day on that name when he select the date

he select the name whit clickin on the list box
set %izbor $did(230).seltext

he select the date from the combo
set %kojidan $did(310).seltext

and add info on name under selected date
/set % $+ %izbor $+ %kojidan $calc(((%rac3 * 60) + %rac4) - ((%rac1 * 60) + %rac2))

and now come my problem
if (% $+ %izbor $+ %kojidan != $null) {
/set %vec.je.upisan $?!="Do you need to edit data?"
if (%vec.je.upisan == $false) {
halt
}
this i cant make to work becose % $+ %izbor $+ %kojidan is = "%boing2" but not the valye on %boing2
can someone help me whit this


Joined: Jan 2007
Posts: 259
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Jan 2007
Posts: 259
Try:
Code:
if (% [ $+ [ $+(%izbor,%kojidan) ] ] != $null) {



Those who can, cannot. Those who cannot, can.
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Or
if ($eval(% $+ %izbor $+ %kojidan,2) != $null)
or (to use $+() and shorten the expression a bit)
if ($eval($+(%,%izbor,%kojidan),2) != $null)


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
its working, ty 4 your help wink


Link Copied to Clipboard