Search found 159 matches

by PeterHu
Apr 26, 2024 0:37
Forum: Libraries & Headers
Topic: mdTypes
Replies: 24
Views: 8089

Re: mdTypes

In this case I've tested the posted code (with the IDE VisualFBEditor https://github.com/XusinboyBekchanov/VisualFBEditor ) with the latest 1.20.0 for Windows (fbc32 and fbc64). The output looks fine for me also. Someone could be do something to add the code "mdCollection.bi" to the frame...
by PeterHu
Apr 25, 2024 8:45
Forum: Libraries & Headers
Topic: mdTypes
Replies: 24
Views: 8089

Re: mdTypes

1. 2 .0 or 1. 20 .0? Are you talking about the Recent-Git-Builds ? These are inofficial builds from the current state of the repository. These might have bugs or something has changed (breaking changes) so that the mdTypes code doesn't work anymore. The official releases are listed here: https://fr...
by PeterHu
Apr 25, 2024 8:03
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 891
Views: 130998

Re: VisualFBEditor - IDE for FreeBasic

Thank you both very much!
by PeterHu
Apr 24, 2024 4:57
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 891
Views: 130998

Re: VisualFBEditor - IDE for FreeBasic

May I ask is there any barcode related component/example in mff or VisualFBEditor?
by PeterHu
Apr 20, 2024 0:04
Forum: Libraries & Headers
Topic: mdTypes
Replies: 24
Views: 8089

Re: mdTypes

1. 2 .0 or 1. 20 .0? Are you talking about the Recent-Git-Builds ? These are inofficial builds from the current state of the repository. These might have bugs or something has changed (breaking changes) so that the mdTypes code doesn't work anymore. The official releases are listed here: https://fr...
by PeterHu
Apr 19, 2024 11:19
Forum: Libraries & Headers
Topic: mdTypes
Replies: 24
Views: 8089

Re: mdTypes

Thank you for the reply.

I mean fbc version 1.2.0 ,both 32 bit and 64 bit.The most recent version (April 7,2024).
by PeterHu
Apr 19, 2024 3:08
Forum: Libraries & Headers
Topic: mdTypes
Replies: 24
Views: 8089

Re: mdTypes

The goal of this project is to create a class structure, that is almost similar to Java. Noteworthy are the collection classes. These allow you to add almost all FreeBASIC datatypes (except Integer - use Long or mdInteger instead) and own types into generic lists and maps. Example code for a mdList...
by PeterHu
Apr 08, 2024 15:29
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 269
Views: 25169

Re: Freebasic 1.20.0 Development

fxm wrote: Apr 08, 2024 14:20 No, it alsp works.
(have you refreshed your mff page?)

Check your fbc.exe:

Code: Select all

Print __FB_BUILD_DATE_ISO__
2024-04-07

You are so right.Thanks a lot.
by PeterHu
Apr 08, 2024 14:00
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 269
Views: 25169

Re: Freebasic 1.20.0 Development

Hello, when compiling this example using compiler 1.20.0 dated 04/01/2024, it gives the error: #include once "windows.bi" Private Function GetRed(FColor As Long) As Integer Return CUInt(FColor) And 255 End Function Private Function GetGreen(FColor As Long) As Integer Return CUInt(FColor) ...
by PeterHu
Mar 30, 2024 7:23
Forum: Beginners
Topic: array initialization
Replies: 8
Views: 401

Re: array initialization

I learnt from this post much more than I expected.

Thank you all.
by PeterHu
Mar 29, 2024 1:39
Forum: Beginners
Topic: array initialization
Replies: 8
Views: 401

Re: array initialization

Thank you. Below code works now. '''Error: Var-len strings cannot be initialized in ''''dim shared fruitname(0 to 2) as string => {"apple", "orange", "banana"}' dim shared fruitname(0 to 2) as string * 20 => {"apple", "orange", "banana"} ? ...
by PeterHu
Mar 29, 2024 1:13
Forum: Beginners
Topic: Question about mdTypes
Replies: 2
Views: 194

Re: Question about mdTypes

Thank you so much!

I added 'once' into mdenumeration.bi as a local update and now it seems everything is great.
by PeterHu
Mar 28, 2024 8:23
Forum: Beginners
Topic: Question about mdTypes
Replies: 2
Views: 194

Question about mdTypes

Coding with mdTypes https://www.freebasic-portal.de/tutorials/using-mdtypes-en-108-s3.html as below,it works great,but when I uncommented lines marked as #1,#2,#3 and #4,the compiler produced a lot of errors.I have no clue what happened behind.Is it something related to macros? Thanks for the help i...
by PeterHu
Mar 28, 2024 3:09
Forum: Beginners
Topic: array initialization
Replies: 8
Views: 401

array initialization

I could not understand why in sub s1() the array is not availbe yet as code shown below. And also how to declare a const array in module level as const fruitname(0 to 2) as string=>{...} Help would be appreciated. dim fruitname(0 to 2) as string => {"apple", "orange", "banan...