Search found 50 matches

by Schrubber
May 08, 2015 9:28
Forum: Community Discussion
Topic: What happens next with OOP in FreeBasic and when? :)
Replies: 24
Views: 6247

Re: What happens next with OOP in FreeBasic and when? :)

I think every programming language has to evolve! As well FreeBasic does not take off. I think the MS-QBASIC or MS-PDS never had the potential as FreeBasic! Running stop only on DOS and DOS excuse, is dead and nothing else, thank goodness! Stone me or not that's just my opinion! FreeBasic never Java...
by Schrubber
May 05, 2015 6:58
Forum: Community Discussion
Topic: What happens next with OOP in FreeBasic and when? :)
Replies: 24
Views: 6247

Re: What happens next with OOP in FreeBasic and when? :)

It is not my intention that FreeBASIC all the things, the C ++ can.
I think it's just too bad once you get the OOP uses functions, it's just a simple inheritance possible.

There are already ways that you can achieve target, the question is just whether easy or difficult.

greeting
Schrubber
by Schrubber
May 04, 2015 14:29
Forum: Community Discussion
Topic: What happens next with OOP in FreeBasic and when? :)
Replies: 24
Views: 6247

Re: What happens next with OOP in FreeBasic and when? :)

I mean multiple inheritance. The Qt Framework is in C ++ written, and C ++ can multiple inheritance, and is also used. Direct access to the libraries would be nice but it is unlikely. I am thinking of inline stories, templates, operators, to which one has no access. template<typename T> Type; // no ...
by Schrubber
May 04, 2015 9:54
Forum: Community Discussion
Topic: What happens next with OOP in FreeBasic and when? :)
Replies: 24
Views: 6247

What happens next with OOP in FreeBasic and when? :)

What happens next with OOP in FreeBasic and when? :) I would be very interested to know how it goes with OOP in FB. The time it is unfortunately only possible to bequeath a UDT, It is planned to change that or it stays that way? Why I want to know that. I play with the Qt classes around and it would...
by Schrubber
Feb 28, 2015 14:34
Forum: General
Topic: __$fb_structsizecheck
Replies: 2
Views: 914

Re: __$fb_structsizecheck

Hello,

I've seen too late, sorry!

Code: Select all

I should just take the corresponding button :)
nice weekend!

Gruß
by Schrubber
Feb 28, 2015 14:05
Forum: General
Topic: __$fb_structsizecheck
Replies: 2
Views: 914

__$fb_structsizecheck

Hello, I found a little mistake! i hope Linux 64Bit Compiler 1.0.2 type FBInt as integer<32> type UTD1 public: declare constructor() protected: as UTD1 ptr d '<- not Ok private: as ushort posted : 1 '<- not Ok end type type UTD2 extends UTD1 public: declare constructor(as FBInt) declare destructor()...
by Schrubber
Feb 08, 2015 16:20
Forum: General
Topic: Multiline comments
Replies: 11
Views: 2675

Re: Multiline comments

thanks to all,

I only have a little tormented me with regular expressions in the context of QRegEx while I noticed just that the compiler stumbles!

Gruß
by Schrubber
Feb 04, 2015 13:21
Forum: General
Topic: Multiline comments
Replies: 11
Views: 2675

Re: Multiline comments

Hi counting_pine, which behaves as in c /' dim as string text = "'/" '/ warning 12(0): Missing closing quote in literal string error 118: Cannot modify a constant in 'dim as string text = "'/"' /* char text[] = "*/"; */ but this is not recognized as correct in c. /' dim...
by Schrubber
Feb 04, 2015 11:55
Forum: General
Topic: Multiline comments
Replies: 11
Views: 2675

Multiline comments

Hello, I do not know if the bug is already known or not so I post it a try. /' dim as string text = "'/" '/ warning 12(0): Missing closing quote in literal string error 118: Cannot modify a constant in 'dim as string text = "'/"' /' dim as string text = "/'" '/ error 13...
by Schrubber
Oct 29, 2014 14:14
Forum: General
Topic: #macro and #if
Replies: 4
Views: 1320

Re: #macro and #if

Hy,

thanks @SARG, @counting_pine

I will implement the junk as a function.

Gruß
Schrubber
by Schrubber
Oct 29, 2014 13:52
Forum: General
Topic: #macro and #if
Replies: 4
Views: 1320

Re: #macro and #if

Hello, these were only one simplistic examples. #macro machwas(DTYPE, D) #if typeof(DTYPE) = typeof(DOUBLE) iif(abs(cast(DTYPE, iif(cast(DTYPE, D) >= 0, cast(DTYPE, D), cast(DTYPE, -D)))) <= 0.000000000001, true, false) #elseif typeof(DTYPE) = typeof(SINGLE) iif(abs(cast(DTYPE, iif(cast(DTYPE, D) >=...
by Schrubber
Oct 29, 2014 13:10
Forum: Libraries Questions
Topic: [solved] Build 64 bit libs on 32 bit XP !
Replies: 7
Views: 2974

Re: Build 64 bit libs on 32 bit XP !

ich denke Dir fehlen Rechte, lesen, schreiben, lachen, was auch immer. I think you lack rights (laws), read, write, laugh, whatever. Linking static library: E:\downloads\windows\programmierung\GUI\FLTK\fltk-1.3.2\lib64\libFLTK64static.a ar.exe: E:\downloads\windows\programmierung\GUI\FLTK\fltk-1.3.2...
by Schrubber
Oct 29, 2014 12:56
Forum: General
Topic: #macro and #if
Replies: 4
Views: 1320

#macro and #if

Hello,

Why does this not go?

Code: Select all


#macro machwas(DTYPE, D)

#if typeof(DTYPE) = typeof(single)
    cast(single, D)
#endif

#endmacro

    dim as double cr = 0.0045
    dim as single e

    e = machwas(single, cr)

Thanks
Schrubber
by Schrubber
Sep 29, 2014 9:57
Forum: Linux
Topic: Serial Support Linux
Replies: 2
Views: 1334

Re: Serial Support Linux

Hello,

In Fedora 20 you must be a member of the group dialout. .

Check out who has access ls-l /dev/ttyS*

crw-rw ----. 1 root dialout 4, 64 September 29 11:30 /dev/ttyS0

Add your group to the dialout group and restart your computer.

Gruß
Schrubber