Search found 35 matches
- Mar 15, 2021 14:03
- Forum: Community Discussion
- Topic: FreeBASIC 1.07 Release Discussion
- Replies: 107
- Views: 28600
Re: FreeBASIC 1.07 Release Discussion
GDI gives the focus when starting the application SetFocus Thanks But I have not problem with focus with directx in the new version added in zip mode ,,I do not need SetFocus.focus run ok in directx..My new problem is the lost of pixel position graphics and my draw. I have done buttons graphics and...
- Mar 15, 2021 12:27
- Forum: Community Discussion
- Topic: FreeBASIC 1.07 Release Discussion
- Replies: 107
- Views: 28600
Re: FreeBASIC 1.07 Release Discussion
Discussion of FreeBASIC 1.07.x releases, issues, comments, remarks, etc. Full release announcement is posted at Version 1.07.0 released . Original opening post follows. Sorry SARG, this is a good topic to commandeer for the discussion :) -- Jeff ---- Hi coderJeff, Thanks for this new version. The l...
- Mar 15, 2021 11:54
- Forum: General
- Topic: Default BYVAL or BYREF Parameter Passing?
- Replies: 138
- Views: 39878
Re: Default BYVAL or BYREF Parameter Passing?
I Look in the help and there is nothing on this topic. Look at BYVAL or BYREF documentation page: Dialect Differences: In the -lang fb dialect, Byval is the default parameter passing convention for all built-in types except String and user-defined Type which are passed Byref by default. The Zstring...
- Mar 15, 2021 2:04
- Forum: General
- Topic: Default BYVAL or BYREF Parameter Passing?
- Replies: 138
- Views: 39878
Re: Default BYVAL or BYREF Parameter Passing?
Default BYVAL or BYREF Parameter Passing? One issue for programmers that keeps coming up in different ways is the changed default BYVAL/BYREF paraneter passing expectation. In the 0.17-final release, the default is BYVAL for -lang fb. For those who may not know, in previous versions it was BYREF. T...
- Mar 11, 2021 16:32
- Forum: Beginners
- Topic: RUN/SHELL/EXEC
- Replies: 16
- Views: 3609
Re: Re:
Since afaik there is only an ascii version, you'd have to use utf8 manifesting (win10 1905+). But I don't know if that works for win 3.1x calls. Did you test? No, I don't have a Win10 machine at hand right now. Utf8 should only be a problem if you use non-Ansi executable names. I need an asynchrono...
- Mar 11, 2021 15:56
- Forum: Beginners
- Topic: RUN/SHELL/EXEC
- Replies: 16
- Views: 3609
Re: Re:
Since afaik there is only an ascii version, you'd have to use utf8 manifesting (win10 1905+). But I don't know if that works for win 3.1x calls. Did you test? No, I don't have a Win10 machine at hand right now. Utf8 should only be a problem if you use non-Ansi executable names. I need an asynchrono...
- Mar 11, 2021 15:55
- Forum: Beginners
- Topic: RUN/SHELL/EXEC
- Replies: 16
- Views: 3609
Re: RUN/SHELL/EXEC
ThanksMrSwiss wrote:AFAIK yes, if you want to return to the "initiating" (aka: calling) program.jmgbsas wrote:Is the Shell with start the only way?..
(not the only, but the simplest method)
- Mar 11, 2021 5:54
- Forum: Beginners
- Topic: RUN/SHELL/EXEC
- Replies: 16
- Views: 3609
Re: RUN/SHELL/EXEC
What's the difference, functionally, between these three commands? They all seem to do basically the same thing. Drop out to a shell, run a command, and pop back to the program when it's done. Skyler Is true ...All commands always wait wait and wait, always the same I need an asynchronous call ,,,,...
- Mar 08, 2021 18:51
- Forum: Sources, Examples, Tips and Tricks
- Topic: ExEvent - Extended ScreenEvent
- Replies: 2
- Views: 1735
Re: ExEvent - Extended ScreenEvent
So I needed an event-driven way to handle joystick input, sadly ScreenEvent doesn't offer this. So, I spent a few hours to create my own Extended Event function. It does everything ScreenEvent does (internally it uses ScreenEvent to handle the 'regular' events) but extends some and add joystick sup...
- Mar 08, 2021 1:23
- Forum: General
- Topic: ReDim an array within a type
- Replies: 7
- Views: 1595
Re: ReDim an array within a type
See the Redim documentation page: .....In some cases, it is necessary to specify parentheses around the expression (especially if the array expression itself contains parentheses) - see the examples below..... (the last example) For your code: redim (some(1).Vec1)(1 to 10) Thanks again and I could ...
- Mar 07, 2021 17:20
- Forum: General
- Topic: ReDim an array within a type
- Replies: 7
- Views: 1595
Re: ReDim an array within a type
See the Redim documentation page: .....In some cases, it is necessary to specify parentheses around the expression (especially if the array expression itself contains parentheses) - see the examples below..... (the last example) For your code: redim (some(1).Vec1)(1 to 10) Yes! Thanks a Lot!
- Mar 07, 2021 16:55
- Forum: Sources, Examples, Tips and Tricks
- Topic: Drawing a graph (libgoocanvas / GTK / Cairo)
- Replies: 10
- Views: 6940
Re: Drawing a graph (libgoocanvas / GTK / Cairo)
And, Where is the cairo commands? cairo_show_text... cairo_move_to etc ???? I have an application with cairo and need to embed in gTK I am using the commands of cairo... And, where is your netiquette? You're in a more than 110 month old thread on drawing a graph, based on libgoocanvas (based on Cai...
- Mar 07, 2021 16:45
- Forum: General
- Topic: ReDim an array within a type
- Replies: 7
- Views: 1595
Re:
from http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgRedim Redim cannot be used on arrays contained in UDTs (user-defined Types), because currently only fixed-size arrays are supported in UDTs. I think you can give the UDT an array pointer, and then allocate a new array for each UDT instance edi...
- Feb 22, 2021 22:04
- Forum: Sources, Examples, Tips and Tricks
- Topic: Drawing a graph (libgoocanvas / GTK / Cairo)
- Replies: 10
- Views: 6940
Re: Drawing a graph (libgoocanvas / GTK / Cairo)
And, Where is the cairo commands?
cairo_show_text...
cairo_move_to etc ????
I have an application with cairo and need to embed in gTK I am using the commands of cairo...
cairo_show_text...
cairo_move_to etc ????
I have an application with cairo and need to embed in gTK I am using the commands of cairo...
- Jan 23, 2021 22:53
- Forum: Community Discussion
- Topic: VSCode extension for BASIC(modified VBS)
- Replies: 16
- Views: 5084
Re: VSCode extension for BASIC(modified VBS)
yes, I do it Thanks this is my lunch.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations":...