<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'is BASIC good for a beginner' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'is BASIC good for a beginner' posted on the 'Basic' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Mon, 17 Jun 2013 23:12:31 -0700</pubDate>
    <lastBuildDate>Mon, 17 Jun 2013 23:12:31 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302351/is-basic-good-for-a-beginner/</link>
      <description>i really want to learn to program but i dont really know hoe to start is BASIC a good language to start with and will it help me learn other languages? plus any info anyone thinks a begginer in BASIC need please feel free to add in i apereciate it.&lt;br /&gt;
Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302351/is-basic-good-for-a-beginner/</guid>
      <pubDate>Wed, 11 May 2005 06:28:59 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302359/re-is-basic-good-for-a-beginner/#302359</link>
      <description>: i really want to learn to program but i dont really know hoe to start is BASIC a good language to start with and will it help me learn other languages? plus any info anyone thinks a begginer in BASIC need please feel free to add in i apereciate it.&lt;br /&gt;
: Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
: &lt;br /&gt;
I would not recomend beginning with BASIC.&lt;br /&gt;
I did and there is some small differences&lt;br /&gt;
when you move on to a new language&lt;br /&gt;
(C++,C#,Java...)&lt;br /&gt;
The different is that it's OO&lt;br /&gt;
(Object Oriented) and (this one is really&lt;br /&gt;
annoying) the loop statement has&lt;br /&gt;
LOOP UNTIL. I'm stuck on that one all the&lt;br /&gt;
time when I try to do something good.&lt;br /&gt;
&lt;br /&gt;
You could use LOOP WHILE...&lt;br /&gt;
Yes, USE LOOP WHILE!!&lt;br /&gt;
&lt;br /&gt;
Another thing is that it is old and that&lt;br /&gt;
means it can't do event thingys.&lt;br /&gt;
But if you just want to do some good&lt;br /&gt;
programs without interface it doesn't&lt;br /&gt;
matter.&lt;br /&gt;
===============================&lt;br /&gt;
El &lt;strong&gt;PRO&lt;/strong&gt;grammador Niklas Ulvinge&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302359/re-is-basic-good-for-a-beginner/#302359</guid>
      <pubDate>Wed, 11 May 2005 06:50:24 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302365/re-is-basic-good-for-a-beginner/#302365</link>
      <description>: : i really want to learn to program but i dont really know hoe to start is BASIC a good language to start with and will it help me learn other languages? plus any info anyone thinks a begginer in BASIC need please feel free to add in i apereciate it.&lt;br /&gt;
: : Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
: : &lt;br /&gt;
: I would not recomend beginning with BASIC.&lt;br /&gt;
: I did and there is some small differences&lt;br /&gt;
: when you move on to a new language&lt;br /&gt;
: (C++,C#,Java...)&lt;br /&gt;
: The different is that it's OO&lt;br /&gt;
: (Object Oriented) and (this one is really&lt;br /&gt;
: annoying) the loop statement has&lt;br /&gt;
: LOOP UNTIL. I'm stuck on that one all the&lt;br /&gt;
: time when I try to do something good.&lt;br /&gt;
: &lt;br /&gt;
: You could use LOOP WHILE...&lt;br /&gt;
: Yes, USE LOOP WHILE!!&lt;br /&gt;
: &lt;br /&gt;
: Another thing is that it is old and that&lt;br /&gt;
: means it can't do event thingys.&lt;br /&gt;
: But if you just want to do some good&lt;br /&gt;
: programs without interface it doesn't&lt;br /&gt;
: matter.&lt;br /&gt;
: ===============================&lt;br /&gt;
: El &lt;strong&gt;PRO&lt;/strong&gt;grammador Niklas Ulvinge&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
I recommend you to use BASIC first(or pascal). It's the most basic &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; language ever, and moving to other langs just need a little study. For beginners OOP is fully another pasta.&lt;br /&gt;
&lt;br /&gt;
And, why would'nt you use both LOOP UNTIL and LOOP WHILE? Both of them are good for something.&lt;br /&gt;
&lt;br /&gt;
As for BASIC's interface, I fully agree with IDK.&lt;br /&gt;
&lt;br /&gt;
So I say just use BASIC - We are here, just ask if you have any problems!&lt;br /&gt;
&lt;br /&gt;
****************&lt;br /&gt;
Any questions? Just ask!&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302365/re-is-basic-good-for-a-beginner/#302365</guid>
      <pubDate>Wed, 11 May 2005 07:04:39 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302373/re-is-basic-good-for-a-beginner/#302373</link>
      <description>: : : i really want to learn to program but i dont really know hoe to start is BASIC a good language to start with and will it help me learn other languages? plus any info anyone thinks a begginer in BASIC need please feel free to add in i apereciate it.&lt;br /&gt;
: : : Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
: : : &lt;br /&gt;
: : I would not recomend beginning with BASIC.&lt;br /&gt;
: : I did and there is some small differences&lt;br /&gt;
: : when you move on to a new language&lt;br /&gt;
: : (C++,C#,Java...)&lt;br /&gt;
: : The different is that it's OO&lt;br /&gt;
: : (Object Oriented) and (this one is really&lt;br /&gt;
: : annoying) the loop statement has&lt;br /&gt;
: : LOOP UNTIL. I'm stuck on that one all the&lt;br /&gt;
: : time when I try to do something good.&lt;br /&gt;
: : &lt;br /&gt;
: : You could use LOOP WHILE...&lt;br /&gt;
: : Yes, USE LOOP WHILE!!&lt;br /&gt;
: : &lt;br /&gt;
: : Another thing is that it is old and that&lt;br /&gt;
: : means it can't do event thingys.&lt;br /&gt;
: : But if you just want to do some good&lt;br /&gt;
: : programs without interface it doesn't&lt;br /&gt;
: : matter.&lt;br /&gt;
: : ===============================&lt;br /&gt;
: : El &lt;strong&gt;PRO&lt;/strong&gt;grammador Niklas Ulvinge&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: I recommend you to use BASIC first(or pascal). It's the most basic &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; language ever, and moving to other langs just need a little study. For beginners OOP is fully another pasta.&lt;br /&gt;
: &lt;br /&gt;
: And, why would'nt you use both LOOP UNTIL and LOOP WHILE? Both of them are good for something.&lt;br /&gt;
: &lt;br /&gt;
: As for BASIC's interface, I fully agree with IDK.&lt;br /&gt;
: &lt;br /&gt;
: So I say just use BASIC - We are here, just ask if you have any problems!&lt;br /&gt;
: &lt;br /&gt;
: ****************&lt;br /&gt;
: Any questions? Just ask!&lt;br /&gt;
: &lt;br /&gt;
: &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
I always use LOOP UNTIL and can't get my head out of it.&lt;br /&gt;
These AND and OR operators get really confusing.&lt;br /&gt;
I do it wrong in nine times of ten.&lt;br /&gt;
&lt;br /&gt;
OK, BASIC is a really good language to begin with.&lt;br /&gt;
It is easy to use and learn. I still use basic when&lt;br /&gt;
I try to solve some hard math problems.&lt;br /&gt;
&lt;br /&gt;
But don't use LOOP UNTIL!!!&lt;br /&gt;
===============================&lt;br /&gt;
El &lt;strong&gt;PRO&lt;/strong&gt;grammador Niklas Ulvinge&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302373/re-is-basic-good-for-a-beginner/#302373</guid>
      <pubDate>Wed, 11 May 2005 07:30:15 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302400/re-is-basic-good-for-a-beginner/#302400</link>
      <description>: : : : i really want to learn to program but i dont really know hoe to start is BASIC a good language to start with and will it help me learn other languages? plus any info anyone thinks a begginer in BASIC need please feel free to add in i apereciate it.&lt;br /&gt;
: : : : Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
: : : : &lt;br /&gt;
: : : I would not recomend beginning with BASIC.&lt;br /&gt;
: : : I did and there is some small differences&lt;br /&gt;
: : : when you move on to a new language&lt;br /&gt;
: : : (C++,C#,Java...)&lt;br /&gt;
: : : The different is that it's OO&lt;br /&gt;
: : : (Object Oriented) and (this one is really&lt;br /&gt;
: : : annoying) the loop statement has&lt;br /&gt;
: : : LOOP UNTIL. I'm stuck on that one all the&lt;br /&gt;
: : : time when I try to do something good.&lt;br /&gt;
: : : &lt;br /&gt;
: : : You could use LOOP WHILE...&lt;br /&gt;
: : : Yes, USE LOOP WHILE!!&lt;br /&gt;
: : : &lt;br /&gt;
: : : Another thing is that it is old and that&lt;br /&gt;
: : : means it can't do event thingys.&lt;br /&gt;
: : : But if you just want to do some good&lt;br /&gt;
: : : programs without interface it doesn't&lt;br /&gt;
: : : matter.&lt;br /&gt;
: : : ===============================&lt;br /&gt;
: : : El &lt;strong&gt;PRO&lt;/strong&gt;grammador Niklas Ulvinge&lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : I recommend you to use BASIC first(or pascal). It's the most basic &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; language ever, and moving to other langs just need a little study. For beginners OOP is fully another pasta.&lt;br /&gt;
: : &lt;br /&gt;
: : And, why would'nt you use both LOOP UNTIL and LOOP WHILE? Both of them are good for something.&lt;br /&gt;
: : &lt;br /&gt;
: : As for BASIC's interface, I fully agree with IDK.&lt;br /&gt;
: : &lt;br /&gt;
: : So I say just use BASIC - We are here, just ask if you have any problems!&lt;br /&gt;
: : &lt;br /&gt;
: : ****************&lt;br /&gt;
: : Any questions? Just ask!&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: I always use LOOP UNTIL and can't get my head out of it.&lt;br /&gt;
: These AND and OR operators get really confusing.&lt;br /&gt;
: I do it wrong in nine times of ten.&lt;br /&gt;
: &lt;br /&gt;
: OK, BASIC is a really good language to begin with.&lt;br /&gt;
: It is easy to use and learn. I still use basic when&lt;br /&gt;
: I try to solve some hard math problems.&lt;br /&gt;
: &lt;br /&gt;
: But don't use LOOP UNTIL!!!&lt;br /&gt;
: ===============================&lt;br /&gt;
: El &lt;strong&gt;PRO&lt;/strong&gt;grammador Niklas Ulvinge&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
another question i have is what is it limited to making what can it not&lt;br /&gt;
do i wanna make games and i dont know what BASIC can be used for&lt;br /&gt;
Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302400/re-is-basic-good-for-a-beginner/#302400</guid>
      <pubDate>Wed, 11 May 2005 11:28:46 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302405/re-is-basic-good-for-a-beginner/#302405</link>
      <description>: another question i have is what is it limited to making what can it not&lt;br /&gt;
: do i wanna make games and i dont know what BASIC can be used for&lt;br /&gt;
: Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
The most annoying thing in basic&lt;br /&gt;
when doing games is that it cant&lt;br /&gt;
handle multiple keybord inputs.&lt;br /&gt;
Yes it can but it isn't easy to&lt;br /&gt;
do that.&lt;br /&gt;
&lt;br /&gt;
Another bad thing with basic (and&lt;br /&gt;
the reason for C being built) is&lt;br /&gt;
that the code get's big and hard&lt;br /&gt;
to get in short time.&lt;br /&gt;
&lt;br /&gt;
It it's hard to handle picture&lt;br /&gt;
files.&lt;br /&gt;
&lt;br /&gt;
If you want to do a heavy program&lt;br /&gt;
(like a 3D engine, I've done that)&lt;br /&gt;
It will be very slow.&lt;br /&gt;
===============================&lt;br /&gt;
El &lt;strong&gt;PRO&lt;/strong&gt;grammador Niklas Ulvinge&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302405/re-is-basic-good-for-a-beginner/#302405</guid>
      <pubDate>Wed, 11 May 2005 11:39:59 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302412/re-is-basic-good-for-a-beginner/#302412</link>
      <description>: : another question i have is what is it limited to making what can it not&lt;br /&gt;
: : do i wanna make games and i dont know what BASIC can be used for&lt;br /&gt;
: : Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: The most annoying thing in basic&lt;br /&gt;
: when doing games is that it cant&lt;br /&gt;
: handle multiple keybord inputs.&lt;br /&gt;
: Yes it can but it isn't easy to&lt;br /&gt;
: do that.&lt;br /&gt;
: &lt;br /&gt;
: Another bad thing with basic (and&lt;br /&gt;
: the reason for C being built) is&lt;br /&gt;
: that the code get's big and hard&lt;br /&gt;
: to get in short time.&lt;br /&gt;
: &lt;br /&gt;
: It it's hard to handle picture&lt;br /&gt;
: files.&lt;br /&gt;
: &lt;br /&gt;
: If you want to do a heavy program&lt;br /&gt;
: (like a 3D engine, I've done that)&lt;br /&gt;
: It will be very slow.&lt;br /&gt;
: ===============================&lt;br /&gt;
: El &lt;strong&gt;PRO&lt;/strong&gt;grammador Niklas Ulvinge&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
Well exactly BASIC can be used for making easy-looking games - not for hightech 3d things.&lt;br /&gt;
&lt;br /&gt;
(And IDK I should take a look at your BASIC 3d engine...if you don't mind)&lt;br /&gt;
&lt;br /&gt;
****************&lt;br /&gt;
Any questions? Just ask!&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302412/re-is-basic-good-for-a-beginner/#302412</guid>
      <pubDate>Wed, 11 May 2005 12:43:15 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302414/re-is-basic-good-for-a-beginner/#302414</link>
      <description>: (And IDK I should take a look at your BASIC 3d engine...if you don't&lt;br /&gt;
: mind)&lt;br /&gt;
&lt;br /&gt;
It's just dot's.&lt;br /&gt;
When I tried to&lt;br /&gt;
extend it it was&lt;br /&gt;
to slow. (1 frame&lt;br /&gt;
took 30 seconds!!&lt;br /&gt;
&lt;br /&gt;
Here's the code anyhow.&lt;br /&gt;
It's preatty cool.&lt;br /&gt;
&lt;pre class="sourcecode"&gt;3DUNIVE2.BAS:

DEFINT A
DEFSNG B-Z
TYPE threeDdot
    x AS SINGLE
    y AS SINGLE
    z AS SINGLE
    c AS INTEGER
    Bx AS SINGLE
    By AS SINGLE
    dx AS SINGLE
    dy AS SINGLE
    dz AS SINGLE
    mas AS SINGLE
END TYPE
di = 100    'distance
num = 100    'number of particles
ss = .1     'start stepsize
SCREEN 13
'palette
OUT &amp;amp;H3C8, 0
FOR a = 0 TO 63
    OUT &amp;amp;H3C9, a
    OUT &amp;amp;H3C9, a
    OUT &amp;amp;H3C9, a
NEXT
FOR a = 0 TO 63
    OUT &amp;amp;H3C9, a
    OUT &amp;amp;H3C9, 0
    OUT &amp;amp;H3C9, 0
NEXT
FOR a = 0 TO 63
    OUT &amp;amp;H3C9, 0
    OUT &amp;amp;H3C9, 0
    OUT &amp;amp;H3C9, a
NEXT
FOR a = 0 TO 63
    OUT &amp;amp;H3C9, a
    OUT &amp;amp;H3C9, a
    OUT &amp;amp;H3C9, 0
NEXT

'declare and init matrix
DIM d(num) AS threeDdot
FOR a = 1 TO num
    d(a).x = RND * 128 - 64
    d(a).y = RND * 128 - 64
    d(a).z = RND * 128 - 64
    d(a).c = RND * 3
    d(a).mas = RND + .0001
NEXT
'main loop
DO
    'keys
    a$ = UCASE$(INKEY$)
    IF a$ = "A" THEN xa = xa + ss
    IF a$ = "D" THEN xa = xa - ss
    IF a$ = "W" THEN ya = ya + ss
    IF a$ = "S" THEN ya = ya - ss
    IF a$ = "Q" THEN za = za + ss
    IF a$ = "E" THEN za = za - ss
    IF a$ = "M" THEN am = am + 1
    IF am &amp;gt; 5 THEN am = 0
    IF a$ = "+" THEN di = di + ss * 10
    IF a$ = "-" THEN di = di - ss * 10
    IF a$ = "," THEN ss = ss + .01
    IF a$ = "." THEN ss = ss - .01
    IF a$ = "I" THEN ap = 1:     'get info of particles
    IF a$ = " " THEN CLS
    IF a$ = CHR$(27) THEN END
    'calc fps and print approximately info on screen every second
    fps = fps + 1
    IF TIMER - t &amp;gt; 1 THEN t = TIMER: COLOR 63: LOCATE 1, 1: PRINT fps; CINT(ss * 100) / 100; CINT(di); CINT(xa * 100) / 100; CINT(ya * 100) / 100; CINT(za * 100) / 100; am: fps = 0

    'particle loop
    FOR a = 1 TO num
        'universe calculations
        'move particle
        d(a).x = d(a).x + d(a).dx
        d(a).y = d(a).y + d(a).dy
        d(a).z = d(a).z + d(a).dz
        'calc gravity force for each particle on each particle
        FOR b = 1 TO num
            IF NOT (b = a) THEN
                r = (d(a).x - d(b).x) ^ 2 + (d(a).y - d(b).y) ^ 2 + (d(a).z - d(b).z) ^ 2
                d(b).dx = d(b).dx + (d(a).x - d(b).x) / r * (d(a).mas / d(b).mas) / 100
                d(b).dy = d(b).dy + (d(a).y - d(b).y) / r * (d(a).mas / d(b).mas) / 100
                d(b).dz = d(b).dz + (d(a).z - d(b).z) / r * (d(a).mas / d(b).mas) / 100
            END IF 'star(a).mas * star(b).mas / r
        NEXT
       
        'calc coordinates
        Ty = ((d(a).y * COS(xa)) - (d(a).z * SIN(xa)))
        Tz = ((d(a).y * SIN(xa)) + (d(a).z * COS(xa)))
        Tx = ((d(a).x * COS(ya)) - (Tz * SIN(ya)))
        Tz = ((d(a).x * SIN(ya)) + (Tz * COS(ya)))
        Ox = Tx
        Tx = ((Tx * COS(za)) - (Ty * SIN(za)))
        Ty = ((Ox * SIN(za)) + (Ty * COS(za)))
        'adjust coordinates to screen
        Nx = INT(128 * (Tx) / (di - (Tz))) + 160
        Ny = INT(100 - (128 * Ty) / (di - (Tz)))
       
        'calc color
        ac = a + 1
        cc = ABS(FIX((Tz + 128) / 4)) + d(a).c * 64
       
        'move particle
        SELECT CASE am
            CASE 0'palette color
                PSET (d(a).Bx, d(a).By), 0
                d(a).Bx = Nx
                d(a).By = Ny
                PSET (Nx, Ny), cc
            CASE 1'palette color with flash
                PSET (Nx, Ny), cc
                PSET (d(a).Bx, d(a).By), 0
                d(a).Bx = Nx
                d(a).By = Ny
            CASE 2'smoke (need to be at least a million i think)
                PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) + (POINT(d(a).Bx, d(a).By) &amp;gt; 0)
                d(a).Bx = Nx
                d(a).By = Ny
                PSET (Nx, Ny), POINT(Nx, Ny) + 1
            CASE 3'smoke with flash
                PSET (Nx, Ny), POINT(Nx, Ny) + 1
                PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) + (POINT(d(a).Bx, d(a).By) &amp;gt; 0)
                d(a).Bx = Nx
                d(a).By = Ny
            CASE 4'smoke trail (use space to clear)
                PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) - (POINT(d(a).Bx, d(a).By) = 0)
                d(a).Bx = Nx
                d(a).By = Ny
                PSET (Nx, Ny), POINT(Nx, Ny) + 1
            CASE 5'smoke trail with flash
                PSET (Nx, Ny), POINT(Nx, Ny) + 1
                PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) - (POINT(d(a).Bx, d(a).By) = 0)
                d(a).Bx = Nx
                d(a).By = Ny
        END SELECT

        IF ap THEN COLOR 63: PRINT Nx; Ny; Tz; cc
    NEXT
    ap = 0
LOOP&lt;/pre&gt;&lt;br /&gt;
I've done another one with the microuniverse.&lt;br /&gt;
It got a whole lot of more forces(I couldn't&lt;br /&gt;
make the weak nuclear force).&lt;br /&gt;
&lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302414/re-is-basic-good-for-a-beginner/#302414</guid>
      <pubDate>Wed, 11 May 2005 13:07:56 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302473/re-is-basic-good-for-a-beginner/#302473</link>
      <description>: : (And IDK I should take a look at your BASIC 3d engine...if you don't&lt;br /&gt;
: : mind)&lt;br /&gt;
: &lt;br /&gt;
: It's just dot's.&lt;br /&gt;
: When I tried to&lt;br /&gt;
: extend it it was&lt;br /&gt;
: to slow. (1 frame&lt;br /&gt;
: took 30 seconds!!&lt;br /&gt;
: &lt;br /&gt;
: Here's the code anyhow.&lt;br /&gt;
: It's preatty cool.&lt;br /&gt;
: &lt;pre class="sourcecode"&gt;3DUNIVE2.BAS:
: 
: DEFINT A
: DEFSNG B-Z
: TYPE threeDdot
:     x AS SINGLE
:     y AS SINGLE
:     z AS SINGLE
:     c AS INTEGER
:     Bx AS SINGLE
:     By AS SINGLE
:     dx AS SINGLE
:     dy AS SINGLE
:     dz AS SINGLE
:     mas AS SINGLE
: END TYPE
: di = 100    'distance
: num = 100    'number of particles
: ss = .1     'start stepsize
: SCREEN 13
: 'palette
: OUT &amp;amp;H3C8, 0
: FOR a = 0 TO 63
:     OUT &amp;amp;H3C9, a
:     OUT &amp;amp;H3C9, a
:     OUT &amp;amp;H3C9, a
: NEXT
: FOR a = 0 TO 63
:     OUT &amp;amp;H3C9, a
:     OUT &amp;amp;H3C9, 0
:     OUT &amp;amp;H3C9, 0
: NEXT
: FOR a = 0 TO 63
:     OUT &amp;amp;H3C9, 0
:     OUT &amp;amp;H3C9, 0
:     OUT &amp;amp;H3C9, a
: NEXT
: FOR a = 0 TO 63
:     OUT &amp;amp;H3C9, a
:     OUT &amp;amp;H3C9, a
:     OUT &amp;amp;H3C9, 0
: NEXT
: 
: 'declare and init matrix
: DIM d(num) AS threeDdot
: FOR a = 1 TO num
:     d(a).x = RND * 128 - 64
:     d(a).y = RND * 128 - 64
:     d(a).z = RND * 128 - 64
:     d(a).c = RND * 3
:     d(a).mas = RND + .0001
: NEXT
: 'main loop
: DO
:     'keys
:     a$ = UCASE$(INKEY$)
:     IF a$ = "A" THEN xa = xa + ss
:     IF a$ = "D" THEN xa = xa - ss
:     IF a$ = "W" THEN ya = ya + ss
:     IF a$ = "S" THEN ya = ya - ss
:     IF a$ = "Q" THEN za = za + ss
:     IF a$ = "E" THEN za = za - ss
:     IF a$ = "M" THEN am = am + 1
:     IF am &amp;gt; 5 THEN am = 0
:     IF a$ = "+" THEN di = di + ss * 10
:     IF a$ = "-" THEN di = di - ss * 10
:     IF a$ = "," THEN ss = ss + .01
:     IF a$ = "." THEN ss = ss - .01
:     IF a$ = "I" THEN ap = 1:     'get info of particles
:     IF a$ = " " THEN CLS
:     IF a$ = CHR$(27) THEN END
:     'calc fps and print approximately info on screen every second
:     fps = fps + 1
:     IF TIMER - t &amp;gt; 1 THEN t = TIMER: COLOR 63: LOCATE 1, 1: PRINT fps; CINT(ss * 100) / 100; CINT(di); CINT(xa * 100) / 100; CINT(ya * 100) / 100; CINT(za * 100) / 100; am: fps = 0
: 
:     'particle loop
:     FOR a = 1 TO num
:         'universe calculations
:         'move particle
:         d(a).x = d(a).x + d(a).dx
:         d(a).y = d(a).y + d(a).dy
:         d(a).z = d(a).z + d(a).dz
:         'calc gravity force for each particle on each particle
:         FOR b = 1 TO num
:             IF NOT (b = a) THEN
:                 r = (d(a).x - d(b).x) ^ 2 + (d(a).y - d(b).y) ^ 2 + (d(a).z - d(b).z) ^ 2
:                 d(b).dx = d(b).dx + (d(a).x - d(b).x) / r * (d(a).mas / d(b).mas) / 100
:                 d(b).dy = d(b).dy + (d(a).y - d(b).y) / r * (d(a).mas / d(b).mas) / 100
:                 d(b).dz = d(b).dz + (d(a).z - d(b).z) / r * (d(a).mas / d(b).mas) / 100
:             END IF 'star(a).mas * star(b).mas / r
:         NEXT
:        
:         'calc coordinates
:         Ty = ((d(a).y * COS(xa)) - (d(a).z * SIN(xa)))
:         Tz = ((d(a).y * SIN(xa)) + (d(a).z * COS(xa)))
:         Tx = ((d(a).x * COS(ya)) - (Tz * SIN(ya)))
:         Tz = ((d(a).x * SIN(ya)) + (Tz * COS(ya)))
:         Ox = Tx
:         Tx = ((Tx * COS(za)) - (Ty * SIN(za)))
:         Ty = ((Ox * SIN(za)) + (Ty * COS(za)))
:         'adjust coordinates to screen
:         Nx = INT(128 * (Tx) / (di - (Tz))) + 160
:         Ny = INT(100 - (128 * Ty) / (di - (Tz)))
:        
:         'calc color
:         ac = a + 1
:         cc = ABS(FIX((Tz + 128) / 4)) + d(a).c * 64
:        
:         'move particle
:         SELECT CASE am
:             CASE 0'palette color
:                 PSET (d(a).Bx, d(a).By), 0
:                 d(a).Bx = Nx
:                 d(a).By = Ny
:                 PSET (Nx, Ny), cc
:             CASE 1'palette color with flash
:                 PSET (Nx, Ny), cc
:                 PSET (d(a).Bx, d(a).By), 0
:                 d(a).Bx = Nx
:                 d(a).By = Ny
:             CASE 2'smoke (need to be at least a million i think)
:                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) + (POINT(d(a).Bx, d(a).By) &amp;gt; 0)
:                 d(a).Bx = Nx
:                 d(a).By = Ny
:                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
:             CASE 3'smoke with flash
:                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
:                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) + (POINT(d(a).Bx, d(a).By) &amp;gt; 0)
:                 d(a).Bx = Nx
:                 d(a).By = Ny
:             CASE 4'smoke trail (use space to clear)
:                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) - (POINT(d(a).Bx, d(a).By) = 0)
:                 d(a).Bx = Nx
:                 d(a).By = Ny
:                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
:             CASE 5'smoke trail with flash
:                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
:                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) - (POINT(d(a).Bx, d(a).By) = 0)
:                 d(a).Bx = Nx
:                 d(a).By = Ny
:         END SELECT
: 
:         IF ap THEN COLOR 63: PRINT Nx; Ny; Tz; cc
:     NEXT
:     ap = 0
: LOOP&lt;/pre&gt;&lt;br /&gt;
: I've done another one with the microuniverse.&lt;br /&gt;
: It got a whole lot of more forces(I couldn't&lt;br /&gt;
: make the weak nuclear force).&lt;br /&gt;
: &lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
: El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
Well - this is just a 3d prog - not an engine! I just asked because it was hard to me trying to imagine that a 3D engine is possible in QBASIC without assembly.&lt;br /&gt;
&lt;br /&gt;
****************&lt;br /&gt;
Any questions? Just ask!&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302473/re-is-basic-good-for-a-beginner/#302473</guid>
      <pubDate>Thu, 12 May 2005 05:18:58 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302475/re-is-basic-good-for-a-beginner/#302475</link>
      <description>: : : (And IDK I should take a look at your BASIC 3d engine...if you don't&lt;br /&gt;
: : : mind)&lt;br /&gt;
: : &lt;br /&gt;
: : It's just dot's.&lt;br /&gt;
: : When I tried to&lt;br /&gt;
: : extend it it was&lt;br /&gt;
: : to slow. (1 frame&lt;br /&gt;
: : took 30 seconds!!&lt;br /&gt;
: : &lt;br /&gt;
: : Here's the code anyhow.&lt;br /&gt;
: : It's preatty cool.&lt;br /&gt;
: : &lt;pre class="sourcecode"&gt;3DUNIVE2.BAS:
: : 
: : DEFINT A
: : DEFSNG B-Z
: : TYPE threeDdot
: :     x AS SINGLE
: :     y AS SINGLE
: :     z AS SINGLE
: :     c AS INTEGER
: :     Bx AS SINGLE
: :     By AS SINGLE
: :     dx AS SINGLE
: :     dy AS SINGLE
: :     dz AS SINGLE
: :     mas AS SINGLE
: : END TYPE
: : di = 100    'distance
: : num = 100    'number of particles
: : ss = .1     'start stepsize
: : SCREEN 13
: : 'palette
: : OUT &amp;amp;H3C8, 0
: : FOR a = 0 TO 63
: :     OUT &amp;amp;H3C9, a
: :     OUT &amp;amp;H3C9, a
: :     OUT &amp;amp;H3C9, a
: : NEXT
: : FOR a = 0 TO 63
: :     OUT &amp;amp;H3C9, a
: :     OUT &amp;amp;H3C9, 0
: :     OUT &amp;amp;H3C9, 0
: : NEXT
: : FOR a = 0 TO 63
: :     OUT &amp;amp;H3C9, 0
: :     OUT &amp;amp;H3C9, 0
: :     OUT &amp;amp;H3C9, a
: : NEXT
: : FOR a = 0 TO 63
: :     OUT &amp;amp;H3C9, a
: :     OUT &amp;amp;H3C9, a
: :     OUT &amp;amp;H3C9, 0
: : NEXT
: : 
: : 'declare and init matrix
: : DIM d(num) AS threeDdot
: : FOR a = 1 TO num
: :     d(a).x = RND * 128 - 64
: :     d(a).y = RND * 128 - 64
: :     d(a).z = RND * 128 - 64
: :     d(a).c = RND * 3
: :     d(a).mas = RND + .0001
: : NEXT
: : 'main loop
: : DO
: :     'keys
: :     a$ = UCASE$(INKEY$)
: :     IF a$ = "A" THEN xa = xa + ss
: :     IF a$ = "D" THEN xa = xa - ss
: :     IF a$ = "W" THEN ya = ya + ss
: :     IF a$ = "S" THEN ya = ya - ss
: :     IF a$ = "Q" THEN za = za + ss
: :     IF a$ = "E" THEN za = za - ss
: :     IF a$ = "M" THEN am = am + 1
: :     IF am &amp;gt; 5 THEN am = 0
: :     IF a$ = "+" THEN di = di + ss * 10
: :     IF a$ = "-" THEN di = di - ss * 10
: :     IF a$ = "," THEN ss = ss + .01
: :     IF a$ = "." THEN ss = ss - .01
: :     IF a$ = "I" THEN ap = 1:     'get info of particles
: :     IF a$ = " " THEN CLS
: :     IF a$ = CHR$(27) THEN END
: :     'calc fps and print approximately info on screen every second
: :     fps = fps + 1
: :     IF TIMER - t &amp;gt; 1 THEN t = TIMER: COLOR 63: LOCATE 1, 1: PRINT fps; CINT(ss * 100) / 100; CINT(di); CINT(xa * 100) / 100; CINT(ya * 100) / 100; CINT(za * 100) / 100; am: fps = 0
: : 
: :     'particle loop
: :     FOR a = 1 TO num
: :         'universe calculations
: :         'move particle
: :         d(a).x = d(a).x + d(a).dx
: :         d(a).y = d(a).y + d(a).dy
: :         d(a).z = d(a).z + d(a).dz
: :         'calc gravity force for each particle on each particle
: :         FOR b = 1 TO num
: :             IF NOT (b = a) THEN
: :                 r = (d(a).x - d(b).x) ^ 2 + (d(a).y - d(b).y) ^ 2 + (d(a).z - d(b).z) ^ 2
: :                 d(b).dx = d(b).dx + (d(a).x - d(b).x) / r * (d(a).mas / d(b).mas) / 100
: :                 d(b).dy = d(b).dy + (d(a).y - d(b).y) / r * (d(a).mas / d(b).mas) / 100
: :                 d(b).dz = d(b).dz + (d(a).z - d(b).z) / r * (d(a).mas / d(b).mas) / 100
: :             END IF 'star(a).mas * star(b).mas / r
: :         NEXT
: :        
: :         'calc coordinates
: :         Ty = ((d(a).y * COS(xa)) - (d(a).z * SIN(xa)))
: :         Tz = ((d(a).y * SIN(xa)) + (d(a).z * COS(xa)))
: :         Tx = ((d(a).x * COS(ya)) - (Tz * SIN(ya)))
: :         Tz = ((d(a).x * SIN(ya)) + (Tz * COS(ya)))
: :         Ox = Tx
: :         Tx = ((Tx * COS(za)) - (Ty * SIN(za)))
: :         Ty = ((Ox * SIN(za)) + (Ty * COS(za)))
: :         'adjust coordinates to screen
: :         Nx = INT(128 * (Tx) / (di - (Tz))) + 160
: :         Ny = INT(100 - (128 * Ty) / (di - (Tz)))
: :        
: :         'calc color
: :         ac = a + 1
: :         cc = ABS(FIX((Tz + 128) / 4)) + d(a).c * 64
: :        
: :         'move particle
: :         SELECT CASE am
: :             CASE 0'palette color
: :                 PSET (d(a).Bx, d(a).By), 0
: :                 d(a).Bx = Nx
: :                 d(a).By = Ny
: :                 PSET (Nx, Ny), cc
: :             CASE 1'palette color with flash
: :                 PSET (Nx, Ny), cc
: :                 PSET (d(a).Bx, d(a).By), 0
: :                 d(a).Bx = Nx
: :                 d(a).By = Ny
: :             CASE 2'smoke (need to be at least a million i think)
: :                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) + (POINT(d(a).Bx, d(a).By) &amp;gt; 0)
: :                 d(a).Bx = Nx
: :                 d(a).By = Ny
: :                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
: :             CASE 3'smoke with flash
: :                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
: :                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) + (POINT(d(a).Bx, d(a).By) &amp;gt; 0)
: :                 d(a).Bx = Nx
: :                 d(a).By = Ny
: :             CASE 4'smoke trail (use space to clear)
: :                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) - (POINT(d(a).Bx, d(a).By) = 0)
: :                 d(a).Bx = Nx
: :                 d(a).By = Ny
: :                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
: :             CASE 5'smoke trail with flash
: :                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
: :                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) - (POINT(d(a).Bx, d(a).By) = 0)
: :                 d(a).Bx = Nx
: :                 d(a).By = Ny
: :         END SELECT
: : 
: :         IF ap THEN COLOR 63: PRINT Nx; Ny; Tz; cc
: :     NEXT
: :     ap = 0
: : LOOP&lt;/pre&gt;&lt;br /&gt;
: : I've done another one with the microuniverse.&lt;br /&gt;
: : It got a whole lot of more forces(I couldn't&lt;br /&gt;
: : make the weak nuclear force).&lt;br /&gt;
: : &lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
: : El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: Well - this is just a 3d prog - not an engine! I just asked because it was hard to me trying to imagine that a 3D engine is possible in QBASIC without assembly.&lt;br /&gt;
: &lt;br /&gt;
: ****************&lt;br /&gt;
: Any questions? Just ask!&lt;br /&gt;
: &lt;br /&gt;
: &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
If you develop this a little and make&lt;br /&gt;
it better it will be a 3D engine.&lt;br /&gt;
But it will have a framerate around&lt;br /&gt;
0.03 fps.&lt;br /&gt;
&lt;br /&gt;
I made an enginge that could only do&lt;br /&gt;
some easy block and surfaces thingys&lt;br /&gt;
and then I stoped becouse it was really&lt;br /&gt;
to slow.&lt;br /&gt;
&lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302475/re-is-basic-good-for-a-beginner/#302475</guid>
      <pubDate>Thu, 12 May 2005 05:42:01 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302573/re-is-basic-good-for-a-beginner/#302573</link>
      <description>: : : : (And IDK I should take a look at your BASIC 3d engine...if you don't&lt;br /&gt;
: : : : mind)&lt;br /&gt;
: : : &lt;br /&gt;
: : : It's just dot's.&lt;br /&gt;
: : : When I tried to&lt;br /&gt;
: : : extend it it was&lt;br /&gt;
: : : to slow. (1 frame&lt;br /&gt;
: : : took 30 seconds!!&lt;br /&gt;
: : : &lt;br /&gt;
: : : Here's the code anyhow.&lt;br /&gt;
: : : It's preatty cool.&lt;br /&gt;
: : : &lt;pre class="sourcecode"&gt;3DUNIVE2.BAS:
: : : 
: : : DEFINT A
: : : DEFSNG B-Z
: : : TYPE threeDdot
: : :     x AS SINGLE
: : :     y AS SINGLE
: : :     z AS SINGLE
: : :     c AS INTEGER
: : :     Bx AS SINGLE
: : :     By AS SINGLE
: : :     dx AS SINGLE
: : :     dy AS SINGLE
: : :     dz AS SINGLE
: : :     mas AS SINGLE
: : : END TYPE
: : : di = 100    'distance
: : : num = 100    'number of particles
: : : ss = .1     'start stepsize
: : : SCREEN 13
: : : 'palette
: : : OUT &amp;amp;H3C8, 0
: : : FOR a = 0 TO 63
: : :     OUT &amp;amp;H3C9, a
: : :     OUT &amp;amp;H3C9, a
: : :     OUT &amp;amp;H3C9, a
: : : NEXT
: : : FOR a = 0 TO 63
: : :     OUT &amp;amp;H3C9, a
: : :     OUT &amp;amp;H3C9, 0
: : :     OUT &amp;amp;H3C9, 0
: : : NEXT
: : : FOR a = 0 TO 63
: : :     OUT &amp;amp;H3C9, 0
: : :     OUT &amp;amp;H3C9, 0
: : :     OUT &amp;amp;H3C9, a
: : : NEXT
: : : FOR a = 0 TO 63
: : :     OUT &amp;amp;H3C9, a
: : :     OUT &amp;amp;H3C9, a
: : :     OUT &amp;amp;H3C9, 0
: : : NEXT
: : : 
: : : 'declare and init matrix
: : : DIM d(num) AS threeDdot
: : : FOR a = 1 TO num
: : :     d(a).x = RND * 128 - 64
: : :     d(a).y = RND * 128 - 64
: : :     d(a).z = RND * 128 - 64
: : :     d(a).c = RND * 3
: : :     d(a).mas = RND + .0001
: : : NEXT
: : : 'main loop
: : : DO
: : :     'keys
: : :     a$ = UCASE$(INKEY$)
: : :     IF a$ = "A" THEN xa = xa + ss
: : :     IF a$ = "D" THEN xa = xa - ss
: : :     IF a$ = "W" THEN ya = ya + ss
: : :     IF a$ = "S" THEN ya = ya - ss
: : :     IF a$ = "Q" THEN za = za + ss
: : :     IF a$ = "E" THEN za = za - ss
: : :     IF a$ = "M" THEN am = am + 1
: : :     IF am &amp;gt; 5 THEN am = 0
: : :     IF a$ = "+" THEN di = di + ss * 10
: : :     IF a$ = "-" THEN di = di - ss * 10
: : :     IF a$ = "," THEN ss = ss + .01
: : :     IF a$ = "." THEN ss = ss - .01
: : :     IF a$ = "I" THEN ap = 1:     'get info of particles
: : :     IF a$ = " " THEN CLS
: : :     IF a$ = CHR$(27) THEN END
: : :     'calc fps and print approximately info on screen every second
: : :     fps = fps + 1
: : :     IF TIMER - t &amp;gt; 1 THEN t = TIMER: COLOR 63: LOCATE 1, 1: PRINT fps; CINT(ss * 100) / 100; CINT(di); CINT(xa * 100) / 100; CINT(ya * 100) / 100; CINT(za * 100) / 100; am: fps = 0
: : : 
: : :     'particle loop
: : :     FOR a = 1 TO num
: : :         'universe calculations
: : :         'move particle
: : :         d(a).x = d(a).x + d(a).dx
: : :         d(a).y = d(a).y + d(a).dy
: : :         d(a).z = d(a).z + d(a).dz
: : :         'calc gravity force for each particle on each particle
: : :         FOR b = 1 TO num
: : :             IF NOT (b = a) THEN
: : :                 r = (d(a).x - d(b).x) ^ 2 + (d(a).y - d(b).y) ^ 2 + (d(a).z - d(b).z) ^ 2
: : :                 d(b).dx = d(b).dx + (d(a).x - d(b).x) / r * (d(a).mas / d(b).mas) / 100
: : :                 d(b).dy = d(b).dy + (d(a).y - d(b).y) / r * (d(a).mas / d(b).mas) / 100
: : :                 d(b).dz = d(b).dz + (d(a).z - d(b).z) / r * (d(a).mas / d(b).mas) / 100
: : :             END IF 'star(a).mas * star(b).mas / r
: : :         NEXT
: : :        
: : :         'calc coordinates
: : :         Ty = ((d(a).y * COS(xa)) - (d(a).z * SIN(xa)))
: : :         Tz = ((d(a).y * SIN(xa)) + (d(a).z * COS(xa)))
: : :         Tx = ((d(a).x * COS(ya)) - (Tz * SIN(ya)))
: : :         Tz = ((d(a).x * SIN(ya)) + (Tz * COS(ya)))
: : :         Ox = Tx
: : :         Tx = ((Tx * COS(za)) - (Ty * SIN(za)))
: : :         Ty = ((Ox * SIN(za)) + (Ty * COS(za)))
: : :         'adjust coordinates to screen
: : :         Nx = INT(128 * (Tx) / (di - (Tz))) + 160
: : :         Ny = INT(100 - (128 * Ty) / (di - (Tz)))
: : :        
: : :         'calc color
: : :         ac = a + 1
: : :         cc = ABS(FIX((Tz + 128) / 4)) + d(a).c * 64
: : :        
: : :         'move particle
: : :         SELECT CASE am
: : :             CASE 0'palette color
: : :                 PSET (d(a).Bx, d(a).By), 0
: : :                 d(a).Bx = Nx
: : :                 d(a).By = Ny
: : :                 PSET (Nx, Ny), cc
: : :             CASE 1'palette color with flash
: : :                 PSET (Nx, Ny), cc
: : :                 PSET (d(a).Bx, d(a).By), 0
: : :                 d(a).Bx = Nx
: : :                 d(a).By = Ny
: : :             CASE 2'smoke (need to be at least a million i think)
: : :                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) + (POINT(d(a).Bx, d(a).By) &amp;gt; 0)
: : :                 d(a).Bx = Nx
: : :                 d(a).By = Ny
: : :                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
: : :             CASE 3'smoke with flash
: : :                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
: : :                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) + (POINT(d(a).Bx, d(a).By) &amp;gt; 0)
: : :                 d(a).Bx = Nx
: : :                 d(a).By = Ny
: : :             CASE 4'smoke trail (use space to clear)
: : :                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) - (POINT(d(a).Bx, d(a).By) = 0)
: : :                 d(a).Bx = Nx
: : :                 d(a).By = Ny
: : :                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
: : :             CASE 5'smoke trail with flash
: : :                 PSET (Nx, Ny), POINT(Nx, Ny) + 1
: : :                 PSET (d(a).Bx, d(a).By), POINT(d(a).Bx, d(a).By) - (POINT(d(a).Bx, d(a).By) = 0)
: : :                 d(a).Bx = Nx
: : :                 d(a).By = Ny
: : :         END SELECT
: : : 
: : :         IF ap THEN COLOR 63: PRINT Nx; Ny; Tz; cc
: : :     NEXT
: : :     ap = 0
: : : LOOP&lt;/pre&gt;&lt;br /&gt;
: : : I've done another one with the microuniverse.&lt;br /&gt;
: : : It got a whole lot of more forces(I couldn't&lt;br /&gt;
: : : make the weak nuclear force).&lt;br /&gt;
: : : &lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
: : : El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : Well - this is just a 3d prog - not an engine! I just asked because it was hard to me trying to imagine that a 3D engine is possible in QBASIC without assembly.&lt;br /&gt;
: : &lt;br /&gt;
: : ****************&lt;br /&gt;
: : Any questions? Just ask!&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: If you develop this a little and make&lt;br /&gt;
: it better it will be a 3D engine.&lt;br /&gt;
: But it will have a framerate around&lt;br /&gt;
: 0.03 fps.&lt;br /&gt;
: &lt;br /&gt;
: I made an enginge that could only do&lt;br /&gt;
: some easy block and surfaces thingys&lt;br /&gt;
: and then I stoped becouse it was really&lt;br /&gt;
: to slow.&lt;br /&gt;
: &lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
: El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
It is also hard to imagine that it's a 0.03 fps engine. QBASIC is not a language for 3D libraries. By the way, Visual Basic is also a good choice for beginners after learning the "flat" BASIC.&lt;br /&gt;
&lt;br /&gt;
****************&lt;br /&gt;
Any questions? Just ask!&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302573/re-is-basic-good-for-a-beginner/#302573</guid>
      <pubDate>Fri, 13 May 2005 05:34:28 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302604/re-is-basic-good-for-a-beginner/#302604</link>
      <description>&lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by IDK at  2005-5-13 8:54:31&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
Maximum thread limit...&lt;br /&gt;
This is what Gaashius wrote&lt;br /&gt;
: It is also hard to imagine that it's a 0.03 fps engine.&lt;br /&gt;
&lt;br /&gt;
Why?&lt;br /&gt;
If you aren't dumb you can calculate that 1/0.03&amp;gt;30 s/frame&lt;br /&gt;
&lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302604/re-is-basic-good-for-a-beginner/#302604</guid>
      <pubDate>Fri, 13 May 2005 08:53:01 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302840/re-is-basic-good-for-a-beginner/#302840</link>
      <description>: &lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by IDK at  2005-5-13 8:54:31&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
: Maximum thread limit...&lt;br /&gt;
: This is what Gaashius wrote&lt;br /&gt;
: : It is also hard to imagine that it's a 0.03 fps engine.&lt;br /&gt;
: &lt;br /&gt;
: Why?&lt;br /&gt;
: If you aren't dumb you can calculate that 1/0.03&amp;gt;30 s/frame&lt;br /&gt;
: &lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
: El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
Sor' man!!! I really confused things here... - I could'nt believe it, thanks for noting that lil' thing. Sor' again&lt;br /&gt;
&lt;br /&gt;
****************&lt;br /&gt;
Any questions? Just ask!&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302840/re-is-basic-good-for-a-beginner/#302840</guid>
      <pubDate>Mon, 16 May 2005 11:33:36 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302955/re-is-basic-good-for-a-beginner/#302955</link>
      <description>: : &lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by IDK at  2005-5-13 8:54:31&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
: : Maximum thread limit...&lt;br /&gt;
: : This is what Gaashius wrote&lt;br /&gt;
: : : It is also hard to imagine that it's a 0.03 fps engine.&lt;br /&gt;
: : &lt;br /&gt;
: : Why?&lt;br /&gt;
: : If you aren't dumb you can calculate that 1/0.03&amp;gt;30 s/frame&lt;br /&gt;
: : &lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
: : El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: Sor' man!!! I really confused things here... - I could'nt believe it, thanks for noting that lil' thing. Sor' again&lt;br /&gt;
: &lt;br /&gt;
: ****************&lt;br /&gt;
: Any questions? Just ask!&lt;br /&gt;
: &lt;br /&gt;
: &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; &lt;strong&gt;&lt;span style="color: Blue;"&gt;GAASHIUS&lt;/span&gt;&lt;/strong&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
Happens everyone&lt;br /&gt;
&lt;strong&gt;===============================&lt;/strong&gt;&lt;br /&gt;
El PROgrammador &lt;strong&gt;Niklas Ulvinge&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302955/re-is-basic-good-for-a-beginner/#302955</guid>
      <pubDate>Tue, 17 May 2005 08:27:41 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/302983/re-is-basic-good-for-a-beginner/#302983</link>
      <description>: i really want to learn to program but i dont really know hoe to start is BASIC a good language to start with and will it help me learn other languages? plus any info anyone thinks a begginer in BASIC need please feel free to add in i apereciate it.&lt;br /&gt;
: Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
: &lt;br /&gt;
try nbasic from http://sylvaware.home.mindspring.com, has online help/reference and example programs.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/302983/re-is-basic-good-for-a-beginner/#302983</guid>
      <pubDate>Tue, 17 May 2005 13:51:28 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/304302/re-is-basic-good-for-a-beginner/#304302</link>
      <description>&amp;gt;i really want to learn to program but i dont really know hoe to start &lt;br /&gt;
&lt;br /&gt;
Desire to learn is the most important requirement.&lt;br /&gt;
&lt;br /&gt;
&amp;gt;is BASIC a good language to start with and will it help me learn other &lt;br /&gt;
&amp;gt;languages?&lt;br /&gt;
&lt;br /&gt;
Yes and maybe! Standard BASIC is ancient and lacks a large number of advanced features, however, today you can find dialects of BASIC which includes many of these features.&lt;br /&gt;
&lt;br /&gt;
Using BASIC will teach you about variables, logic, IO, branching and a number of other concepts which are shared by all programming languages.&lt;br /&gt;
&lt;br /&gt;
&amp;gt;plus any info anyone thinks a begginer in BASIC need please feel free &lt;br /&gt;
&amp;gt;to add in i apereciate it.&lt;br /&gt;
&lt;br /&gt;
I would advise that you start with something like Blitz3D from Blitz Research Ltd. &lt;a href="http://www.blitzbasic.com"&gt;http://www.blitzbasic.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The demo will enable you to develop programs using either 2D or 3D and is based on a modern BASIC with many concepts from C, which means that you will have an easyer time learning other programming languages in the future.&lt;br /&gt;
&lt;br /&gt;
Andy&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/304302/re-is-basic-good-for-a-beginner/#304302</guid>
      <pubDate>Tue, 31 May 2005 17:02:15 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Re: is BASIC good for a beginner</title>
      <link>http://www.programmersheaven.com/mb/basic/302351/309963/re-is-basic-good-for-a-beginner/#309963</link>
      <description>: i really want to learn to program but i dont really know hoe to start is BASIC a good language to start with and will it help me learn other languages? plus any info anyone thinks a begginer in BASIC need please feel free to add in i apereciate it.&lt;br /&gt;
: Hey people im here to learn and there are no stupid questions only stupid people who ask them&lt;br /&gt;
: &lt;br /&gt;
My personal feelings about basic is that the language is good for begginers, and as I am finding out by learning C, it does help in learning other languages. All across the internet are tutorials, and many libraries have books that can teach you basic.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/basic/302351/309963/re-is-basic-good-for-a-beginner/#309963</guid>
      <pubDate>Sun, 24 Jul 2005 15:57:54 -0700</pubDate>
      <category>Basic</category>
    </item>
  </channel>
</rss>