Search found 373 matches

by speedfixer
Sep 18, 2019 20:15
Forum: General
Topic: ReDimming a Shared array
Replies: 5
Views: 188

Re: ReDimming a Shared array

True. Have used that method. As some of my programs get larger and more complex, I share the pointer in global space and keep the data in a single function as static. That function can deliver one member (typically a UDT) as the output of the function. I reserve the 0 index member as a keeper of inf...
by speedfixer
Sep 18, 2019 16:43
Forum: General
Topic: ReDimming a Shared array
Replies: 5
Views: 188

Re: ReDimming a Shared array

Another possibility: dim shared as type name(any) then change it later. I use this more often. Better: dim as type name (any) dim shared as type ptr pname < more code > redim name(0 to value) pname = @name(0) You must reassign pname on every redim - location of array may change. Your pointer can be ...
by speedfixer
Sep 09, 2019 3:35
Forum: Community Discussion
Topic: version -v
Replies: 4
Views: 1214

Re: version -v

Thank you.
by speedfixer
Aug 29, 2019 6:06
Forum: Documentation
Topic: ERR (edited)
Replies: 1
Views: 358

ERR (edited)

edit:

I see the reference to some functions returning a 32 long, but this implies others might return something else?
For example, PRINT is not on that list.


david
by speedfixer
Aug 27, 2019 20:03
Forum: Community Discussion
Topic: Posting: how to stop text reformatting
Replies: 0
Views: 635

Posting: how to stop text reformatting

Particularly, whitespace at front and multiple spaces in line, within a code block.

???

Yes, it took awhile at the beginning to learn to use the QUOTE, CODE, etc codes, way back.
The 'BBCode' link at right doesn't help.

david
by speedfixer
Aug 26, 2019 21:48
Forum: Documentation
Topic: TYPEOF() changes, or something new?
Replies: 5
Views: 489

Re: TYPEOF() changes, or something new?

Thank you.
by speedfixer
Aug 25, 2019 21:45
Forum: Documentation
Topic: TYPEOF() changes, or something new?
Replies: 5
Views: 489

Re: TYPEOF() changes, or something new?

Excellent.
You answered most of my questions/concerns.

It will be a bit before I am able to check this new TYPEOF for myself, but it sounds like it is much more as I felt it should be, now.

Thank you.

david
by speedfixer
Aug 25, 2019 20:20
Forum: Documentation
Topic: TYPEOF() changes, or something new?
Replies: 5
Views: 489

TYPEOF() changes, or something new?

At present (mine: Version 1.06.0 (02-17-2019) this code doesn't work: dim as integer aa dim as string bb dim as integer ptr ppi dim as string ptr pps aa = 1 bb = "l" ppi = @aa pps = @bb print typeof(aa) if ((typeof(aa)) = (typeof(bb))) then print "true" ' or any variation of (())...
by speedfixer
Aug 25, 2019 20:09
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 6720

Re: Array Descriptor (split from Wiki Improvements)

I agree. Pointer use is the programmer's problem. The language should give the freedom, not tie his hands. I think access should be provided, but not casually. These new array features are going to allow for some powerful extensions to FB. After doing all this work just for exposure, getting full ac...
by speedfixer
Aug 22, 2019 22:36
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 6720

Re: Array Descriptor (split from Wiki Improvements)

Does this mean that all arrays will have descriptors, exposed and available, in this future version?

david
by speedfixer
Aug 18, 2019 15:45
Forum: Projects
Topic: Articles on accessing RPi pins
Replies: 13
Views: 2095

Re: Articles on accessing RPi pins

I reconsider. Hardware is hardware. The Pi and others are full systems. Other platforms. Usually, we expect a library to solve a specific problem. To another software system. To hardware. To provide new/different functionality. Using FB on another platform can involve a different kind of assistance ...
by speedfixer
Aug 18, 2019 7:00
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 13205

Re: New array features

I apologize to everyone for yeilding to my childish reaction.
by speedfixer
Aug 18, 2019 6:55
Forum: Linux
Topic: Linux usb ports
Replies: 0
Views: 1072

Linux usb ports

Windows tries to keep the same port name when a USB device is plugged in. Usually a good thing, sometimes not. Linux just hands out a logical port assignment. Sometimes it isn't the one you expect. There are ways of locking down the port name, but it isn't worth the effort. And can be a pain later i...
by speedfixer
Aug 18, 2019 6:30
Forum: Linux
Topic: Is it possible to Hello world on a server
Replies: 55
Views: 2658

Re: Is it possible to Hello world on a server

The programs in /bin or at any other executable directory could be written in anything. Many are no more than bash or dash scripts.

The question still remains:

Are you trying to execute on your third party remote hosted WEB server?
What are you ALLOWED to run?

david

Go to advanced search