Search found 63 matches

by fabrizio
Mar 28, 2010 16:18
Forum: Tips and Tricks
Topic: This saves some typing
Replies: 0
Views: 1069

This saves some typing

I like the look of it. '' '' t '' '' written by Fabrizio Davia in 2010 '' '' version 002 '' '' constants const false = 0 const true = not false type datum w as integer a as string r as integer end type redim shared as string stack (100) dim shared as integer s_index s_index = 0 dim shared as...
by fabrizio
Jan 15, 2009 12:37
Forum: Community Discussion
Topic: FreeBASIC added in the "Basic" grouping of TIOBE
Replies: 2
Views: 1421

FreeBASIC added in the "Basic" grouping of TIOBE

Apparently, starting from January 2009 and alongside with Thin Basic and Power Basic.
All this thanks to the creator of ... Thin Basic (!)
Not that it will change anyone's life, but just to take note.

http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
by fabrizio
Dec 19, 2008 9:27
Forum: Community Discussion
Topic: Using FBWiki as a main page
Replies: 15
Views: 3885

[IMHO] the freebasic.net page should contain just: - logo (the community or the devs or V1ct0r should choose one and use only one throughout all the pages) - description -- stating also that the compiler supports both QBASIC and a more pwerful version BASIC (a link to an "about" section or wiki is n...
by fabrizio
Nov 26, 2008 14:30
Forum: Community Discussion
Topic: The Direction of FreeBasic development...
Replies: 21
Views: 5104

Thanks for your explanation. "Beauty is in the eye of the beholder". I agree that more formal languages tend to be distant from the natural language. More formal languages are easier for parsers, not for humans. Still, I think they make good objects to be considered and explored. Which, in a teachin...
by fabrizio
Nov 26, 2008 13:18
Forum: Community Discussion
Topic: The Direction of FreeBasic development...
Replies: 21
Views: 5104

I think you should teach kids free basic over the standard python just based on FB's library versatility. Yes, FB has a lot of libraries available. For me, I always use FBGFX. It is there, it is easy, it is fast and it is fun. I think a kid would reason the same way. Pygame: I couldn't figure out h...
by fabrizio
Nov 25, 2008 13:15
Forum: Community Discussion
Topic: The Direction of FreeBasic development...
Replies: 21
Views: 5104

I thought I was the only one here comparing FB with Python. Both are great high level languages. Python is readable. IMHO Python readability comes from two things: indentation and implicit variable declaration, particularly in function parameters. I like indentation. If you take out curly braces fro...
by fabrizio
Nov 18, 2008 17:32
Forum: General
Topic: simulating import and if __name__ == '__main__': from python
Replies: 4
Views: 1153

Yes!
Thanks very much, counting_pine.
by fabrizio
Nov 18, 2008 14:51
Forum: General
Topic: simulating import and if __name__ == '__main__': from python
Replies: 4
Views: 1153

Thanks countin_pine, I see. In fact it is sufficient to just change the #define alpha into #define __main__ and the easy part works. I still can't figure out this: #macro import2 ( a ) #ifndef __main__ #define __main__ #endif namespace a #include a + ".bas" end namespace #endmacro ...
by fabrizio
Nov 18, 2008 13:17
Forum: General
Topic: simulating import and if __name__ == '__main__': from python
Replies: 4
Views: 1153

simulating import and if __name__ == '__main__': from python

I was trying to simulate "import" and "if __name__ == '__main__':" from Python. Let's say we have a file to be included like this: function _add ( a as integer ) as integer return a + 1 end function function test ( a as integer ) as string dim as integer l for l = 1 to a print _add &...
by fabrizio
Nov 12, 2008 13:33
Forum: Projects
Topic: An i8080 simulator
Replies: 11
Views: 5978

Yes, well. Programs in assembler are closer to the actual hardware and mine is invented from scratch. I doubt an existing i8080 binary could run as-is in 8080box. In fact all I wanted was to try and program in assembler like one could do on the seventies and eighties computer. So I put together a CP...
by fabrizio
Nov 12, 2008 9:14
Forum: Projects
Topic: An i8080 simulator
Replies: 11
Views: 5978

It was a deliberate choice. As much as possible had to be human readable. A simulator has this advantage over the real system, that you can actually stop a minute and look into it. So I let clarity prevail over adherence. The same applies to decimal numbers being used instead of the more obscure hex...
by fabrizio
Nov 10, 2008 16:10
Forum: Projects
Topic: An i8080 simulator
Replies: 11
Views: 5978

Wow. Glad if 8080box may be of any help.
(Please forgive any bugs you might find.)
by fabrizio
Nov 10, 2008 13:16
Forum: Projects
Topic: An i8080 simulator
Replies: 11
Views: 5978

Hi, thanks for your interest in my prog. The prog waited patiently in my USB key until now, beacause development ceased after the post. I uploaded it here (thanks Kristopher). http://freefile.kristopherw.us/uploads/fabrizio2/8080_box.zip Please let me know what you think. Bye, fabrizio
by fabrizio
Nov 05, 2008 13:33
Forum: Community Discussion
Topic: MOCKUP of FreeBASIC 1.0 Goals
Replies: 52
Views: 12135

I can't begin to say how much I like all of this. Thanks anonymous1337. I agree with renaming "Old FBC" to "FBC 1.0" and "New FBC" to "FBC 2.0". I think no programmig on FBC 2.0 should begin until there is a complete definition of the language and taht means we need a format for that, before the for...
by fabrizio
Nov 05, 2008 9:13
Forum: Community Discussion
Topic: Concerns about development of the FreeBASIC compiler
Replies: 31
Views: 5625

An open source project is not a rigid corporate hierarchy. There are always plenty people that want to play the decisionmaker. The ones that really make it happen are rare. I agree. But I was thinking like Python (Guido van Rossum) or even Linux (Linus Torvalds). The fact that a leader is recognize...

Go to advanced search