Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / BlueGUI hotkey error

Author
Message
Flame15
19
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Norway
Posted: 27th Feb 2006 19:25
When I try to use "createHotKey" I get the error "User function 'createHoKey'must return a value if used in an expression at line 378."

What is the problem??

The flame
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 27th Feb 2006 19:53
Quote: "'createHoKey'"


is that a post typo or a code typo?
are you following DBP parenthesis rules?
are you trying to apply a SET to a GET or vica versa?

FREE Automatic file updates for your distributed Games and Apps - see Program Announcements Forum - DBP Demo
Matinuker
20
Years of Service
User Offline
Joined: 25th Mar 2004
Location:
Posted: 27th Feb 2006 20:53 Edited at: 27th Feb 2006 20:56
I think it would be-

myhotkey = createhotkey etc...

because it looks like it wants to return a value.

Edit: Oh, actually, probably not. Here's what the
help file says:


Lance
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location: Third planet from Sun
Posted: 28th Feb 2006 23:21
This is what I use to exit my game..


REM BLUE2 hot key for Quit
createHotKey 12,1,0,0,asc("Q")
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 1st Mar 2006 03:00
Quote: "When I try to use "createHotKey" I get the error "User function 'createHoKey'must return a value if used in an expression at line 378."

What is the problem??

"


According to the error message, there was a typo in your code (you are missing the 't' in 'Hot'. ie. createHotKey not createHoKey.


BlueGUI Windows Plugin
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Mar 2006 06:24
/me bows low

FREE Automatic file updates for your distributed Games and Apps - see Program Announcements Forum - DBP Demo
Flame15
19
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Norway
Posted: 2nd Mar 2006 20:00
I have sorted out the problem myself. (A little typing error)

NOT the "createHoKey", that one was only in the forum.

The flame
Flame15
19
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Norway
Posted: 2nd Mar 2006 20:01
And thanks for all the replies!!

The flame

Login to post a reply

Server time is: 2024-11-22 00:30:25
Your offset time is: 2024-11-22 00:30:25