titles for posters?
Re: titles for posters?
GW-BASIC looks pretty obscure to me too, e.g.:
Re: titles for posters?
True - are you sure it's BASIC? This is GfaBasic, about 30 years ago:badidea wrote:GW-BASIC looks pretty obscure to me too, e.g.
Code: Select all
FOR n&=0 TO nr_c&
IF GapsFilled!
FOR ct&=1 TO Sets&
IF Est!(ai&,n&,ct&) THEN Bm(ct&,IC&,n&)=MagiC%,Est!(ai&,n&,ct&)=0
NEXT ct&
ELSE IF n&<9
ct&=0,f!=Bm(1,IC&,n&)=MagiC% '1=year 1
WHILE ct&<Sets&
REPEAT
ct&++,ok!=Bm(ct&,IC&,n&)<>MagiC% 'find 1st occurrence
UNTIL ok! OR ct&>=Sets&
IF f! AND ok! AND ct&<=EstY&
...
Re: titles for posters?
freeBASIC can handle old style line numbers.
-gen gas is best
64 bit is useless
-gen gas is best
64 bit is useless
Code: Select all
'rem prime factors
#lang "fblite"
0 option gosub
1 lowers%=30000000
2 uppers%=30000100
10 For counts% = lowers% To uppers%
20 number% = counts%
30
40 Print number%;"= ";
50 divisor% = 2
60 if divisor% <= number% then goto 70
70 Gosub 490
80 divisor% = divisor% + 1
90 if divisor% <= number% then goto 60
100 Print
101 Next counts%
102 Print
rem subroutine
490
500 if number% mod divisor% =0 then
510 c$=" x"
520 number% = number% \ divisor%
530 If number% = 1 Then c$=""
540 Print divisor%;c$;
550 Goto 490
560 End If
570 If counts%<=uppers% Then Return
580 Sleep
-
- Posts: 862
- Joined: May 05, 2015 5:35
- Location: Germany
Re: titles for posters?
Stupid, but happy. Enviable! <grin>Lost Zergling wrote:I'm a Zergling. I do not think,..
Re: titles for posters?
Sure it can. Ugly syntax can be anything between GWBASIC as posted by badidea above and C++. But you can use FreeBasic also to produce simple, elegant and efficient code.dodicat wrote:freeBASIC can handle old style line numbers.
-
- Posts: 3906
- Joined: Jan 01, 2009 7:03
- Location: Australia
Re: titles for posters?
That's ok I can see why you thought that. My objection was your suggestion that I objected to the ability given to FreeBASIC to use C++ like code which on the contrary has been great for FreeBASIC because it has enabled talented programmers to make use of its extended powers.Josep Roca wrote:If I got a wrong impression, I apologize, but it is not based only in this thread, but also in threads like this one: "BASIC was meant to be easy to learn, read and understand": viewtopic.php?f=17&t=25269
However I think the BASIC language owed its original popularity partly to reading much like a natural language making it easier to learn.
Ultimately how useful a language is depends on what can be done with it and by whom. Is it a tool for a wider audience or is it limited to an elite few?
Last edited by BasicCoder2 on Aug 18, 2018 19:43, edited 4 times in total.
-
- Posts: 538
- Joined: Dec 02, 2011 22:51
- Location: France
Re: titles for posters?
@grin. This Zergling often helps me forget or overcome daily worries. :-)
Re: titles for posters?
Protos carriers forever!Lost Zergling wrote:@grin. This Zergling often helps me forget or overcome daily worries. :-)
-
- Posts: 862
- Joined: May 05, 2015 5:35
- Location: Germany
Re: titles for posters?
Like I said: HAPPY! :-)Lost Zergling wrote:@grin. This Zergling often helps me forget or overcome daily worries. :-)
-
- Posts: 538
- Joined: Dec 02, 2011 22:51
- Location: France
Re: titles for posters?
Can't jump high enough ! :'(