Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sel - interger constant
#1
is there any way to get this working ?
Quote:Error in settings_parser: expected int constant.

i read settings from a xml file and the last entry is reserved for some
custom action.

settings_parser
Code:
Copy      Help
int i
for i 0 a.len
,str boards.formata("%s[]" a[i].title)
;out i
int mode=PopupMenu(boards)
sel mode
,case 0 end
,case i mes "some dialog"
,case else
,,out a[mode-1].url
pi
#2
No, use if.

Code:
Copy      Help
if(mode=0) ...
else if(mode=i) ...
else ...

;or

sel mode
,case 0 ...
,case else
,if(mode=i) ...
,else ...
#3
ok. thanks
pi
#4
do you know if
typelib MSXML {D63E0CE2-A0A2-11D0-9C02-00C04FC99C8E} 2.0
can be used on every xp computer or do i have to check for it ?
pi
#5
Don't know exactly. All my OS (98, 98SE, Me, 2K, XP, 2003) have at least version 2. Maybe it comes with IE 5, which is required for QM.


Forum Jump:


Users browsing this thread: 1 Guest(s)