General discussion relating to the library modules supplied with the compiler
Moderators: David Barker, Jerry Messina
-
ohararp
- Posts: 194
- Joined: Tue Oct 03, 2006 11:29 pm
- Location: Dayton, OH USA
-
Contact:
Post
by ohararp » Wed Nov 07, 2007 8:03 pm
When searching for string for a carriage return I would normally use the decimal value 13. However, when I do this I get the error "Imcompatible Parameter Types".
Anybody know a work around for this?
-
ohararp
- Posts: 194
- Joined: Tue Oct 03, 2006 11:29 pm
- Location: Dayton, OH USA
-
Contact:
Post
by ohararp » Wed Nov 07, 2007 8:09 pm
Found the answer = #13
-
xor
- Posts: 286
- Joined: Sun Nov 05, 2006 1:15 pm
- Location: NYC
-
Contact:
Post
by xor » Thu Nov 15, 2007 10:31 pm
Chr$(13) is a Carriage Return. Chr$(10) is a Line Feed. Using textboxes with Visual Basic I have to combine these since Carriage Return is not enough... Chr$(13) + Chr$(10).