-
Re: twinBASIC programming - Beta releases
BETA 359 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: Select-Case Case statements now offer individual code folding blocks
- improved: IDE hints now expanded to include all code blocks
- added: IDE setting to control the visibility of IDE hints 'Show IDE Inline Code Hints' (default = when CTRL is pressed)
- fixed: newer versions of the IDE no longer block opening of earlier versions (versions prior to BETA 353) [ fafalone, discord ]
- fixed: Val() edge cases with hexadecimal input
- fixed: taking reference (ByRef) of control elements could fail [ fafalone, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 360 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (initial fixes) support for builds that have dependencies on UserControls within packages [ sokinkeso, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 361 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: IDE hints were interfering with the highlighting of selected code lines [ fafalone, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 362 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: compiler crash when editing a project in x64 that contained an Interface definition with a As Any param [ bclothier, discord ]
- fixed: some issues with the new paste indentation feature in the IDE [ fafalone, discord ]
-
Re: twinBASIC programming - Beta releases
Wayne is starting work this week on integrating the LLVM optimising compiler into twinBASIC.
Wayne says: "this coming week I'll be diverging slightly and starting some work on the LLVM integration.
I appreciate that there are still some big ticket things remaining, such as MDI support, and Printers support, but I hope you'll agree with me when I say that I believe we've been making good progress lately and now feels about the right time to start experimenting with LLVM."
-
Re: twinBASIC programming - Beta releases
Quote:
Originally Posted by
VB6 Programming
Wayne is starting work this week on integrating the LLVM optimising compiler into twinBASIC.
Wayne says: "this coming week I'll be diverging slightly and starting some work on the LLVM integration.
I appreciate that there are still some big ticket things remaining, such as MDI support, and Printers support, but I hope you'll agree with me when I say that I believe we've been making good progress lately and now feels about the right time to start experimenting with LLVM."
I don't quite understand the meaning of this passage.
-
Re: twinBASIC programming - Beta releases
LLVM is apparently what is needed for performance-optimized builds from the compiler. Right now performance lags behind VB6 performance optimized native code (but it's ahead of VB6 P-code), optimizing tB is expected to match and often exceed that.
Understanding it any more than that... good luck, lol
It creates intermediate representations, which I understand would be useful if you wanted to make a language then feed it into an existing compiler, but how it fits into where you have your own language and own compiler to optimize performance... I read a bunch of articles about it trying to figure that one out to no avail. I assume it makes sense to people who make languages and compilers, which isn't me.
-
Re: twinBASIC programming - Beta releases
Quote:
Originally Posted by
fafalone
LLVM is apparently what is needed for performance-optimized builds from the compiler. Right now performance lags behind VB6 performance optimized native code (but it's ahead of VB6 P-code), optimizing tB is expected to match and often exceed that.
Understanding it any more than that... good luck, lol
It creates intermediate representations, which I understand would be useful if you wanted to make a language then feed it into an existing compiler, but how it fits into where you have your own language and own compiler to optimize performance... I read a bunch of articles about it trying to figure that one out to no avail. I assume it makes sense to people who make languages and compilers, which isn't me.
I don't quite understand the meaning of this passage. :D
I still don't understand the relationship between LLVM and Wayne's compiler.
-
Re: twinBASIC programming - Beta releases
Wayne's compiler must be capable of emitting some interim code that LLVM can compile or recompile to more efficient native code. I am guessing here, someone please confirm.
-
Re: twinBASIC programming - Beta releases
Quote:
Originally Posted by
SearchingDataOnly
I don't quite understand the meaning of this passage. :D
I still don't understand the relationship between LLVM and Wayne's compiler.
tl;dr LLVM make .exe go faster. How? Me not know. 😂
-
Re: twinBASIC programming - Beta releases
Quote:
Originally Posted by
yereverluvinuncleber
Wayne's compiler must be capable of emitting some interim code that LLVM can compile or recompile to more efficient native code. I am guessing here, someone please confirm.
Is it possible to understand that Wayne's compiler compiles twinBasic code into "P-Code"?
-
Re: twinBASIC programming - Beta releases
Quote:
Originally Posted by
fafalone
tl;dr LLVM make .exe go faster. How? Me not know. 😂
LL Vroom vroom?
-
Re: twinBASIC programming - Beta releases
Quote:
Originally Posted by
SearchingDataOnly
Is it possible to understand that Wayne's compiler compiles twinBasic code into "P-Code"?
No, it compiles to native code. The tB unoptimized native code currently performs much better than VB6 P-Code, but slower than VB6 optimized native code.
Wayne shared some early benchmarks for LLVM optimized tB, it's very close to VB6 native code in performance, and greatly reduces exe size, with some room for improvement since he hadn't yet enabled support for CPU instruction sets like SSE.
Quote:
tB(debug-grade) ~400 per 5 seconds (code size: 1283 bytes)
tb(llvm) ~1280 per 5 seconds (code size: 276 bytes)
VB6(fastest) ~1250 per 5 seconds
for this test:
Code:
[ UseLLVM ]
[ ArrayBoundsChecks (False) ]
Private Function RunSieve(ByVal lSize As Long) As Long
Dim Bits() As Long ' changed from Byte to Long for now
Dim lFactor As Long
Dim lIdx As Long
Dim lCount As Long
'On Error Resume Next ' error handling not supported yet in our LLVM backend
lIdx = 0 'UBound(Bits)
If lIdx < lSize Then
ReDim Bits(0 To lSize) As Long
End If
lFactor = 3
Do While lFactor * lFactor <= lSize
If Not Bits(lFactor) Then
For lIdx = lFactor * lFactor To lSize Step 2 * lFactor
Bits(lIdx) = 1
Next
End If
lFactor += 2
Loop
lCount = -(lSize >= 2)
For lIdx = 3 To lSize Step 2
lCount += 1 - Bits(lIdx)
Next
Return lCount
End Function
Public Sub TestSieve()
Dim dblStart As Double
Dim lPasses As Long
Debug.Assert RunSieve(1000000) = 78498
dblStart = Timer
Do While Timer < dblStart + 5
RunSieve 1000000
lPasses += 1
Loop
Debug.Print "wqweto;" & lPasses & ";" & Format$(Timer - dblStart, "0.000") & ";1;faithful=no,bits=8"
End Sub
-
Re: twinBASIC programming - Beta releases
BETA 363 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: [HiddenModule].Int3Breakpoint now injects the breakpoint directly into the generated code, rather than via a call
- added: very early experimental implementation of LLVM codegen for Professional/Ultimate licence holders [ see discord for info ]
-
Re: twinBASIC programming - Beta releases
BETA 364 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: LLVM backend compiler now supports the Currency data type
-
Re: twinBASIC programming - Beta releases
BETA 365 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: LLVM backend compiler now supports the Boolean data type
-
Re: twinBASIC programming - Beta releases
BETA 366 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: localized strings using IDs above 32767 would cause a crash during building [ fafalone, discord ]
- fixed: (regression) 'Active Control' project contained an error [ fafalone, discord ]
- fixed: correction to handling when dot operator is split via a line continuation [ uiwoow, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 367 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (regression) errors in API declarations not showing at the definition in the IDE [ https://github.com//issues/1646 and https://github.com//issues/1633 ]
- fixed: IDE clipboard paste auto-indent incorrect handling of pasting of Else block [ fafalone, discord ]
- fixed: IDE clipboard paste auto-indent single-line-if handling [ https://github.com//issues/1642 ]
- fixed: assigning empty byte array to String causes runtime error [ https://github.com//issues/1623 ]
- improved: added 'Paste As Comment' feature (Ctrl-Alt-V, similar to old VS Code edition) [ krool, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 368 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: faster intellisense build times (approx halved)
- improved: intellisense data is now cached, giving much better response times for packages such as tbShellLib
-
Re: twinBASIC programming - Beta releases
When will multiple source files in a project be supported? For example, multiple bas files are saved in the hard disk directory. Facilitate multiple different projects to share the module. With one change, the other projects will become the latest version of the module.
-
Re: twinBASIC programming - Beta releases
BETA 369 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: faster general IDE performance (intellisense, syntax highlighting, error reporting) for many projects, particularly those containing many forms/UserControls/AXs
-
Re: twinBASIC programming - Beta releases
BETA 370 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (regression in BETA 369) use of ActiveX controls were causing a hard crash at design time
- improved: template '_Standard EXE (plus VBCCR)' has been updated to use Krools 64-bit compatible package of VBCCR
- removed: redundant code-workspace files from the IDE deployment that are no longer used
-
Re: twinBASIC programming - Beta releases
Now my browser can't download the latest release by clicking "Assets", could you provide a direct github download link address?
-
Re: twinBASIC programming - Beta releases
-
Re: twinBASIC programming - Beta releases
In the future if that happens, you can click on 'Tags' (next to the blue 'Releases' button right above on the left of the latest release), click the tag for the new release, and that should open to a page where 'Assets' is already expanded.
-
Re: twinBASIC programming - Beta releases
Quote:
Originally Posted by
OptionBase1
Yes, it works. Thank you very much, OptionBase1.
-
Re: twinBASIC programming - Beta releases
Quote:
Originally Posted by
fafalone
In the future if that happens, you can click on 'Tags' (next to the blue 'Releases' button right above on the left of the latest release), click the tag for the new release, and that should open to a page where 'Assets' is already expanded.
I tried your method, but it doesn't show a valid download link.
-
Re: twinBASIC programming - Beta releases
BETA 371 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: IDE packages list search feature was not working correctly [ Krool, discord ]
- fixed: IDE packages list was not alphabetically ordered [ Krool, discord ]
- fixed: some Implements-Via edge cases causing 'overloaded properties not allowed' errors in UserControls in some instances [ nextKast, discord ]
- improved: error diagnostic for 'overloaded properties not allowed' now includes the property name for clarity
- fixed: (regression since BETA 366) edge cases around parsing of line continuators [ https://github.com//issues/1652 ]
-
Re: twinBASIC programming - Beta releases
BETA 372 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- added: initial support for creating and using ADDINs for the twinBASIC IDE [ see Sample 10 and discord ]
-
Re: twinBASIC programming - Beta releases
BETA 373 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- added: IDE menu option Window > Reset Layout... for resetting the IDE panel layout data
- fixed: (regression) PROBLEMS panel would sometimes get stuck, unable to resize and toggle the content [ Tecman, private ]
- fixed: (regression) IDE would often add square brackets around enum values inappropriately [ fafalone, discord ]
- fixed: App.LastBuildPath would raise an error in built executables. now returns an empty string instead [ https://github.com//issues/1641 ]
-
Re: twinBASIC programming - Beta releases
BETA 374 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- added: (addin extensibility) DebugConsole.SetFocus method
- added: (addin extensibility) Host.ActiveEditors (collection of Editor objects, zero-based)
- added: (addin extensibility) Editor.Path property (read-only)
- added: (addin extensibility) Editor.Type property (read-only)
- added: (addin extensibility) Editor.SetFocus method
- added: (addin extensibility) Editor.Close method
- added: (addin extensibility) Editor.Save method
- added: (addin extensibility) CodeEditor.SelectedText property (read/write)
- added: (addin extensibility) CodeEditor.Text property (read/write)
- added: (addin extensibility) CodeEditor.ExecuteMonacoCommand method (e.g. 'actions.find')
-
Re: twinBASIC programming - Beta releases
BETA 375 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (regression) edge case where pasting code into the IDE could cause a full IDE freeze
- fixed: having an event definition as the last member of a class could cause a spurious "Unexpected end of procedure" compilation error [ Tecman, private ]
- fixed: some floating point codegen edge cases [ uiwoow, discord ]
- fixed: TLB internal syntax generator was not correctly handling line-feeds inside descriptions [ https://github.com//issues/1650 ]
- added: (addin extensibility) Project.Save method
- added: (addin extensibility) Project.Close method
- added: (addin extensibility) Project.Build method
- added: (addin extensibility) Project.Clean method
-
Re: twinBASIC programming - Beta releases
BETA 376 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbas...ag/beta-x-0376
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: parser edge case in handling of Scale special syntax, not allowing comment on same line [ AlienSoft, private ]
- added: (ide extensibility) Host.ToolWindows collection, allowing for creation of full HTML toolwindows (see updated Sample 10)
-
Re: twinBASIC programming - Beta releases
BETA 377 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: further intellisense performance improvements in large projects [ fafalone, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 378 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- added: (addin extensibility) support for chartjs (see www.chartjs.org) in ToolWindows (see Sample 11)
-
Re: twinBASIC programming - Beta releases
BETA 379 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: better error reporting when ActiveX control on a form/UC can't be matched to a referenced type library [ nextKast, private ]
- fixed: serialization problem with some VBP imported projects with long text data stored in FRX [ nextKast, private ]
- added: ${IdePath} environment variable for use in build path string in setting Project: Build Output Path
- improved: tB addin templates now use ${IdePath}\addins\${Architecture}\ for the default build path
-
Re: twinBASIC programming - Beta releases
BETA 380 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (addin extensibility) some issues marshalling Variants across to javascript, causing Sample 11 to fail when system decimal symbol is not a dot
-
Re: twinBASIC programming - Beta releases
BETA 381 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: (addin extensibility) ToolWindows now support embedding Monaco editors (see Sample 12)
-
Re: twinBASIC programming - Beta releases
BETA 382 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- added: (addin extensibility) AddinTimer class
- improved: (addin extensibility) modified Sample 11 chart demo to use the AddinTimer class rather than raw APIs
- fixed: some bugs involving copy/paste in the IDE
- improved: debugger now reports error '[DEBUGGER] error: no startup object is set.' when F5/play is used on a DLL with no startup object
-
Re: twinBASIC programming - Beta releases
BETA 383 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_383.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: debug console is no longer limited to 1000 lines of history (unlimited)
- improved: debug console history no longer affects overall IDE performance, regardless of history size
- added: debug console auto-scroll toggle button
- fixed: some internal issues in handling of LLVM compilations involving some SSE/AVX constants
-
Re: twinBASIC programming - Beta releases
BETA 384 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_384.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: (addin extensibility) Addin ToolWindows now use shadowDOM to isolate CSS
- added: (addin extensibility) ToolWindow.ApplyCss method (see samples 13 and 14)
- added: (addin extensibility) support for 'listview' and 'virtuallistview' elements that are backed by a virtual list view implementation for UI performance (sample 13/14)
-
Re: twinBASIC programming - Beta releases
BETA 385 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_385.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (IDE) cut/copy no longer empties the clipboard if there is no selection in the editor [ https://github.com//issues/1675 ]
- fixed: (IDE) incorrect intellisense in some scenarios involving variable initializers [ https://github.com//issues/1672 ]
- fixed: issue with Static fixed-length array bound evaluation in class modules [ https://github.com//issues/1668 ]
- fixed: (IDE) intellisense not showing for qualified enumerations when the enumeration is declared Private
- fixed: form/UC/PictureBox Scale property was not correctly updating internal cached values [ https://github.com//issues/1666 ]
-
Re: twinBASIC programming - Beta releases
BETA 386 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_386.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (regression) packages that rely on global variables could cause issues in compiled EXEs due to linker bug [ https://github.com//issues/1673 ]
- fixed: TypeName() of tb-implemented Collection object returns 'Object' from external callers such as VBA [ https://github.com//issues/1661 ]
-
Re: twinBASIC programming - Beta releases
BETA 387 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_387.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: (IDE) intellisense/hover involving enumeration values now includes the enumeration name in the qualifier [ https://github.com//issues/1649 ]
- fixed: (IDE) syntax highlighting and goto definition not working in some cases for constant expressions [ https://github.com//issues/1647 ]
- improved: (IDE) some auto-indent improvements for pre-existing blocks [ https://github.com//issues/1648 ]
- fixed: DirListBox was including the path elements in members such as List()/ListIndex etc [ nextKast, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 388 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_388.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: compiler now detects illegal array value assignments earlier in the compilation process [ Gary Miller, discord ]
- fixed: (regression) spurious Int3Breakpoint call inside the ActiveXExtender class, causing hard crash of some AX controls when no native debugger attached
- fixed: (regression since BETA 385) class static variables not allocated properly, causing lots of issues (particularly in VBCCR package)
-
Re: twinBASIC programming - Beta releases
BETA 389 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_389.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- added: (addin extensibility) Host.ActiveEditors.Open(path, lineNumber, columnNumber)
- added: (addin extensibility) access to the project filesystem (readonly initially)
- added: (addin extensibility) Host.FileSystem property (exposing RootFolder and ResolvePath methods)
- added: (addin extensibility) Host.CurrentProject.RootFolder property
- added: Sample 15 "twinBASIC IDE Addin (GlobalSearch)", demonstrating how to use the filesystem methods of the addin extensibility model
-
Re: twinBASIC programming - Beta releases
BETA 390 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_390.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (regression) built EXEs that are console applications could contain debugger messages printed to stdout [ https://github.com//issues/1679 ]
- fixed: accessing form positional properties was not triggering full load of form [ fafalone, discord ]
- improved: import from VBP now allows for malformed VBP with invalid linefeeds (\n instead of \r\n)
-
Re: twinBASIC programming - Beta releases
BETA 391 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_391.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: TextBox max length to match VB6 [ sokinkeso, discord ]
- fixed: ActiveX control persistence would sometimes calculate wrong ExtentX/Y values if the border of the UC had been changed via API methods, causing black bars in design mode [ Tecman, discord ]
- fixed: 'Automation Error' in some instances when using tb Built Ax controls in MS Access [ Tecman, discord ]
- fixed: unable to turn off compiler warning TB0016 'implicit creation of variable via ReDim' [ Tecman, discord ]
- added: (addin extensibility) Host.ChangedActiveEditor event
- added: (addin extensibility) HtmlElement.Remove() method for removing an HTML element from its parent container
- added: (addin extensibility) monaco widgets support via CodeEditor.AddMonacoWidget(), see sample 16
- added: (addin extensibility) CSS variables for use inside widgets: --monacoFontFamily, --monacoFontSize, --monacoGutterWidth
- added: (addin extensibility) CodeEditor.GetSelectionInfo(StartLine, StartColumn, EndLine, EndColumn)
- improved: (addin extensibility) HtmlElement.AddEventListener now takes an optional Data argument, accessible in the event callback via eventInfo.data
- added: (addin extensibility) Project.LoadMetaData/SaveMetaData methods for persisting state or other data from your addin inside the twinproj file
- added: (addin extensibility) Sample 16: TODO manager addin (monaco inline widgets)
-
Re: twinBASIC programming - Beta releases
BETA 392 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_392.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- improved: overall intellisense performance in larger projects
- fixed: final statement return-value optimization edge case, causing a final self-assignment (MyFunc = MyFunc) to incorrectly clear itself [ GCUser99, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 393 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_393.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: fixed-length arrays trying to use non-constant values in array bounds is now flagged as an error [ Tecman, discord ]
- fixed: (regression since BETA 356) mouse pointer caret cursor not showing when hovering over a textbox [ sokinkeso, discord ]
- added: (addin extensibility) Host.KeyboardShortcuts.Add(keyString, Callback) method for registering global IDE shortcuts
-
Re: twinBASIC programming - Beta releases
BETA 394 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_394.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: ListView ListItem.Selected property-let was not correctly updating the LVIS_FOCUSED flag [ sokinkeso, discord ]
- fixed: SW_SHOWWINDOW edge case causing modal windows owned by another process to close when the owner window is minimized [ sokinkeso, discord ]
- fixed: some internal issues when using Collection in an Implements-Via statement
- fixed: adding ListView items/columns and TreeView nodes could potentially cause a hard crash when the form is unloaded [ sokinkeso, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 395 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_395.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: missing codegen for set-assignment of UDT field that is a Variant dynamic array element [ FullValueRider, discord ]
- fixed: (regression since BETA 393) using Len()/LenB() in fixed length array bounds expressions was being detected as an error
- fixed: implicit Variant warning not triggered on ByVal parameters inside Declare statements [ https://github.com//issues/1680 ]
- fixed: intellisense not populating for ReDim myUDT. [ https://github.com//issues/1682 ]
- fixed: UserControl.PropertyChanged signature did not perfectly match VB6 [ https://github.com//issues/1681 ]
- fixed: having control arrays in a user control caused dispatch table problems [ nextKast, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 396 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_396.zip
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: implicit WithEvents fields created for Form/UC contained controls are now not bindable directly, only through the Form/UC implicit property-getter as per VBx
- fixed: (IDE) form property sheet was unintentionally showing an internal property 'InternalIsFirstResizeEventAfterLoad'
- added: initial support for importing PropertyPages from VBPs
- NOTE: PropertyPages are not yet fully supported, just imported!
-
Re: twinBASIC programming - Beta releases
BETA 397 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbas...E_BETA_397.zip
or https://github.com/twinbasic/twinbas...ag/beta-x-0397
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: (IDE) 'Run-time Error 5: Automation Error' pops up from the IDE when the system is awoken from suspended state
- fixed: Form.WindowState = vbNormal failing to restore the window when already maximized (also affecting IDE) [ https://github.com//issues/1634 ]
- fixed: (IDE) monitoring of active running shelled processes are now cleared when the compiler gets restarted [ fafalone, discord ]
- improved: (IDE) compiler services status notifications are now simplified into a single red/orange/green state in the bottom left status bar
-
Re: twinBASIC programming - Beta releases
BETA 398 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbasic/tags
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: some compiler/IDE edge cases around ANSI/BSTR/UTF8 conversions when handling documents [ nextKast, discord ]
- fixed: (IDE) min/max/restore/close buttons could disappear if the IDE is resized small [ DinyaZ, discord ]
- fixed: IConnectionPointContainer is now implemented for all tb Classes, even when no events are exposed by the class, to match VBx behaviour [ https://github.com//issues/1685 ]
-
Re: twinBASIC programming - Beta releases
-
Re: twinBASIC programming - Beta releases
BETA 399 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbasic/tags
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: black bars could appear in tB-UserControls hosted in VBA UserForms due to 'Zoom' feature [ Tecman, discord ]
- improved: 'ADMIN' status in the title bar is now smaller
- improved: tB Licence edition information now moved to the status bar rather than the titlebar
-
Re: twinBASIC programming - Beta releases
BETA 400 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbasic/tags
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: UserControl.Refresh not working when Windowless property is set to True
- fixed: some filesystem differences in Windows-on-Arm that prevented tB IDE from running [ Aliensoft, discord ]
- fixed: misleading 'CDecl' calling convention being reported on Win64 type library viewing [ Digimaloko, discord ]
- fixed: some initial issues identified with Windowless UCs [ fafalone, discord ]
- fixed: bizarre edge case in prettification of inline comment blocks [ fafalone, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 401 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbasic/tags
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
- fixed: FileListbox.Selected (property-let) not working correctly when MultiSelect = False [ nextKast, discord ]
- fixed: Frame.Enabled (property-let) could cause a frame border to be drawn even when BorderStyle is None [ sokinkeso, discord ]
- fixed: hovering over an object variable when debugging could cause a debugger crash if the object doesn't support IDispatch [ AlienSoft, discord ]
- improved: hovering over a function call with arguments whilst debugging should now evaluate the full function call expression [ AlienSoft, discord ]
-
Re: twinBASIC programming - Beta releases
BETA 402 of the twinBASIC programming IDE is now available...
Download from here... https://github.com/twinbasic/twinbasic/releases
- Click on "Assets" for the latest release
- Download and Extract the ZIP file into a local folder
- Then run the twinBASIC.exe from that local folder
How to install https://nolongerset.com/how-to-install-twinbasic/
If you have difficulties finding the download try here https://github.com/twinbasic/twinbasic/tags
Changelog
- WARNING: there are known memory leaks in this version, so memory usage will be higher than usual
- fixed: (IDE) code selector dropdown scrollbars are now visible [ fafalone, discord ]
- fixed: (IDE) auto case-correction of datatype symbols used outside of procedures not working [ Tecman, discord ]