Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Can Basic be bilingual?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
DonH  
View profile  
 More options Mar 29 2012, 3:30 pm
Newsgroups: comp.lang.basic.misc
From: "DonH" <donlhumphr...@bigpond.com>
Date: Fri, 30 Mar 2012 06:30:35 +1100
Local: Thurs, Mar 29 2012 3:30 pm
Subject: Can Basic be bilingual?
I tried to transfer Greek letters into a Basic program, but found this
impossible, as all were automatically converted into their English
equivalent.
  Windows itself has no problem, but Basic must be unilingual - being at a
primitive level?
  Or, is it just that I don't know the technique?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Karl E. Peterson  
View profile  
 More options Mar 29 2012, 4:19 pm
Newsgroups: comp.lang.basic.misc
From: Karl E. Peterson <k...@exmvps.org>
Date: Thu, 29 Mar 2012 13:19:09 -0700
Local: Thurs, Mar 29 2012 4:19 pm
Subject: Re: Can Basic be bilingual?
DonH pretended :

> I tried to transfer Greek letters into a Basic program, but found this
> impossible, as all were automatically converted into their English
> equivalent.
>   Windows itself has no problem, but Basic must be unilingual - being at a
> primitive level?
>   Or, is it just that I don't know the technique?

No where near enough information here.

You don't even say what "Basic" language you're using.  If it's VB6,
you might find http://www.i18nwithvb.com/ worth a peek.

--
.NET: It's About Trust!
http://vfred.mvps.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DonH  
View profile  
 More options Mar 30 2012, 3:54 pm
Newsgroups: comp.lang.basic.misc
From: "DonH" <donlhumphr...@bigpond.com>
Date: Sat, 31 Mar 2012 06:54:30 +1100
Local: Fri, Mar 30 2012 3:54 pm
Subject: Re: Can Basic be bilingual?
"Karl E. Peterson" <k...@exmvps.org> wrote in message
news:jl2g3v$2b9$1@dont-email.me...

# I use MS-QBasic, under Windows (DOS), and find it quite satisfactory.
   The bilingual endeavour was only a casual attempt, and of no real
concern - as Windows itself, and WWWeb, can accommodate.
   I suppose that even at relatively primitive Basic level, the additional
characters of, eg Cyrillic or Germanic alphabets, could be covered if the
ASCII (American!) binaries were expanded.
   Presumably, Basic in non-English nations is entirely in their language -
but that is not bilingual.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Karl E. Peterson  
View profile  
 More options Mar 30 2012, 4:34 pm
Newsgroups: comp.lang.basic.misc
From: Karl E. Peterson <k...@exmvps.org>
Date: Fri, 30 Mar 2012 13:34:55 -0700
Local: Fri, Mar 30 2012 4:34 pm
Subject: Re: Can Basic be bilingual?
DonH formulated the question :

> # I use MS-QBasic, under Windows (DOS), and find it quite satisfactory.
>    The bilingual endeavour was only a casual attempt, and of no real concern
> - as Windows itself, and WWWeb, can accommodate.
>    I suppose that even at relatively primitive Basic level, the additional
> characters of, eg Cyrillic or Germanic alphabets, could be covered if the
> ASCII (American!) binaries were expanded.
>    Presumably, Basic in non-English nations is entirely in their language -
> but that is not bilingual.

Hmmm, well, that /is/ a DOS application, so you need to look at
"ancient" things like codepages and such to do that.  DOS is very
limited, as I recall, to 256 characters at a time.  Sorry I can't offer
better advice.  It's been nearly a quarter century since I had to mess
with that stuff.

--
.NET: It's About Trust!
http://vfred.mvps.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ralph  
View profile  
 More options Mar 30 2012, 6:21 pm
Newsgroups: comp.lang.basic.misc
From: ralph <nt_consultin...@yahoo.net>
Date: Fri, 30 Mar 2012 17:21:41 -0500
Local: Fri, Mar 30 2012 6:21 pm
Subject: Re: Can Basic be bilingual?
On Sat, 31 Mar 2012 06:54:30 +1100, "DonH" <donlhumphr...@bigpond.com>
wrote:

There are such character sets/mappings, for example, Latin-1. But that
would hardly resolve the issue.

A few exotic attempts have been made to create 'bilingual' or
'localized' programming languages , however, those were mostly just
scripting front-ends for a 'single language' compiler (ie, a
pre-pre-processor) and pretty much a failure. This excludes those
attempts where a parser/compiler is converted to another language. For
example, there are Russian and Chinese versions of BASIC - but they
would be as mystified with English as your QBasic is with Greek.

In general no such a thing exists in programming. The main problem is
Keywords and Libraries. Imagine the complexity that would be
introduced if ...
           SI(...)  
           SE(...)
           AV(...)
           IF(...)
may or may not be indicating an "If" block.

What if a Spanish programmer passed his source code across the border
to his Portuguese buddy for additional coding, who then passed it on
to England? You would then have code full of SI(...), IF(...), and
SE(...) blocks all meaning the same thing. Not only would the number
of Keywords and Library name space expand but the code itself would
turn into a jumbled mess.

Not to mention the fact that choices for creating a non-keyword
variable would decrease considerably. <g>

-ralph


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hector Alfaro  
View profile  
 More options Mar 30 2012, 9:08 pm
Newsgroups: comp.lang.basic.misc
From: Hector Alfaro <alfaro...@ceropublicidad.com>
Date: Fri, 30 Mar 2012 20:38:12 -0430
Local: Fri, Mar 30 2012 9:08 pm
Subject: Re: Can Basic be bilingual?
El 30/03/2012 03:24 p.m., DonH escribió:

In the qbasic online help there is an ascii table with all the available
characters in your current codepage.

On a real DOS environment you can change codepage but not sure on windows.

Try yabasic, libertybasic, lbb, they are similar languages with new
features that run as real windows applications.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DonH  
View profile  
 More options Mar 31 2012, 2:47 pm
Newsgroups: comp.lang.basic.misc
From: "DonH" <donlhumphr...@bigpond.com>
Date: Sun, 1 Apr 2012 04:47:05 +1000
Local: Sat, Mar 31 2012 2:47 pm
Subject: Re: Can Basic be bilingual?
"Hector Alfaro" <alfaro...@ceropublicidad.com> wrote in message

news:jl5lfa$ei6$1@speranza.aioe.org...

# Thanks.
=========================
CLS
REM ==================================================
REM Greek Letters occur, as ASCII characters:
REM ==================================================
DIM a$(224 TO 240), b$(224 TO 240), c$(3 TO 6)
FOR n = 224 TO 240
      a$(n) = CHR$(n)
NEXT n
PRINT
PRINT "========================================================"
FOR n = 224 TO 240
      READ b$(n)
NEXT n
DATA "alpha","beta","gamma","pi", "sigma", "sigma"
DATA "mu", "tau", "phi","theta", "omega", "delta"
DATA "psi","phi", "epsilon", "pi","xi"
FOR n = 224 TO 240
      PRINT a$(n); "="; b$(n),
NEXT n
PRINT "========================================================"
FOR n = 3 TO 6
  c$(n) = CHR$(n): PRINT c$(n); " ";
  NEXT n
END

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
steve  
View profile  
 More options Apr 5 2012, 10:58 am
Newsgroups: comp.lang.basic.misc
From: steve <blunt.axe.ba...@gmail.com>
Date: Thu, 5 Apr 2012 07:58:30 -0700 (PDT)
Local: Thurs, Apr 5 2012 10:58 am
Subject: Re: Can Basic be bilingual?
DonH, as you've illustrated, QBasic can print the Greek ascii
characters, but, it's not designed to function in a bilingual mode.
I'm not at all sure what your intention is. Is it simply to output
Greek text, or to actually write programs in Greek ?
If the latter, that is beyond the capabilities of QBasic.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DonH  
View profile  
 More options Apr 5 2012, 3:35 pm
Newsgroups: comp.lang.basic.misc
From: "DonH" <donlhumphr...@bigpond.com>
Date: Fri, 6 Apr 2012 05:35:20 +1000
Local: Thurs, Apr 5 2012 3:35 pm
Subject: Re: Can Basic be bilingual?
"steve" <blunt.axe.ba...@gmail.com> wrote in message

news:d2ea36cd-2819-4c6a-8a6a-26a720920da5@v7g2000pbs.googlegroups.com...

> DonH, as you've illustrated, QBasic can print the Greek ascii
> characters, but, it's not designed to function in a bilingual mode.
> I'm not at all sure what your intention is. Is it simply to output
> Greek text, or to actually write programs in Greek ?
> If the latter, that is beyond the capabilities of QBasic.

# Mine is only a casual interest, and all I wanted was to transliterate
Greek letters into English equivalent, not translate.
   It seems the QBasic listing of Greek letters is only for mathematical
purposes, but the full alphabet (alpha to omega) is listed in my Penguin
Dictionary of Mathematics, even if not all letters are used by
mathematicians.
   In QBasic's case, it may be an opportunity missed.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
steve  
View profile  
 More options Apr 5 2012, 8:33 pm
Newsgroups: comp.lang.basic.misc
From: steve <blunt.axe.ba...@gmail.com>
Date: Thu, 5 Apr 2012 17:33:50 -0700 (PDT)
Local: Thurs, Apr 5 2012 8:33 pm
Subject: Re: Can Basic be bilingual?
On Apr 5, 12:35 pm, "DonH" <donlhumphr...@bigpond.com> wrote:

>    In QBasic's case, it may be an opportunity missed.

Well, you have to consider the time frame in which QBasic was
developed (mid '80s) and the limitations of both the hardware and
software of the time. Windows pretty much solved that. If I recall
correctly, the ascii character set was contained on the rom bios. It
may still be.
I remember reading in one of my reference books, that there was a way,
that if you had created your own character set, you could
programatically replace the character set with your own, loaded in
ram. Then, you would re-vector the location where dos went to lookup
the characters. It's a possibility.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Helmut_Meukel  
View profile  
 More options Apr 7 2012, 4:44 pm
Newsgroups: comp.lang.basic.misc
From: Helmut_Meukel <Helmut_Meu...@bn-hof.invalid>
Date: Sat, 07 Apr 2012 22:44:01 +0200
Local: Sat, Apr 7 2012 4:44 pm
Subject: Re: Can Basic be bilingual?

DonH wrote:
> "steve" <blunt.axe.ba...@gmail.com> wrote in message
> news:d2ea36cd-2819-4c6a-8a6a-26a720920da5@v7g2000pbs.googlegroups.com...
>> DonH, as you've illustrated, QBasic can print the Greek ascii
>> characters, but, it's not designed to function in a bilingual mode.
>> I'm not at all sure what your intention is. Is it simply to output
>> Greek text, or to actually write programs in Greek ?
>> If the latter, that is beyond the capabilities of QBasic.

> # Mine is only a casual interest, and all I wanted was to transliterate Greek
> letters into English equivalent, not translate.

Hmmm,
you do realize English is written using Latin letters, do you?
And there is no 1:1 correspondence between the "Greek" and the "Latin"
characters. Some are equivalent, but not all.
If three scholars are tasked to write an english text using "Greek"
letters, I bet you get at least 5 different verions. ;-)

Helmut.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DonH  
View profile  
 More options Apr 8 2012, 4:59 pm
Newsgroups: comp.lang.basic.misc
From: "DonH" <donlhumphr...@bigpond.com>
Date: Mon, 9 Apr 2012 06:59:37 +1000
Local: Sun, Apr 8 2012 4:59 pm
Subject: Re: Can Basic be bilingual?
"Helmut_Meukel" <Helmut_Meu...@bn-hof.invalid> wrote in message

news:jlq8ua$vlt$1@dont-email.me...

# There is sufficient correspondence with most of the Latin alphabet for my
purposes -
   ABC(K)DEFGILMNOPRSTV(U)XZ - and can guess the rest from context, if left
blank.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »