Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XBASIC is new Basic for Linux

2 views
Skip to first unread message

ericmatteson...@hotmail.com

unread,
May 31, 2007, 8:34:57 PM5/31/07
to
Based on what I have seen wrtitten
XBasic for Linux is a very good Basic and might
even be the best version of BASIC available.
xbasic was designed for Linux.
Very simple example program is next
' delete all lines above this line
' This is the FIRST LINE of this BASIC PROGRAM
PROGRAM "gamexb07"
' This gamexb07.x xbasic game program is written
' by Eric Matteson. Permission is granted to copy
' this gamexb07.x source code and to publish it
' on the Internet and to use it at least for
' non profit use.
VERSION "2.0"
IMPORT "xst"
DECLARE FUNCTION KAPOWSKI07()
DECLARE FUNCTION numfroml#(n2p#,nmfwid#,n2b#,simode$,nmfline$)
DECLARE FUNCTION sfromnu$(sfnwid#,sfnbase#,vemode$,sfnuin#)
DECLARE FUNCTION prgroup#(prrmany#,prrset#,zlarry$[])
DECLARE FUNCTION bsymdex#(g4r#,singlev$,bydepth#,wayner$[])
DECLARE FUNCTION lben#(wseaver$)
DECLARE FUNCTION onedigit#(ogdsub#,ogdline$)
DECLARE FUNCTION dprecise#(dprein#,dprebase#,dprelimit#)
FUNCTION KAPOWSKI07()
DIM ttgreg#[11]
DIM larry$[32]
larry$[0]="05startgame"
larry$[1]="demolish demolish and close CE 101 permanently"
r5t$="postpone postpone reopening CE 101 until later semester"
larry$[2]=r5t$
larry$[3]="reopen reopen CE 101 computer science lab NOW!"
r5t$="avj avj Make an All Volunteer Jury system in ALL COURTS"
larry$[4]=r5t$
larry$[5]="*/"
outerfirst$=larry$[0]
outerdepth#=numfroml#(1,2,10,"i",outerfirst$)
regwid#=dprecise#(outerdepth#,10,72)-3
testin# = 1.0 / 7.0
testsize$=sfromnu$(regwid#,10,"v",testin#)
testsize$=testsize$+sfromnu$(4,10,"e",testin#)
outersize$=sfromnu$(regwid#,10,"v",outerdepth#)
outersize$=outersize$+sfromnu$(4,10,"e",outerdepth#)
outersize$=outersize$+" "
outersize$=outersize$+testsize$
PRINT outersize$
PRINT "Version of May 31 2007"
PRINT "gamexb07.x Pretend that you are in charge."
PRINT "Written by Hollywood Scriptwriter Eric Matteson"
PRINT "CLICK HERE in this xb XBasic run Window then"
PRINT "choose an option by typing the leftmost word"
PRINT "of chosen line and then enter key"
PRINT ". "
gothree# = prgroup#(outerdepth#,0,@larry$[])
chooser$=INLINE$("stdin")
resdex#=bsymdex#(0,chooser$,outerdepth#,@larry$[])
resline$=sfromnu$(regwid#,10,"v",resdex#)
resline$=resline$+sfromnu$(4,10,"e",resdex#)
PRINT resline$
IF resdex# > 0
resdej& = resdex#
repline$=larry$[resdej&]
PRINT "You Chose"
PRINT repline$
END IF
IF resdex# == 4 THEN
PRINT "IF only all volunteer juries are used in every trial"
PRINT "U.S. manned space program is restored."
PRINT "U.S. economy improves so much that four year college"
PRINT "Becomes affordable. Linux and Windows both improve."
PRINT "Draft registration is abolished by existence of"
PRINT "All volunteer jury system!"
END IF
IF resdex# == 3 THEN GOTO izthree
IF resdex# == 2 THEN
PRINT "Computer LAB in CE 101 has to be reopened and"
PRINT "computer science and physics and math classes"
PRINT "have to be restored before Windows can be"
PRINT "Reinstated."
END IF
IF resdex# == 1 THEN
PRINT "Demolishing or remodeling and closing computer"
PRINT "science lab in CE 101 has caused all students to"
PRINT "think that scince the schools are unwilling to "
PRINT "pay for decent programming laboratories then"
PRINT "students should no longer pay for Microsoft"
PRINT "Windows and all students are using only Linux"
PRINT "On their own computers. Closing the good "
PRINT "programming labs at schools has put Microsoft"
PRINT "out of business! Student Vice Principal Screech"
PRINT "Powers has reccomended that all CS902 students"
PRINT "use xb Xbasic for Linux instead of Liberty"
PRINT "Basic for Microsoft Windows!"
END IF
GOTO nonchoice
izthree: gothree#=0
PRINT "In additon to reopening the good computer lab"
PRINT "in CE 101 Community colleges including GlenOak"
PRINT "community college in California have to restore"
PRINT "courses to their Fall 2007 schedules including"
PRINT "calculus physics 37 Computer science 939 C++"
PRINT "Computer science 933 database elective"
PRINT "CS099JS JavaSCript CS938 Visual Basic"
PRINT "CS099SB C++ Dot.NET programming"
PRINT "Preserve advanced MATH and Science and"
PRINT "computer science classes to restore Microsoft Windows."
nonchoice: gothree=0
PRINT "Click on upper right X of Other open window to quit."
RETURN 0
END FUNCTION
'REM gamesp07.bas is written by Eric Matteson
FUNCTION sfromnu$(sfnwid#,sfnbase#,vemode$,sfnuin#)
DIM prigits#[84]
sfromre$ = ""
fixuin# = sfnuin#
ssgn$ = "+"
sfudbase# = 1.0 / sfnbase#
IF sfnuin# < 0.0 THEN
fixuin# = 0.0 - sfnuin#
ssgn$ = "-"
END IF
sfnexp# = 0.0
IF fixuin# >= 1.0 THEN
DO WHILE fixuin# >= 1.0
fixuin# = fixuin# / sfnbase#
sfnexp# = sfnexp# + 1.0
LOOP WHILE fixuin# >= 1.0
END IF
IF fixuin# > 0 THEN
IF fixuin# < sfudbase# THEN
DO WHILE fixuin# < sfudbase#
fixuin# = fixuin# * sfnbase#
sfnexp# = sfnexp# - 1.0
LOOP WHILE fixuin# < sfudbase#
END IF
END IF
expsgn$ = "+"
rfnexp# = sfnexp#
IF sfnexp# < 0 THEN
rfnexp# = 0.0 - sfnexp#
expsgn$ = "-"
END IF
rfntiny#=sfudbase#
sfnctr# = 0 - 1
DO WHILE sfnctr# < sfnwid#
rfntiny# = rfntiny# / sfnbase#
rfnexp# = rfnexp# / sfnbase#
sfnctr#=sfnctr# + 1
LOOP WHILE sfnctr# < sfnwid#
rfntiny# = rfntiny# / sfnbase#
rfntiny# = rfntiny# / sfnbase#
rfnexp# = rfnexp# + sfudbase# + rfntiny#
sfntop# = rfntiny# / sfnbase#
IF vemode$ = "e" THEN
sfntop# = sfntop# + rfnexp#
sfromre$ = "E" + expsgn$
END IF
IF vemode$ = "v" THEN
sfntop# = sfntop# + fixuin#
sfromre$ = ssgn$ + "."
END IF
sfnctr# = 0
DO WHILE sfnctr# < (sfnwid# + 1)
sfnterm# = 0
sfndd# = 0
sfnilop# = 0
sfnallow# = 2
DO WHILE sfnallow# > 1
sfnshrink# = sfnilop# * sfudbase#
sfncmp# = sfntop# - sfnshrink#
IF sfncmp# < 0 THEN sfnallow# = 0
IF sfnallow# > 1 THEN
sfndd# = sfnilop#
sfnilop#=sfnilop# + 1
IF sfnilop# >= sfnbase# THEN sfnallow# = 0
END IF
LOOP WHILE sfnallow# > 1
sfnshrink# = sfndd# * sfudbase#
sfntop# = sfntop# - sfnshrink#
sfntop# = sfntop# * sfnbase#
sfnterm# = sfndd# + 48
IF sfndd# > 9 THEN sfnterm# = sfndd# + 87
ijsfnttr& = sfnctr#
prigits#[ijsfnttr&] = sfnterm#
sfnctr# = sfnctr# + 1
LOOP WHILE sfnctr# < (sfnwid# + 1)
sfnilop# = 0
IF vemode$ = "e" THEN sfnilop# = 1
'REM sfnilop# = 0
sfnctr# = 0
DO WHILE sfnctr# < sfnwid#
sfnshrink# = sfnctr# + sfnilop#
ijsfnttr& = sfnshrink#
sfnterm# = prigits#[ijsfnttr&]
ijsfnttr& = sfnterm#
sfromre$ = sfromre$ + CHR$(ijsfnttr&)
sfnctr# = sfnctr# + 1
LOOP WHILE sfnctr# <sfnwid#
RETURN sfromre$
END FUNCTION
'REM end of function sfromnu$
FUNCTION onedigit#(ogdsub#,ogdline$)
ogdres#=0
ogdchri$ = CHR$(0)
IF ogdsub# < LEN(ogdline$) THEN
waygdsub& = ogdsub#
waygdsub& = waygdsub& + 1
ogdchri$ = MID$(ogdline$,waygdsub&,1)
END IF
ogdres# = ASC(ogdchri$)
cgdres#=187
IF ogdres# >= 48 && ogdres# <= 57 THEN
cgdres# = ogdres# - 48
END IF
IF ogdres# >= 97 && ogdres# <= 102 THEN
cgdres# = ogdres# - 87
END IF
IF ogdres# >= 65 && ogdres <= 70 THEN
cgdres# = ogdres# - 55
END IF
RETURN cgdres#
END FUNCTION
FUNCTION numfroml#(n2p#,nmfwid#,n2b#,simode$,nmfline$)
nmfpoz#=n2p#
nmfbase#=n2b#
nmfisdot# = 0.0
nmfres# = 0.0
nmfudbase# = 1.0/nmfbase#
nmfisneg# = 0
nmfallow#=2
nmfctr#=0
DO WHILE nmfallow# > 1
nmfsub#=nmfctr#+nmfpoz#-1
nmfterm#=onedigit#(nmfsub#,nmfline$)
IF nmfterm# < 16 THEN nmfallow# = 0
IF nmfallow# > 1 THEN
nmfayne& = nmfsub#
nmfayne& = nmfayne& + 1
aafchri$ = MID$(nmfline$,nmfayne&,1)
IF aafchri$ = "-" THEN nmfisneg#=2
IF aafchri$ = "." THEN nmfdot#=2
nmfctr#=nmfctr#+1
IF nmfctr# >= nmfwid# THEN nmfallow#=0
END IF
LOOP WHILE nmfallow# > 1
IF nmfctr# < nmfwid# THEN nmfallow#=4
IF nmfisdot# < 1 THEN
DO WHILE nmfallow# > 3
nmfsub#=nmfctr#+nmfpoz#-1
nmfterm#=onedigit#(nmfsub#,nmfline$)
IF nmfterm# > 15 THEN nmfallow#=0
nmfayne& = nmfsub#
nmfayne& = nmfayne& + 1
IF MID$(nmfline$,nmfayne&,1) = "." THEN
nmfdot#=2
nmfallow#=2
END IF
IF nmfallow# > 3 THEN
nmfres#=nmfres#*nmfbase#
nmfres#=nmfres#+nmfterm#
END IF
IF nmfallow# > 1 THEN
nmfctr#=nmfctr#+1
IF nmfctr# >= nmfwid# THEN nmfallow#=0
END IF
LOOP WHILE nmfallow# > 3
END IF
IF nmfdot# > 1 THEN
nmftrod# = nmfudbase#
DO WHILE nmfallow# > 1
nmfsub#=nmfctr#+nmfpoz#-1
nmfterm#=onedigit#(nmfsub#,nmfline$)
IF nmfterm# > 15 THEN nmfallow=0
IF nmfallow# > 1 THEN
nmfzod#=nmftrod#*nmfterm#
nmfres#=nmfres#+nmfzod#
nmftrod#=nmftrod#*nmfudbase#
nmfctr#=nmfctr#+1
IF nmfctr# >= nmfwid# THEN nmfallow#=0
END IF
LOOP WHILE nmfallow# > 1
END IF
IF nmfisneg# > 1 THEN nmfres# = 0.0 - nmfres#
nmfsub#=nmfctr#+nmfpoz#-1
IF simode$ = "s" THEN mmfres# = nmfsub# + 1
IF simode$ = "i" THEN mmfres# = nmfres#
RETURN mmfres#
END FUNCTION
'REM end of numfroml
FUNCTION lben#(wseaver$)
maxben#=LEN(wseaver$)
lbectr#=0
lbeallow#=2
DO WHILE lbeallow# > 1
walbe& = lbectr#
walbe& = walbe& + 1
lbechri$=MID$(wseaver$,walbe&,1)
lbegreg#=ASC(lbechri$)
IF lbegreg# < 33 THEN lbeallow# = 0
IF lbeallow# > 1 THEN
lbectr#=lbectr#+1
IF lbectr# >= maxben# THEN lbeallow#=0
END IF
LOOP WHILE lbeallow# > 1
RETURN lbectr#
END FUNCTION
'REM end of lben
FUNCTION bsymdex#(g4r#,singlev$,bydepth#,wayner$[])
grouprloc#=g4r#
lew#=lben#(singlev$)
bsyeq#=0-5
IF lew# > 0 THEN
bsyctr#=0
DO WHILE bsyctr# < bydepth#
waynetot# = grouprloc# + bsyctr#
bsyne& = waynetot#
zipglev$ = wayner$[bsyne&]
ler#=lben#(zipglev$)
IF ler# = lew# THEN
bsylop#=0
bsydiff#=0
DO WHILE bsylop# < ler#
bsyne& = bsylop#
bsyne& = bsyne& + 1
bsyl$ = MID$(zipglev$,bsyne&,1)
bsyr$ = MID$(singlev$,bsyne&,1)
IF bsyl$ <> bsyr$ THEN bsydiff#=2
bsylop#=bsylop#+1
LOOP WHILE bsylop# < ler#
IF bsydiff# < 1 THEN bsyeq#=bsyctr#
END IF
bsyctr#=bsyctr#+1
LOOP WHILE bsyctr# < bydepth#
END IF
RETURN bsyeq#
END FUNCTION
'REM end of bsymdex
FUNCTION prgroup#(prrmany#,prrset#,zlarry$[])
prrctr#=1
DO WHILE prrctr# < prrmany#
wayneprs# = prrset# + prrctr#
waynepri& = wayneprs#
prrelem$=zlarry$[waynepri&]
PRINT prrelem$
prrctr#=prrctr#+1
LOOP WHILE prrctr# < prrmany#
RETURN 0
END FUNCTION
FUNCTION dprecise#(dprein#,dprebase#,dprelimit#)
lprecise#=dprein#
tprebase#=dprebase#
dpreactr#=1
dpreaone#=dpreactr#
udpreabase#=dpreaone#/tprebase#
dpreactr#=0
dpreallow#=1
rprecise#=lprecise#
DO WHILE dpreallow# > 0
tprecise#=rprecise#+lprecise#
IF tprecise# = lprecise# THEN dpreallow#=0
IF dpreallow# > 0 THEN
dpreactr#=dpreactr#+1
rprecise#=rprecise#*udpreabase#
IF dpreactr# >= dprelimit# THEN dpreallow#=0
END IF
LOOP WHILE dpreallow# > 0
RETURN dpreactr#
END FUNCTION
END PROGRAM
' This is the LAST LINE of this BASIC PROGRAM
' delete all lines below this line

OK

unread,
May 31, 2007, 10:51:05 PM5/31/07
to

Wow, highly readable. We might need to call Jeff for help...

spi...@freenet.co.uk

unread,
Jun 1, 2007, 3:29:19 AM6/1/07
to
ericmatteson...@hotmail.com did eloquently scribble:

> Based on what I have seen wrtitten
> XBasic for Linux is a very good Basic and might
> even be the best version of BASIC available.
> xbasic was designed for Linux.
> Very simple example program is next

It just doesn't look right without line numbers...
or ' replaced with REM statements.
:)

--
______________________________________________________________________________
| spi...@freenet.co.uk | "I'm alive!!! I can touch! I can taste! |
|Andrew Halliwell BSc(hons)| I can SMELL!!! KRYTEN!!! Unpack Rachel and |
| in | get out the puncture repair kit!" |
| Computer Science | Arnold Judas Rimmer- Red Dwarf |
------------------------------------------------------------------------------

BearItAll

unread,
Jun 1, 2007, 4:50:34 AM6/1/07
to
ericmatteson...@hotmail.com wrote:


> Based on what I have seen wrtitten
> XBasic for Linux is a very good Basic and might
> even be the best version of BASIC available.
> xbasic was designed for Linux.
> Very simple example program is next
> ' delete all lines above this line
> ' This is the FIRST LINE of this BASIC PROGRAM
> PROGRAM "gamexb07"
> ' This gamexb07.x xbasic game program is written
> ' by Eric Matteson. Permission is granted to copy
> ' this gamexb07.x source code and to publish it
> ' on the Internet and to use it at least for
> ' non profit use.

> <snipped code>

You maybe should have put your code onto a web site with a link to it.

I understand that you are after giving potential Xbasic users a quick win
with a working program. But that code doesn't look inviting, it may well
put many people off.

Starting with the declarations, function names that only have a meaning to
the writer, does Xbasic have a limit of function names length? I don't go
in for huge function names, but when there are no limits you might as well
say what the function does.

Then we get setting up an array, one element at a time. That had to be done
at one time and anyone who has done huge arrays like that will have done
what I did, looked at it and groaned at the thought of manually writing any
such array ever again. If Xbasic has a better way to assign arrays then you
should show that instead.

Same with the mass of individual print statements. That caused groan number
two for me I'm afraid, from the day I discovered the words 'call' and 'ret'
I never wrote any more print statements than absolutely necessary.

Then much of the rest just looks messy and I can't see it attracting many
new users.

Sorry to be critical, I know you mean well, but it is important to make the
code look attractive to potential new users. It doesn't matter if that
means you have to break it up into more functions, it's just text in the
end, not going to tap too much of the downloaders's bandwidth.

spi...@freenet.co.uk

unread,
Jun 1, 2007, 5:06:06 AM6/1/07
to
OK <ot...@kaiser.de> did eloquently scribble:

>> LOOP WHILE dpreallow# > 0
>> RETURN dpreactr#
>> END FUNCTION
>> END PROGRAM
>>' This is the LAST LINE of this BASIC PROGRAM
>>' delete all lines below this line

> Wow, highly readable. We might need to call Jeff for help...

Almost every BASIC was highly readable, it's what the BEGINNERS is for.
:)
--
______________________________________________________________________________
| spi...@freenet.co.uk | "Are you pondering what I'm pondering Pinky?" |
|Andrew Halliwell BSc(hons)| |
| in | "I think so brain, but this time, you control |
| Computer Science | the Encounter suit, and I'll do the voice..." |
------------------------------------------------------------------------------

[H]omer

unread,
Jun 1, 2007, 5:26:15 AM6/1/07
to
Verily I say unto thee, that BearItAll spake thusly:

> ericmatteson...@hotmail.com wrote:
>
>
>> Based on what I have seen wrtitten
>> XBasic for Linux is a very good Basic and might
>> even be the best version of BASIC available.
>> xbasic was designed for Linux.
>> Very simple example program is next
>> ' delete all lines above this line
>> ' This is the FIRST LINE of this BASIC PROGRAM
>> PROGRAM "gamexb07"
>> ' This gamexb07.x xbasic game program is written
>> ' by Eric Matteson. Permission is granted to copy
>> ' this gamexb07.x source code and to publish it
>> ' on the Internet and to use it at least for
>> ' non profit use.
>
>> <snipped code>

Damn.

And I really wanted to see all those GOTO statements.

Oh well.

> Sorry to be critical, I know you mean well, but it is important to make the
> code look attractive

Er ... is that even *possible*?

--
K.
http://slated.org

,----
| Vista | 3D Desktop | Cheap : Choose two.
`----

Fedora Core release 5 (Bordeaux) on sky, running kernel 2.6.20-1.2312.fc5
10:22:07 up 45 days, 7:54, 3 users, load average: 0.19, 0.13, 0.16

chrisv

unread,
Jun 1, 2007, 8:39:45 AM6/1/07
to
ericmatteson...@hotmail.com wrote:

> outerfirst$=larry$[0]
> outerdepth#=numfroml#(1,2,10,"i",outerfirst$)
> regwid#=dprecise#(outerdepth#,10,72)-3
> testin# = 1.0 / 7.0

For crying out loud. Ever hear of declaring variables? Those # signs
everywhere are ugly as sin.

spi...@freenet.co.uk

unread,
Jun 1, 2007, 8:54:47 AM6/1/07
to
chrisv <chr...@nospam.invalid> did eloquently scribble:
> ericmatteson...@hotmail.com wrote:

quite
though, even without declared variables most other basics don't worry about
that. They have a default type.

So if you DO need to specify something as an integer, you'd use %, string,
$, otherwise, it would be assumed to be floating point.
--
______________________________________________________________________________
| spi...@freenet.co.uk | |
|Andrew Halliwell BSc(hons)| "The day Microsoft makes something that doesn't |
| in | suck is probably the day they start making |
| Computer science | vacuum cleaners" - Ernst Jan Plugge |
------------------------------------------------------------------------------

dApUnkA

unread,
Jun 1, 2007, 9:24:25 AM6/1/07
to
On Jun 1, 1:34 am, ericmatteson2003novem...@hotmail.com wrote:
> Based on what I have seen wrtitten
> XBasic for Linux is a very good Basic and might
> even be the best version of BASIC available.
> xbasic was designed for Linux.
> Very simple example program is next

<snip>

When I was a boy, as part of my Computer Studies course I had to write
programs, in BASIC, for the BBC-B micros that we used at school at
that time. I grew to hate BASIC then and, looking at your code, I
think I probably still hate it.

chrisv

unread,
Jun 1, 2007, 10:35:24 AM6/1/07
to
dApUnkA wrote:

Don't indict BASIC based on one fool's post. There's no reason why it
could not be cleaned-up with white-space, indentation, etc.

The Ghost In The Machine

unread,
Jun 1, 2007, 11:20:32 AM6/1/07
to
In comp.os.linux.advocacy, ericmatteson...@hotmail.com
<ericmatteson...@hotmail.com>
wrote
on Thu, 31 May 2007 17:34:57 -0700
<1180658097.2...@g37g2000prf.googlegroups.com>:

> Based on what I have seen wrtitten
> XBasic for Linux is a very good Basic and might
> even be the best version of BASIC available.
> xbasic was designed for Linux.
> Very simple example program is next
> ' delete all lines above this line
> ' This is the FIRST LINE of this BASIC PROGRAM
> PROGRAM "gamexb07"
> ' This gamexb07.x xbasic game program is written

[rest snipped]

364 lines is "simple"???

BTW...Gambas is already out there; you have competition.

--
#191, ewi...@earthlink.net
Windows Vista. Because it's time to refresh your hardware. Trust us.

--
Posted via a free Usenet account from http://www.teranews.com

DFS

unread,
Jun 1, 2007, 12:43:36 PM6/1/07
to

You need some pretty MS Visual Basic:


Public Function getFieldNames(tblName As String) As String

'RETURN A STRING CONTAINING ALL THE COLUMNS IN A TABLE
getFieldNames = ""
Dim rsG As Recordset, k As Byte

Set rsG = db.OpenRecordset("SELECT TOP 1 * FROM [" & tblName & "];", ,
dbOpenSnapshot)
For k = 0 To rsG.Fields.Count - 1
getFieldNames = getFieldNames & "[" & rsG(k).Name & "], "
Next k
rsG.Close
Set rsG = Nothing

getFieldNames = Left(Trim(getFieldNames), Len(Trim(getFieldNames)) - 1)

End Function


ray

unread,
Jun 1, 2007, 11:49:35 AM6/1/07
to
On Thu, 31 May 2007 17:34:57 -0700, ericmatteson2003november wrote:

> Based on what I have seen wrtitten
> XBasic for Linux is a very good Basic and might
> even be the best version of BASIC available.

IMHO - that ain't saying one hell of a lot.

John A. Bailo

unread,
Jun 1, 2007, 12:07:25 PM6/1/07
to
spi...@freenet.co.uk wrote:
> ericmatteson...@hotmail.com did eloquently scribble:
>
>>Based on what I have seen wrtitten
>>XBasic for Linux is a very good Basic and might
>>even be the best version of BASIC available.
>>xbasic was designed for Linux.
>>Very simple example program is next
>
>
> It just doesn't look right without line numbers...
> or ' replaced with REM statements.
> :)
>

Does it use Control G to ring the bell?

ericmatteson...@hotmail.com

unread,
Jun 1, 2007, 7:43:55 PM6/1/07
to
On Jun 1, 5:39 am, chrisv <chr...@nospam.invalid> wrote:
I also have written C++ programs. In C++ I have heard of
declaring variables. Below is a link to a C++ program that I made
that I declared variables in.
http://groups.google.com/group/comp.os.linux.misc/msg/15542a12b5e541f6?dmode=source&hl=en
called cs085dwy.cpp
Eric Matteson

chrisv

unread,
Jun 1, 2007, 10:58:32 PM6/1/07
to
ericmatteson2003november wrote:

> chrisv <chr...@nospam.invalid> wrote:
>>
>> For crying out loud. Ever hear of declaring variables? Those # signs
>> everywhere are ugly as sin.
>
> I also have written C++ programs. In C++ I have heard of declaring
> variables. Below is a link to a C++ program that I made that I declared
> variables in.

Good. Do it in BASIC, too.

ray

unread,
Jun 8, 2007, 11:07:59 PM6/8/07
to
On Thu, 31 May 2007 17:34:57 -0700, ericmatteson2003november wrote:

The only links I could find indicate that nothing has been updated since
2002 - is that correct??

0 new messages