[Gambas-user] Possible bug in 1.0.13?

GuruLounge - MailLists maillists at ...1367...
Thu Feb 23 22:14:30 CET 2006


I'm attempting to write a function and keep getting the following error:

"wanted float, got string instead".

My function looks like this.

public function AddToFileList(strKey as string, strFile as string) as
String

dim strType as string

	strType = "file"
	...bunch 'o statements...

	return strType
end

Public sub SomeRoutine()
dim myStr as string

	...bunch 'o statements...
	myStr = AddToFileList(myKey, myFile)
	...bunch 'o statements...

end

Is this a bug or am I missing something?

Jeff

-- 

     .^.
     /V\
    /( )\
    ^^-^^
Linux Advocate





More information about the User mailing list