Search found 2001 matches

by coderJeff
Aug 19, 2019 0:55
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 44
Views: 392

Re: Array Descriptor (split from Wiki Improvements)

Just another thought: No. :) I'm not giving the compatibility another thought. fxm's idea of placing data just before the descriptor (I think), would be fairly compatible, though also not 100% in all cases, so my opinion, is to not bother, and go for the simplest solution. I'm adding a field for fl...
by coderJeff
Aug 19, 2019 0:41
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 44
Views: 392

Re: Array Descriptor (split from Wiki Improvements)

Simplest solution is to add information (i.e. a "flags" field) to existing array descriptor and break compatibility. Because this is not the only bug reported that is going to break compatibility to fix, we are going break binary compatibility anyway on next release. Apart from the static...
by coderJeff
Aug 19, 2019 0:04
Forum: Community Discussion
Topic: New array features
Replies: 122
Views: 6472

Re: New array features

Juergen Kuehlwein wrote:This will be no problem anymore as soon as Jeff changes the descriptor´s definition, because then this workaround will be obsolete.


By next weekend should be merge in. I ran out of time this weekend to get the array descriptor changes added.
by coderJeff
Aug 17, 2019 21:16
Forum: General
Topic: namespace problem
Replies: 45
Views: 6996

Re: namespace problem

This seems like it should be the normal behaviour and correct that the definition should be fully qualified, either inside a namespace block, or with the namespace identifier prefix But that works for a non-member procedure declared in a Namespace but outside implemented through a 'Using namespace_...
by coderJeff
Aug 17, 2019 20:26
Forum: General
Topic: namespace problem
Replies: 45
Views: 6996

Re: namespace problem

Referring to the behavior described for C ++ (see my previous post), the following seems normal to me: As far as I know, there is no equivalent to the fbc examples given for this behaviour in C++. The current results for fbc are kind of all over the place. My personal opinion is that USING should b...
by coderJeff
Aug 17, 2019 15:40
Forum: General
Topic: namespace problem
Replies: 45
Views: 6996

Re: namespace problem

OK, let me narrow it down:

Code: Select all

namespace one
   declare sub s() '' declaration only
end namespace
using one
sub s() '' definition (and declaration?)
end sub


fxm, in the above example, what do you think? 'sub s()' is global (i.e. not in namespace one)? or respects 'using one' import of symbol names?
by coderJeff
Aug 17, 2019 14:51
Forum: General
Topic: namespace problem
Replies: 45
Views: 6996

Re: namespace problem

But that works for a non-member procedure declared in a Namespace but outside implemented through a 'Using namespace_name': Namespace One Declare Sub s () End Namespace Using One Sub s () Print "One.s()" End Sub Oh, that is weird. I would have expected 'sub s()' to be defined in the globa...
by coderJeff
Aug 17, 2019 14:29
Forum: Projects
Topic: Articles on accessing RPi pins
Replies: 13
Views: 582

Re: Articles on accessing RPi pins

speedfixer wrote:MODERATORS: I suggest a 'PI, BB, and other arm' topic would be helpful.

Could this be part of the "Hardware Interfaces / Communication" sub forum, somehow?

Possibly altering the name or description of the sub forum?
by coderJeff
Aug 17, 2019 13:38
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 44
Views: 392

Re: Array Descriptor (split from Wiki Improvements)

In my new array features, i solved this problem by adding room for one more dimension each time an array is created... The only bad thing, which could happen, is trying to read the identifier from invalid memory ... For this case the routine reading the identifier installs a signal handler to recov...
by coderJeff
Aug 16, 2019 22:49
Forum: General
Topic: namespace problem
Replies: 45
Views: 6996

Re: namespace problem

This seems like it should be the normal behaviour and correct that the definition should be fully qualified, either inside a namespace block, or with the namespace identifier prefix. To have USING import symbols in to the current namespace for access, but not for the purpose of definition. I think c...
by coderJeff
Aug 16, 2019 16:43
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 50
Views: 1843

Arduino Serial Communication Demo #6

Arduino Serial Communication Demo #6 This demo is a simulation of serial communication. We don't need any connected devices for this program to run. It is intended to show what's happening in the serial communication as the message gets passed from program to serial port to device, etc. http://www....
by coderJeff
Aug 16, 2019 16:28
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 50
Views: 1843

Re: FreeBasic communication with Arduino logic error?

No problem. Overall, we are only using a handful of commands for serial communication. Open COM, Loc(), Get#, Put#, etc. And the use of those commands is not so different from file I/O operations. Except for file I/O, the OS and drivers takes care of the timing, buffering, and flow control, with the...
by coderJeff
Aug 16, 2019 0:38
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 50
Views: 1843

Arduino Serial Communication Demo #5

Arduino Serial Communication Demo #5 For this demo, we don't need to build anything. We are using: - Serial Port - LED_BUILTIN for an output We are also not using any classes. Hopefully the program listings show the sequence more than anything. This demo should feel like it goes with the concepts l...
by coderJeff
Aug 16, 2019 0:23
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 50
Views: 1843

Arduino Serial Communication Concepts

On the Arduino side, I've tried several things, but nothing has worked so far. As a matter of fact, it seems like some of my tests have only returned garbage. How can I read the string on the Arduino side, bit by bit? I will try to describe a couple of concepts that apply to both the Arduino sketch...
by coderJeff
Aug 13, 2019 3:49
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 50
Views: 1843

Arduino Serial Communication Demo #4 (continued)

Arduino Serial Communication Demo #4 (continued) FYI, read more description of demo #4 in the previous post For this demo #4, we are using the following, hardware: .---------. KEY0 --->| |---> LED0 KEY1 --->| Arduino |---> LED1 KEY2 --->| |---> LED2 KEY3 --->| |---> LED3 '---------' | Serial | .---...

Go to advanced search