In my function, a wide string is returned by calculating the parameter. but
```
Function routine(array() As Integer) As WString
do something
End Function
```
says
```
a.bas(1) error 28: Expected pointer in 'Function routine(array() As Integer) As WString'
```
so how to fix it? Thanks
Search found 260 matches
- Mar 29, 2022 14:49
- Forum: General
- Topic: return wide string from function?
- Replies: 5
- Views: 593
- Mar 24, 2022 12:26
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 912
- Views: 137262
Re: VisualFBEditor - IDE for FreeBasic
not to be offensive, just be curious a cross-platform GUI lib is a hark work. as far as I know, MyFbFramework is the infrastructure of VisualFBEditor IDE which is yet another hard work. what is MyFbFramework's unique feature, or in other word, why MyFbFramework is used for VisualFBEditor? There are ...
- Mar 23, 2022 2:36
- Forum: Projects
- Topic: MyFbFramework - My FreeBasic Framework
- Replies: 81
- Views: 21945
- Mar 22, 2022 15:11
- Forum: Projects
- Topic: MyFbFramework - My FreeBasic Framework
- Replies: 81
- Views: 21945
Re: MyFbFramework - My FreeBasic Framework
I, a lazybone, hope that someday we can use little code, for example ``` Grid1.Rows.Item(0)->Text(1) = "Row 1 Column 2" ``` becomes ``` Grid1[0, 1] = "Row 1 Column 2" ``` or ``` Grid1[0, 1].text = "Row 1 Column 2" Grid1[0, 1].font = Font(fontname, fontsize, fontcolor, ....
- Mar 21, 2022 9:08
- Forum: Projects
- Topic: MyFbFramework - My FreeBasic Framework
- Replies: 81
- Views: 21945
Re: MyFbFramework - My FreeBasic Framework
Thanks 2 questions 1. is it possible to set x or y range for chart by code or in the VisualFBEditor. For example, a chart always sets 0<= y <200 kg even if the current plotting is for rabbits' weight, on the same time, other charts involves in human/horse's weight. A same y-axis range is useful for ...
- Mar 18, 2022 4:21
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 912
- Views: 137262
Re: VisualFBEditor - IDE for FreeBasic
or add a table to reveal the corresponding version of VisualFBEditor/MyFbFramework/fbc
- Mar 17, 2022 9:18
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 912
- Views: 137262
Re: VisualFBEditor - IDE for FreeBasic
is there latest pre-compiled binary of VisualFBEditor for windows?
Thanks
Thanks
- Feb 23, 2022 10:34
- Forum: Community Discussion
- Topic: What are you using FB for and what features do you use most?
- Replies: 62
- Views: 8261
Re: What are you using FB for and what features do you use most?
I really HATE BASIC's MID$/LEFT$/RIGHT$ which are too clumsy, hard to perform some operations Pascal has a similar function Copy(). With the definitions of strings and how they are represented by variables in these languages, how do you propose string manipulation should be done? There is a saying ...
- Feb 23, 2022 6:56
- Forum: Community Discussion
- Topic: What are you using FB for and what features do you use most?
- Replies: 62
- Views: 8261
Re: What are you using FB for and what features do you use most?
In one word, FB is only used to remind me of my youth. TLDR, and it may have words let someone feel be impolited and insulted, but this is not my intention, I just write my thought. I learned BASIC in my highschool, then I used QBasic and QB 4.5, yes DOS is the mainstream at that time, in my univers...
- Jan 14, 2022 3:28
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 275805
Re: FBGUI library for Windows 2
off-topic: PascalABC.NET is really a langauge which needs less typing but with tons of .NET libraries supporting I found a simple document in English https://www.garychike.com/images2/PascalABCNet%20en-US.pdf It turns out he did give the needed information in comment. I ignored it since first sight ...
- May 22, 2021 13:22
- Forum: General
- Topic: Is there any example about writing Python extension with FBC?
- Replies: 23
- Views: 3132
Re: Is there any example about writing Python extension with FBC?
you can write DLL and call the functions in DLL via, for example, ctypes
- Feb 15, 2021 13:26
- Forum: General
- Topic: Fortran interoperation with FBC
- Replies: 5
- Views: 885
Re: Fortran interoperation with FBC
``` $ gfortran.exe -c m66inv.f90 m66inv.f90:33:23: 33 | LOGICAL :: M66INV | 1 ...... 54 | CALL M66INV (MAT, MATINV, OK_FLAG) | 2 Error: 'm66inv' at (1) has a type, which is not consistent with the CALL at (2) ```
- Jan 24, 2021 7:17
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 912
- Views: 137262
Re: VisualFBEditor - IDE for FreeBasic
I have met many so-called VB6-compatible xxBASIC. But all turns out to be a liar.JohnK_RQ wrote:
TwinBasic, which is 100% compatible with VB6, should be out in February, so I don't think about it.
- Aug 03, 2020 14:00
- Forum: Projects
- Topic: COMWrapperBuilder tool
- Replies: 11
- Views: 2591
Re: COMWrapperBuilder tool
I am still puzzled. A step by step tutorial could be better
- Jul 18, 2020 10:25
- Forum: Libraries & Headers
- Topic: libs 32/64 windows only to execute exe/dll from memory not from disk
- Replies: 8
- Views: 7379
Re: libs 32/64 windows only to execute exe/dll from memory not from disk
win10 reports it as Trojan: Win32/Mamson.A!rfn