Search found 1839 matches

by VANYA
Apr 20, 2024 10:13
Forum: General
Topic: Const error (Expected End-of-Line)
Replies: 8
Views: 470

Re: Const error (Expected End-of-Line)

New update:
Ok! Thanks!
by VANYA
Apr 20, 2024 3:05
Forum: General
Topic: Const error (Expected End-of-Line)
Replies: 8
Views: 470

Re: Const error (Expected End-of-Line)

lhs : The string variable or a string reference (not for example a string returned as a local copy). Maybe you need to write that constants are not supported for the indexing operation? Because I personally find this technical definition difficult to understand. I'm afraid to imagine what new users...
by VANYA
Apr 19, 2024 11:39
Forum: General
Topic: Const error (Expected End-of-Line)
Replies: 8
Views: 470

Re: Const error (Expected End-of-Line)

a string reference, not a string returned as local copy
The explanation in the help for this case is not very clear. But after you explained, it is now clear.
by VANYA
Apr 19, 2024 6:43
Forum: General
Topic: Const error (Expected End-of-Line)
Replies: 8
Views: 470

Re: Const error (Expected End-of-Line)

clear , fxm thanks!
by VANYA
Apr 19, 2024 4:54
Forum: General
Topic: Const error (Expected End-of-Line)
Replies: 8
Views: 470

Const error (Expected End-of-Line)

Hi all!

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]'
by VANYA
Mar 12, 2024 18:16
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 179
Views: 55363

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
by VANYA
Mar 10, 2024 13:53
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 179
Views: 55363

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...
by VANYA
Feb 28, 2024 13:08
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 269
Views: 25031

Re: Freebasic 1.20.0 Development

coderJeff wrote: Feb 28, 2024 9:47 No change to STRING, therefore no changes to CHR(0) in STRING

Proposed change is for STRING*N only.
ok!
by VANYA
Feb 28, 2024 3:58
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 269
Views: 25031

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...
by VANYA
Feb 27, 2024 6:50
Forum: Projects
Topic: FrontEnd GDB for freebasic
Replies: 63
Views: 12739

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
by VANYA
Feb 27, 2024 6:48
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 271229

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.
by VANYA
Dec 28, 2023 16:26
Forum: Beginners
Topic: About paths in FBEdit
Replies: 12
Views: 847

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.
by VANYA
Dec 27, 2023 2:31
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 271229

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...
by VANYA
Dec 26, 2023 15:07
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 271229

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 ...
by VANYA
Dec 26, 2023 14:58
Forum: Community Discussion
Topic: FreeBASIC 1.10.1 Release Discussion
Replies: 154
Views: 28080

Re: FreeBASIC 1.10.1 Release Discussion

@coderJeff , thanks for the new version!