Hi Jim,

Well, tell you what. As it happens I'm in the process of rewriting my
Blackjack game in C++ for Linux, and I plan to release a Windows build
as well. When I release it you can tell me how it works with your
version of JFW. I tried it with JFW 11 and it reads the prompts,
menus, etc automatically. If it doesn't do that for you then it might
just be your version of Jaws is too old, or you haven't uncommented
the command prompt support in the Default.jss file.  I seam to
remember back when I was still at college I had to open the
Default.jss file and uncomment it in order to get any of my college
asignments to read automatically because some bonehead at Henter-Joice
commented the command prompt support out for some reason I'll never
understand. Thankfully that hasn't been necessary for several versions
now.

Anyway, I thought that code you showed me was Quick Basic. I knew it a
little bit, but basic languages, as you know, have never been my
forte. Ever since entering college I tend to stick to the C-Style
programming languages like C, C++, Java, Perl, C-Sharp, etc as that
seams to be were most of the programming skills and jobs are needed.
Plus now that I'm a user and contributer of the open source movement
most of the open source software is written in C or C++ which is right
up my alley so to speak, and it is easy enough for me to convert my
extensive C/C++ skills over to open source alternative APIs like SDL,
GTK+, Speech-Dispatcher, and so on. In fact, in a lot of ways they are
easier than their Windows counterparts.

As for locating text on the screen in VB 6, C++, or anything else that
shouldn't be too hard to do. All you simply have to do is insert x
blank lines where you want them and then print your statement. for
instance, here is how I'd do it in C++.

    // Insert 23 blank lines
    for (line = 0; line < 24; line++)
    cout << "\n";

    // Print hello world
    cout << "Hello World!\n";

I think this would pretty much be the equal of using the old Quick
Basic locate function as you are creating a number of blank lines
starting from the top of the console screen and when it reaches line
24 you print your text to the console. You probably could wrap this
with a sub or function called locate and use it as needed.

Cheers!

On 4/15/11, Jim Kitchen <j...@kitchensinc.net> wrote:
> Hi Thomas,
>
> My example of
> OPEN "o", #1, "con"
> LOCATE 24, 50: PRINT #1, " Jim Kitchen"
> was used in PDS7 (Microsoft Professional Basic Development System Version 7)
> also called Extended Quick Basic.  For dos it was a step above Quick Basic
> 4.5.  And as I said that would have all dos screen readers speak it
> automatically.  In VB6 I just tried.
> Open "con" For Output As #1
> print #1, " Jim Kitchen "
> and it was not spoken automatically by JFW.  As a matter of fact, it did not
> even show up on the screen at all.  Now in dos I could use a simple print "
> Jim Kitchen " and it would be on the screen, but not be spoken automatically
> by the dos screen reader.  The same thing is true with BB6.  I can just
> write print " Jim Kitchen " and it will be on the screen and be able to be
> read by JFW with the review cursor, but it does not get spoken
> automatically.  I also in VB6 never found an easy alternative to the Quick
> Basic locate function to place the text where you wanted it on the screen.
> So that is why for Windows games I got away from putting text on the screen
> and went to self voicing games via recorded speech or the sapi5 text to
> speech engine.
>
> BFN
>
>      Jim
>
> "If it works, don't mess with it" school graduate
>
> j...@kitchensinc.net
> http://www.kitchensinc.net
> (440) 286-6920
> Chardon Ohio USA
> ---
> Gamers mailing list __ Gamers@audyssey.org
> If you want to leave the list, send E-mail to
> gamers-unsubscr...@audyssey.org.
> You can make changes or update your subscription via the web, at
> http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
> All messages are archived and can be searched and read at
> http://www.mail-archive.com/gamers@audyssey.org.
> If you have any questions or concerns regarding the management of the list,
> please send E-mail to gamers-ow...@audyssey.org.
>

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to