Search found 315 matches

by speedfixer
May 18, 2019 17:50
Forum: Community Discussion
Topic: New array features
Replies: 48
Views: 1609

Re: New array features

I change my opinion.

I disagree that people won't look at the implementation.
Or rather, if they don't know what they are looking at, it doesn't matter.
The code has always been available.
by speedfixer
May 18, 2019 0:42
Forum: Community Discussion
Topic: New array features
Replies: 48
Views: 1609

Re: New array features

Then, paul doe, what are you suggesting? With your quote, perhaps I don't understand part what is suggested as a difference. Why would someone NOT look at code source - rtlib or not; separated source or not - to understand how features work? C source or not? While we might DESIRE that all source is ...
by speedfixer
May 17, 2019 23:52
Forum: Community Discussion
Topic: New array features
Replies: 48
Views: 1609

Re: New array features

[edit after quick test] *Sometimes* it may not result in a larger executable, but that isn't a secure or predictable enough statement that I would make. Certain: the base runtime lib is still larger. That means a longer compile time. Might not be much but ... When I recompile my libraries, that is 2...
by speedfixer
May 17, 2019 19:00
Forum: Community Discussion
Topic: New array features
Replies: 48
Views: 1609

Re: New array features

back to this: @Juergen Kuehlwein: Before making a new pull request i would like to know, what would be the preferred/best way of implementing the new array features (sort, insert, delete). I see three ways to go: 1.) as is - add it as include file (definitions and run time code in array.bi). The fea...
by speedfixer
May 13, 2019 21:27
Forum: General
Topic: rPI and compile
Replies: 1
Views: 94

Re: rPI and compile

I am thinking I may have included one of the pigpio object files twice. Still checking. Otherwise, FB on the PI works great. I am using the pigpio daemon library @ https://github.com/joan2937 My opinion: this is a much more complete and easier to use library set than the WiringPI, BCM2708 or BCM 283...
by speedfixer
May 12, 2019 18:28
Forum: General
Topic: rPI and compile
Replies: 1
Views: 94

rPI and compile

rPI 3B+ I am compiling a fair sized, complex (as is) program. It pulls in the pigpio daemon library set. I don't have any pca9685 code yet. I use a module destructor. I will do more isolation later, but if anyone has a clue for me ... Program compiles with no error. Program will run without fault. R...
by speedfixer
May 12, 2019 1:57
Forum: Community Discussion
Topic: How to do -g but without assertions?
Replies: 15
Views: 1735

Re: How to do -g but without assertions?

@coderJeff: maybe a verbose version of version? like '-version -v'? To me: confusing. In many languages, there are synonyms and variations of an option, like -verbose, -v, --verbose, etc. Which is which? 'Stacking' on a simple option doesn't make sense. Somewhere, someone does -v ... or ... a -v -v ...
by speedfixer
May 09, 2019 17:36
Forum: Community Discussion
Topic: How to do -g but without assertions?
Replies: 15
Views: 1735

Re: How to do -g but without assertions?

To me, it is exciting to think that the STW nightly builds can be built better as candidates with degrees of fail info by default, yet still be run 'stripped' if someone chooses to stay simple/small. Simply pointing someone to 'the latest build' that has not really been completely verified and appro...
by speedfixer
May 05, 2019 16:41
Forum: Documentation
Topic: SWAP keyword
Replies: 35
Views: 603

Re: SWAP keyword

Exactly.
I just wanted a 'hint' that swap might not be the best choice in all cases and that a speed consideration might take some investigation for the use in your program.

Thank you.
by speedfixer
May 04, 2019 5:20
Forum: Documentation
Topic: SWAP keyword
Replies: 35
Views: 603

SWAP keyword

Could you add a note - doesn't have to be exactly this. While SWAP is simple to use, it is typically faster for all but integer types. A proxy-type swap is usually faster for integer types. As always, if speed is critical, test the alternatives IN YOUR PROGRAM. My test code: type udt ii as integer s...
by speedfixer
May 03, 2019 7:47
Forum: Documentation
Topic: NEW operator
Replies: 9
Views: 289

Re: NEW operator

Your example is less complex than mine. That would be better.
by speedfixer
May 03, 2019 5:59
Forum: Documentation
Topic: NEW operator
Replies: 9
Views: 289

Re: NEW operator

Yes, thank you, you solved the problem of expressing a multi-dimension NEW/DELETE.

Now, the wiki should still have the comment added that NEW/DELETE does not support a multi-dimension array, but a solution is possible.
Just include this example to show how to achieve that goal.
by speedfixer
May 03, 2019 5:15
Forum: Documentation
Topic: NEW operator
Replies: 9
Views: 289

Re: NEW operator

What I tried was: type udt1 ip as integer ptr declare constructor() declare destructor() end type constructor udt1 ip = new integer[6,6] end constructor destructor udt1 delete [] ip end destructor dim as udt1 newvar 'something executable print test.bas(9) error 66: Expected ']', found ',' in 'ip = n...
by speedfixer
May 03, 2019 3:03
Forum: Documentation
Topic: NEW operator
Replies: 9
Views: 289

NEW operator

because: The extra uinteger, if allocated, stores the number of elements as part of the allocation ... and it appears that only one is allocated, it seems that the NEW/DELETE **can't** be used on multi-dimension arrays. At least, I can't figure out how to make it work. This should be mentioned in th...
by speedfixer
Apr 28, 2019 5:04
Forum: General
Topic: error w/gen gcc - solved
Replies: 5
Views: 270

Re: error w/gen gcc - solved

Just remembered I have a couple of rPI and 10 other systems to test with.

Seems to work on them OK, some with same build of gcc.
Just something on this one system, I guess.
False alarm.

[ tears coming down ... can't trust this one, I guess ... another hour+ to flush and reload ...]

Go to advanced search