string error with +
Jan 26, 2009 14:32:34 GMT -5
Post by veneff on Jan 26, 2009 14:32:34 GMT -5
I had an assignment as:
DebugMsg$ = DATE$("mm/dd/yyyy")+" "+TIME$()+" "+DebugMsg$
and received the error:
Compile Error
Type mismatch - String expression expected.
DebugMsg$ = DATE$("mm/dd/yyyy")+" "+TIME$()+" "+DebugMsg$
I replaced the +(s) with ;(s) giving:
DebugMsg$ = DATE$("mm/dd/yyyy");" ";TIME$();" ";DebugMsg$
This worked.
Vance
DebugMsg$ = DATE$("mm/dd/yyyy")+" "+TIME$()+" "+DebugMsg$
and received the error:
Compile Error
Type mismatch - String expression expected.
DebugMsg$ = DATE$("mm/dd/yyyy")+" "+TIME$()+" "+DebugMsg$
I replaced the +(s) with ;(s) giving:
DebugMsg$ = DATE$("mm/dd/yyyy");" ";TIME$();" ";DebugMsg$
This worked.
Vance