This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

"expected integer but got "" "

Old posts that have not been replied to for several years.
Locked
N
NinjaNath

"expected integer but got "" "

Post by NinjaNath »

umm okay this problem still has me beat does anyone have any ideas?

the problem is either in one of those two modules, but the only tcl feedback that i am getting is the message

'expected integer bit got "" '

-----------------------------------

edit: Well thanks anyway but that doesn't really fix/explain it, it has been working fine for ages
Last edited by NinjaNath on Wed Jul 28, 2004 9:27 am, edited 1 time in total.
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

You should use 'list' when calling a procedure with a utimer.

Replace:

Code: Select all

[utimer 45 "display_warn_heading"] 
with:

Code: Select all

utimer 45 [list display_warn_heading]
Also,

Code: Select all

set voted { }
What are you doing here?
If you want to set an empty variable use:

Code: Select all

set voted ""
If you want to set it to the variable { } use:

Code: Select all

set voted "\{ \}"
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Re: "expected integer but got "" "

Post by user »

NinjaNath wrote:umm okay this problem still has me beat does anyone have any ideas?

the problem is either in one of those two modules, but the only tcl feedback that i am getting is the message

'expected integer bit got "" '

-----------------------------------

edit: Well thanks anyway but that doesn't really fix/explain it, it has been working fine for ages
What problem? What modules? post some names or code or check '.tcl set errorInfo' after the error have occurred.
Have you ever read "The Manual"?
Locked