Memo xx show (valid command or not?)
William J. McEachran
bill.mceachran at gmail.com
Thu Aug 17 08:47:41 PDT 2017
I've been playing around with MEMOs ... and so far so good with respect to
corruption but it's not been heavily pounded upon ... so don't take this as
an endorsement.
MEMO export on Linux is pretty straight forward.
118 ------- - - - - - - - - - - - - - - - -
If:
Then: FILE_NAME="/tmp/example.txt" 'for example
119 ------- - - - - - - - - - - - - - - - -
If:
Then: CMD="umask 111; touch" < FILE_NAME 'create the file, in this
case it won't pre-exist and will be destroyed
120 ------- - - - - - - - - - - - - - - - -
If: memo
Then: system CMD
121 ------- - - - - - - - - - - - - - - - -
If: memo
Then: MEMO xx EXPORT FILE_NAME 'export memo to file
122 ------- - - - - - - - - - - - - - -
Do what you want with the resulting file
xx must be defined as (16,MEMO). CMD and FILE_NAME are long variables
because I like using them.
MEMO is very un-filePro like on the whole.
You can't include it on a report using the same techniques as with other
filePro data.
You can't use any @we* or @wl* or other processing labels with it.
You can't put a title on the box it draws to show or edit the Memo on the
screen (a title variable is only available in the GUI). You can get around
that when showing the MEMO by using a SHOW statement immediately after the
'MEMO xx SHOW '
If:
Then: memo xx show ("13","1","9","80","",""); show ("13","5") "\r
NOTES \r"
... but you can't do that with 'MEMO xx EDIT" as far as I can tell.
When using the MEMO SHOW command the End of Field marker characters shows
on the screen -- which is ugly and distracting.
On the other hand ...
It's great for pulling in text from NotePad and any other text generated by
the user.
It uses all the filePro function keys to edit the memo as you would expect
ie) on Linux termcap F3 inserts a line, F2 deletes a character, CTRL-O
deletes the rest of a line etc.
Word wrapping is nice.
Spell checking has it's issues as per my earlier message but is
nice-to-have nonetheless.
It scrolls beyond the screen real-estate as required. Beautiful.
I hope that's of some interest to the MEMO uninitiated.
As an aside, I've had zero issues with filePro license manager FWIW.
Nested CALLs ... worth it.
--
Bill McEachran
bill.mceachran at gmail.com
--
Bill McEachran
bill.mceachran at gmail.com
http://www.wjmceachran.com
http://www.fileproprogramming.com
https://ca.linkedin.com/in/bill-mceachran-82a56114
On Mon, Aug 14, 2017 at 1:37 PM, William J. McEachran <
bill.mceachran at gmail.com> wrote:
> 5.8 at least seems to have something of a hybrid with respect to
> spellchecking
> .
> The file .../fp/spell/README.txt refers has the following references to
> both iSpell and Hunspell
> ::
> *.hsh = iSpell
>
> *.dic and *.aff = Hunspell
> ::
> I tried changing out the supplied en_US.aff en_US.dic with the 'en_CA'
> versions from Libreoffice but it failed.
> I would think the dict.hsh file also needs replaced but I never pursued it.
>
> Enough of an aside for me ... the spell check wasn't a feature I feature
> I was interested in.
>
> What I'm interested in is if MEMO/BLOB results in data corruption in
> recent versions.
>
>
> --
> Bill McEachran
> bill.mceachran at gmail.com
> http://www.wjmceachran.com
> http://www.fileproprogramming.com
> https://ca.linkedin.com/in/bill-mceachran-82a56114
>
>
> On Mon, Aug 14, 2017 at 1:10 PM, William J. McEachran <
> bill.mceachran at gmail.com> wrote:
>
>> Its hunspell now
>> Manual says:
>> <<
>> "Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla
>> Firefox 3 & Thunderbird, Google Chrome, and it is also used by proprietary
>> software packages, like Mac OS X, InDesign, memoQ, Opera and SDL Trados."
>> <http://hunspell.sourceforge.net/> <http://hunspell.sourceforge.net/>
>> >>
>>
>>
>> --
>> Bill McEachran
>> bill.mceachran at gmail.com
>> http://www.wjmceachran.com
>> http://www.fileproprogramming.com
>> https://ca.linkedin.com/in/bill-mceachran-82a56114
>>
>>
>> On Mon, Aug 14, 2017 at 1:00 PM, Fairlight via Filepro-list <
>> filepro-list at lists.celestial.com> wrote:
>>
>>> If memory serves, they used aspell. If that's true, this is a good place
>>> to start:
>>>
>>> http://aspell.net/man-html/Format-of-the-Personal-and-Replac
>>> ement-Dictionaries.html
>>>
>>> m->
>>>
>>> On Mon, Aug 14, 2017 at 12:53:23PM -0400, William J. McEachran via
>>> Filepro-list thus spoke:
>>> > This thread got me interested in re-evaluating MEMO/BLOB which I never
>>> > embraced due to all the well known corruption issues.
>>> >
>>> > I'd be interested in comments from anyone using MEMO or BLOB regularly
>>> on
>>> > recent versions of filePro.
>>> >
>>> > Can the spelling library used in MEMO (and the SPELLCHECK command) be
>>> > customized ?
>>> >
>>> > In my neighbourhood things are spelt differently.
>>> >
>>> >
>>> > --
>>> > Bill McEachran
>>> > bill.mceachran at gmail.com
>>> > http://www.wjmceachran.com
>>> > http://www.fileproprogramming.com
>>> > https://ca.linkedin.com/in/bill-mceachran-82a56114
>>> >
>>> >
>>> > On Sat, Aug 12, 2017 at 2:12 AM, Laura Brody via Filepro-list <
>>> > filepro-list at lists.celestial.com> wrote:
>>> >
>>> > > That is correct syntax.
>>> > >
>>> > > MEMO f SHOW
>>> > > MEMO f CLEAR
>>> > >
>>> > > should work without error. If you have code which crashes you should
>>> send a
>>> > > sample file to fP Tech for them to take a look at it.
>>> > >
>>> > > Laura Brody
>>> > >
>>> > > On Fri, Aug 11, 2017 at 9:56 PM, Mike via Filepro-list <
>>> > > filepro-list at lists.celestial.com> wrote:
>>> > >
>>> > > > windows2008 server r2/filepro 5.0.09dn9
>>> > > >
>>> > > > In the filepro help file it says this....
>>> > > >
>>> > > > "MEMO xx CLEAR Clears a window brought up with MEMO xx SHOW."
>>> > > >
>>> > > > MEMO xx CLEAR, MEMO xx EDIT, etc... are listed on the left of the
>>> memo
>>> > > > help as memo commands but it doesn't list MEMO xx SHOW there at
>>> all. I
>>> > > just
>>> > > > assumed from the description of the MEMO xx CLEAR command that
>>> MEMO xx
>>> > > SHOW
>>> > > > was a valid command.
>>> > > >
>>> > > > I didn't get any syntax errors when I put it in the processing
>>> table but
>>> > > I
>>> > > > got a critical memory something error when I tried running the
>>> program.
>>> > > >
>>> > > > For now I'm just using MEMO xx EDIT with readonly but I'm curious
>>> to know
>>> > > > if the MEMO xx SHOW is even a valid command.
>>> > > >
>>> > > > Mike
>>> > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > > -------------- next part --------------
>>> > > > An HTML attachment was scrubbed...
>>> > > > URL: <http://mailman.celestial.com/pipermail/filepro-list/attachm
>>> > > > ents/20170811/b0b75abc/attachment.html>
>>> > > > _______________________________________________
>>> > > > Filepro-list mailing list
>>> > > > Filepro-list at lists.celestial.com
>>> > > > Subscribe/Unsubscribe/Subscription Changes
>>> > > > http://mailman.celestial.com/mailman/listinfo/filepro-list
>>> > > >
>>> > > -------------- next part --------------
>>> > > An HTML attachment was scrubbed...
>>> > > URL: <http://mailman.celestial.com/pipermail/filepro-list/
>>> > > attachments/20170812/c45422c8/attachment.html>
>>> > > _______________________________________________
>>> > > Filepro-list mailing list
>>> > > Filepro-list at lists.celestial.com
>>> > > Subscribe/Unsubscribe/Subscription Changes
>>> > > http://mailman.celestial.com/mailman/listinfo/filepro-list
>>> > >
>>> > -------------- next part --------------
>>> > An HTML attachment was scrubbed...
>>> > URL: <http://mailman.celestial.com/pipermail/filepro-list/attachm
>>> ents/20170814/a6b0d199/attachment.html>
>>> > _______________________________________________
>>> > Filepro-list mailing list
>>> > Filepro-list at lists.celestial.com
>>> > Subscribe/Unsubscribe/Subscription Changes
>>> > http://mailman.celestial.com/mailman/listinfo/filepro-list
>>> >
>>>
>>> --
>>> Audio panton, cogito singularis.
>>> _______________________________________________
>>> Filepro-list mailing list
>>> Filepro-list at lists.celestial.com
>>> Subscribe/Unsubscribe/Subscription Changes
>>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20170817/469663b6/attachment.html>
More information about the Filepro-list
mailing list