Search found 5543 matches

by counting_pine
Nov 14, 2020 18:41
Forum: Documentation
Topic: INPUT edit capacity
Replies: 4
Views: 138

Re: INPUT edit capacity

Command line or graphics or both?
by counting_pine
Nov 13, 2020 12:28
Forum: Documentation
Topic: INPUT edit capacity
Replies: 4
Views: 138

Re: INPUT edit capacity

/wiki/KeyPgInput
It might depend on the platform or possibly whether its command line or graphics. I can’t check currently..
by counting_pine
Oct 17, 2020 9:54
Forum: General
Topic: FBIDE
Replies: 10
Views: 542

Re: FBIDE

There probably aren’t many people running FBIDE under Linux.
Does top indicate that the memory is being consumed by any other process?
by counting_pine
Oct 17, 2020 9:51
Forum: Beginners
Topic: PUT# again
Replies: 7
Views: 240

Re: PUT# again

Your example (with small fixes so it compiles) should, unless I’m mistaken, write 8 bytes of data (the size of a ulongint) to the start of the file. Is that what you’re seeing? You should be about to write an exact number of bytes in Binary mode with something like: Put #f, , *cast(ubyte ptr, p&...
by counting_pine
Oct 14, 2020 13:29
Forum: General
Topic: FBIDE
Replies: 10
Views: 542

Re: FBIDE

Bear in mind that FBIDE has not seen any development for a long, long time, so anything you report is very unlikely to ever be fixed..
If you can verify that FBIDE itself is hogging the memory, then you should be able to Kill the process to free up the memory without logging out.
by counting_pine
Oct 12, 2020 20:30
Forum: General
Topic: FBIDE
Replies: 10
Views: 542

Re: FBIDE

How are you running FBIDE through Linux? Is this through Wine, or some kind of native build? Perhaps the programs are not finishing properly. This might happen if you had Sleep at the end, but the program wasn’t showing in a console. If you run 'ps aux' in a terminal, you might see lots of copies of...
by counting_pine
Sep 25, 2020 17:08
Forum: Community Discussion
Topic: [solved] if x2+y2 <= 1 then z2=1-(x2+y2) : z=sqr(z2) ?
Replies: 10
Views: 428

Re: if x2+y2 <= 1 then z2=1-(x2+y2) : z=sqr(z2) ?

EDIT: I was thinking PNG compression is loseless but on the forum the normalized rgb 2D sphere has a ellipse inside but not if I run it on the monitor at home. May be the result of a fast png decompresser from firefox I will compare it with an other browser. Do you see the ellipse also ? Joshy EDIT...
by counting_pine
Sep 21, 2020 19:34
Forum: Community Discussion
Topic: Compiler code generation?
Replies: 16
Views: 678

Re: Compiler code generation?

fatman2021 wrote:You do realize that C has a perfectly good switch statement you can use? Why don't you use it? What is with all the spaghetti code?
fatman2021, please explain, what is your comment in reference to?
Who is it directed at?
Is it a response to a prior post?
How was the code you gave generated?
by counting_pine
Sep 18, 2020 14:02
Forum: Documentation
Topic: Wiki improvements
Replies: 544
Views: 98531

Re: Wiki improvements

The other problem with over-documentation is that any changes to documented functions will potentially cause breakages for people who have come to rely on those functions. So it imposes more rigidity on the internal structure of the code, or risks breaking trust with developers, or requires them to ...
by counting_pine
Sep 12, 2020 12:33
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 228
Views: 20320

Re: FreeBASIC 1.08 Development

What I find slightly worrying is that Gcc produces a different result. Not in terms of timings but the array looks different... I'd call it a bug unless there is a more convincing explanation. If the code causes undefined behaviour , then different results can both be valid. I believe the results o...
by counting_pine
Sep 06, 2020 21:06
Forum: Documentation
Topic: Basic-Macros in fbc 1.08
Replies: 38
Views: 1868

Re: Basic-Macros in fbc 1.08

Wow, just seen these - looks amazing. They should make for some very powerful macros..
by counting_pine
Aug 30, 2020 11:41
Forum: Documentation
Topic: Wiki improvements
Replies: 544
Views: 98531

Re: Wiki improvements

Of the top of my head: ImageInfo should be dialect agnostic, although the headers it’s likely to see differ for different dialects. Version differences may refer to the byref parameters? They may have once been Integer but changed to Long, or overloaded, or something. I can’t really remember. Rem: t...
by counting_pine
Aug 28, 2020 8:29
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 228
Views: 20320

Re: FreeBASIC 1.08 Development

What if the '-lang fb' lexer precluded the very possibility of suffixes - particularly '$' - by including those symbols within the variable name? e.g. dim a$b$c as integer . Then in order to support legacy functions, it's just a matter of making sure both forms (e.g. mid and mid$ ) are registered a...
by counting_pine
Aug 27, 2020 8:24
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 228
Views: 20320

Re: FreeBASIC 1.08 Development

Under fbc's hood, the lexer expects identifiers to possibly have suffixes so it reads suffixes. But out of the 800+ places in the parser where a decision should be made about suffixes, only about 5 places are handled, often resulting in an error. My personal preference is that '-lang fb' be suffix ...
by counting_pine
Aug 17, 2020 12:00
Forum: Beginners
Topic: #Define vs Const
Replies: 8
Views: 607

Re: #Define vs Const

#define uses simple text replacement, which can have some weird effects because they don't respect operator precedence. const as ubyte bit1 = 1, bit2 = 2, bit3 = 4 const ComboBits = bit1+bit2+bit3 ' = 7 #define ComboBitsDefine bit1+bit2+bit3 print ComboBits*3 ' = 21 print ComboBitsDefine*3 ' = 15? I...

Go to advanced search