I found a way to test if doors is on the calculator or not so i can use that in my programs. The way i check is this:

Code:

real(A)                ; A can be any number you want
not(Ans=A)->B   ; if the answer from real(A) is equal to A, then 0->B else, 1->B
if A:Then
Disp "You are using Doors!"
Else
Disp "You do not have Doors or you have disabled libraries"


The problem i'm having with this is that when i'm using Doors certain values of A can have adverse affects on the calculator. 2 or 3 outputs random pixels all over the bottom of the screen and 4 slows down the calculator considerably until you use a different value of A in real(). Does anyone know any better ways of checking for Doors?
Are we talking Doors CS 7 or Doors CSE 8? It sounds like you should read about what you're actually doing by using random real() commands, and see what the recommended idiom to identify whether Doors CS is present is:
http://dcs.cemetech.net/index.php?title=DCSB_Libs
http://dcs.cemetech.net/index.php?title=Third-Party_BASIC_Libraries
The standard way to check if you use Doors CSE 8 is something like this:

Code:

If 80>det[[42
Then
Disp "Get Doors CSE to run this","http://dcs.cemetech.net"
Return
End

For Doors CS7, I don't know, but I think is it the same
PT_ wrote:
For Doors CS7, I don't know, but I think is it the same
KermMartian wrote:
[...]see what the recommended idiom to identify whether Doors CS is present is:
http://dcs.cemetech.net/index.php?title=DCSB_Libs
[...]
KermMartian wrote:
Are we talking Doors CS 7 or Doors CSE 8?s


I'm talking about doorsCS7 and the example above does not work.
Stardust49 wrote:
KermMartian wrote:
Are we talking Doors CS 7 or Doors CSE 8?s


I'm talking about doorsCS7 and the example above does not work.

Reading, dude, do you do it?
KermMartian wrote:
PT_ wrote:
For Doors CS7, I don't know, but I think is it the same
KermMartian wrote:
[...]see what the recommended idiom to identify whether Doors CS is present is:
http://dcs.cemetech.net/index.php?title=DCSB_Libs
[...]
sorry, My schools internet safety blocks a lot of sites because of how stupidly they set it up. I couldn't access that site in Google Chrome but now that i switch to IE11 instead of google chrome, it lets me on the site.
they use different software for both browsers.

Thanks, the example on the page you gave me works.
For those who don't read, det([[42 checks if DCSB/CelticIII/etc. libs are installed and enabled. Just because Doors CS/E is installed does not mean that it is hooking into TI-BASIC. To make the example work, ensure the DCSB libs are enabled in Doors CS/E settings.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement