[Gambas-user] don't know how to read
Jochen Georges
jochen.georges at ...22...
Mon Jan 27 00:01:05 CET 2003
hello
but i got an error message:
type mismatched, wanted file, got string instead
but the encyclopedeia sais:
------------------------------------
READ variable [, legth]
reads the standard output as binary data whose type is given by the
type of the variable ...
if variable is a string ...
------------------------------------
_and_
READ file [,length]
------------------------------------
the code that throws the error:
PRIVATE inttext AS String
PUBLIC SUB _new()
intext = "hello"
END
PUBLIC SUB Button1_Click()
outtext = Read(intext)
END
thanks for any hint
beste gruesse
jochen
More information about the User
mailing list