browsing classes in other symbol dictionaries

10 views
Skip to first unread message

PAUL DEBRUICKER

unread,
Sep 18, 2021, 6:19:57 PM9/18/21
to tod...@googlegroups.com
I'm messing around with PDFTalk4GemStone (https://wiki.pdftalk.de/doku.php?id=pdftalk4gemstone) and trying to read a PDF but getting an error because GsFile>>#atEnd returns nil when there is an error and the PDFTalk code expects a boolean only.


How can I change tODE to be able to browse the classes that are loaded into the PDFTalk symbol dictionary used in my session?

When I do an e.g.

browse class Document

The PDFTalk class Document doesn't appear in the list of classes tODE finds though I can use it in an eval e.g.

eval `Document new`


Thanks!

Dale Henrichs

unread,
Sep 18, 2021, 6:54:09 PM9/18/21
to tod...@googlegroups.com, tod...@googlegroups.com
Paul,

Basically you need to add the PDFTalk symbol dictionary to either you persistent or transient symbol list ...

The persistent symbol list (System myUserProfile symbolList) would be used if your want PDFTalk to be visible across multiple sessions ... The transient symbolList (GsCurrentSession currentSession symbolList  ... until around 3.6.0? when using the transient symbol list came under explicit user control ... see the comment in GsCurrentSession>>symbolList) would be used if you want PDFTalk to be visible for the duration of a single session ... by default the transient session list is a copy of the persistent symbol list made at login time ...

tODE and GemStone itself uses `GsCurrentSession currentSession symbolList` for all lookups so the contents of PDFTalk will be visible no matter which route you choose ...

Dale
--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tode_st+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages