The explanation in the help for this case is not very clear. But after you explained, it is now clear.a string reference, not a string returned as local copy
Search found 1837 matches
- Apr 19, 2024 11:39
- Forum: General
- Topic: Const error (Expected End-of-Line)
- Replies: 5
- Views: 176
Re: Const error (Expected End-of-Line)
- Apr 19, 2024 6:43
- Forum: General
- Topic: Const error (Expected End-of-Line)
- Replies: 5
- Views: 176
Re: Const error (Expected End-of-Line)
clear , fxm thanks!
- Apr 19, 2024 4:54
- Forum: General
- Topic: Const error (Expected End-of-Line)
- Replies: 5
- Views: 176
Const error (Expected End-of-Line)
Hi all!
I'm getting a compilation error in this code:
I'm getting a compilation error in this code:
Code: Select all
const s = !"\9\32"
? s[0]
error 3: Expected End-of-Line, found '[' in '? s[0]'
- Mar 12, 2024 18:16
- Forum: Community Discussion
- Topic: Audio library for FreeBasic - Features
- Replies: 179
- Views: 55213
Re: Audio library for FreeBasic - Features
I withdraw my question. It looks like the issue is a faulty compiler assembly. I will study this issue further on my computer.
This assembly puts everything together correctly: FreeBASIC-1.10.1-linux-x86_64.tar.gz
But this one assembles incorrectly: FreeBASIC-1.10.1-ubuntu-22.04-x86_64.tar.xz
This assembly puts everything together correctly: FreeBASIC-1.10.1-linux-x86_64.tar.gz
But this one assembles incorrectly: FreeBASIC-1.10.1-ubuntu-22.04-x86_64.tar.xz
- Mar 10, 2024 13:53
- Forum: Community Discussion
- Topic: Audio library for FreeBasic - Features
- Replies: 179
- Views: 55213
Re: Audio library for FreeBasic - Features
Hi angros47! Have you tried the fbsfx library with a compiler version higher than 1.09 на linux x86-64? I have a segmentation fault on simple code: #include "sfx.bi" #inclib "fbsfx" SoundmidiSet () PLAY "a4e4g4a4g4e4c2f4f4f2d4d4d2" The problem occurs in the amidi.bas fi...
- Feb 28, 2024 13:08
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24769
- Feb 28, 2024 3:58
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24769
Re: Freebasic 1.20.0 Development
Will this change affect null characters in the STRING type? Example: dim as string s = "bla" & chr(0) & "bla" ? Len(s) ' 7 If it does, it will upset me. I really hope that null characters can continue to be used in the string type. But I also understand that if you have t...
- Feb 27, 2024 6:50
- Forum: Projects
- Topic: FrontEnd GDB for freebasic
- Replies: 63
- Views: 12643
Re: FrontEnd GDB for freebasic
Updated:
1) Added hotkeys for frequently used functions
2) Added the ability to delete all breakpoints
3) Fixed navigation using the TAB key for the interface (window9 should be the latest version)
4) Fixed filled regions memory
1) Added hotkeys for frequently used functions
2) Added the ability to delete all breakpoints
3) Fixed navigation using the TAB key for the interface (window9 should be the latest version)
4) Fixed filled regions memory
- Feb 27, 2024 6:48
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270913
Re: GUI library for Windows \ Linux (window9)
Update:
A very small but useful fix. Previously, there was no navigation to gadgets (use the TAB key) that are disabled. Everything should be fine now.
A very small but useful fix. Previously, there was no navigation to gadgets (use the TAB key) that are disabled. Everything should be fine now.
- Dec 28, 2023 16:26
- Forum: Beginners
- Topic: About paths in FBEdit
- Replies: 12
- Views: 819
Re: About paths in FBEdit
Hi all!
Setup video Iup_FB_Editor: https://disk.yandex.ru/i/A3e-c7TwNoLv7Q
Are you interested in how to set up help? Watch the video starting at 21m 41sec.
In the video, 2 help files are configured at once. And although this video is for Linux, you can easily do the same for Windows.
Setup video Iup_FB_Editor: https://disk.yandex.ru/i/A3e-c7TwNoLv7Q
Are you interested in how to set up help? Watch the video starting at 21m 41sec.
In the video, 2 help files are configured at once. And although this video is for Linux, you can easily do the same for Windows.
- Dec 27, 2023 2:31
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270913
Re: GUI library for Windows \ Linux (window9)
No, it does not work for pre-complied library. This is my steps It's all strange... I just checked, everything is working correctly on my side. Why are you using an old version of the library? But even the old version (the one you indicated) is built with Unicode support. Compare the sizes of the c...
- Dec 26, 2023 15:07
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 270913
Re: GUI library for Windows \ Linux (window9)
SARG wrote everything correctly. If doesn't work for you, then you may be doing something wrong. Try removing all window9 library files from the compiler folder. Then copy all the necessary files to the compiler folder, but in the window9.bi file uncomment the line '#Define UNICODE You can also try ...
- Dec 26, 2023 14:58
- Forum: Community Discussion
- Topic: FreeBASIC 1.10.1 Release Discussion
- Replies: 154
- Views: 27977
Re: FreeBASIC 1.10.1 Release Discussion
@coderJeff , thanks for the new version!
- Dec 09, 2023 6:14
- Forum: Community Discussion
- Topic: Debugging with Geany - cannot pass INPUT statements
- Replies: 2
- Views: 506
Re: Debugging with Geany - cannot pass INPUT statements
Geany IDE on Raspberry Pi with FB, debugging INPUT This will not work with Input, Sleep statements on Linux-like systems with programs linked to GDB via PIPE. If you want to debug these statements in a debugger, then: 1) use pure GDB in terminal 2) use Insight , if of course you can build it on Ras...
- Dec 08, 2023 4:38
- Forum: General
- Topic: Chess Engines
- Replies: 10
- Views: 1404
Re: Chess Engines
I got these compile errors. /opt/chess/source/stringlist.bi(668) warning 3(2): Passing different pointer types, at parameter 4 of QSORT() /opt/chess/source/sgui/sgui/sgui_drawing.bas(57) error 58: Type mismatch, at parameter 2 of SCREENINFO() in 'screeninfo ,h' /opt/chess/source/sgui/sgui/menu.bas(...