Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5883
| From | "Jamal" <jamal@examples.net> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Memoread not working |
| Date | 2013-09-30 15:14 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <l2ciiu$9jk$1@speranza.aioe.org> (permalink) |
| References | <3b14a2d6-d414-41a6-bed5-6dabde6dbcd1@googlegroups.com> |
Rob,
What you should is to add a call to SetExact(TRUE) in your application start
method avoid such surprises in other areas of your code. Unfortunately, VO
has the default set to FALSE which made you suffer for a few days <g>.
This will ensure that all string comparisons use == (exactly equal by
length and value) instead of = ( which causes strings to be compared by
length and position only)
HTH,
Jamal
"Rob van Erk" wrote in message
news:3b14a2d6-d414-41a6-bed5-6dabde6dbcd1@googlegroups.com...
I use following simple code but no idea why it does not read the TXT file:
local cString as string
If (cString := MemoRead("c:\readme.txt")) = null_string
Errorbox("error", "can not read file")
endif
The "readme.txt" is not read-only, it does exist, it has a text in it, the
user has all rights on c:\ root. No idea why the file is not read by the
code. I also tried to open other files like "c:\doc.csv"
Using VO2.8 SP2.
Thanks for any tips...
Rob
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
Memoread not working Rob van Erk <erk.v@hotmail.com> - 2013-09-28 01:49 -0700
Re: Memoread not working BGeorge <GeorgeTritsos@yahoo.gr> - 2013-09-28 02:55 -0700
Re: Memoread not working malcolm gray <malcolm.gray@ntlworld.com> - 2013-09-28 14:46 +0100
Re: Memoread not working Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2013-09-28 21:33 +0200
Re: Memoread not working Rob van Erk <erk.v@hotmail.com> - 2013-09-29 12:51 -0700
Re: Memoread not working Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2013-09-29 22:59 +0200
Re: Memoread not working Karl Wochele <kw@e©os-system.dot.de> - 2013-09-30 08:48 +0200
Re: Memoread not working Frans Wauters <info@wautersit.com> - 2013-09-30 02:06 -0700
Re: Memoread not working Rob van Erk <erk.v@hotmail.com> - 2013-09-30 11:10 -0700
Re: Memoread not working "Jamal" <jamal@examples.net> - 2013-09-30 15:14 -0400
csiph-web