Blitz3D V1.118 now available
Blitz3D V1.118 is now available!
This update contains a few minor tweaks that have been requested by SGD devs (including myself):
* You can now use /* and */ to comment out a multi-line block of text. These tokens must appear at the start of the lines they appear on to be recognized, unlike C++ where they can appear anywhere. Note that block comments are not yet handled by the syntax highlighter in the IDE so will look just like 'normal' code. Syntax highlighting will be added to the parser at some point in the future when I get enough spare time. (Hope I haven't ruined your day Dabzy).
* You can now use :Int, :Float and :Str instead of %, # and $ when declaring variables in dialect "modern". The :Str form might look a bit weird, but that's what Blitz3d already uses for casting eg: 'Local t$=Str(n)' so I stuck with it....
This release also fixes a bug in the new modern dialect where ':' was geting mistaken for a type tag declarator instead of a statement separator, eg: in 'RenderScene:Present' etc.
Bye!
Mark
SHA256 hash of Blitz3D-V1.118.zip:
eb5b07c3f2ccf5142ddf866c1c4caec5c4ee262b6a3ab0bcc718a397a822cc02
Files
Get Blitz3D
Blitz3D
The classic Blitz3D compiler for PC.
Status | Released |
Category | Tool |
Author | Blitz Research |
More posts
- Blitz3D V1.117 now available!94 days ago
- Minor Blitz3D updates now up!Jul 22, 2024
- Blitz3Dx95-V1.109 for Windows 95 released!Jun 24, 2024
- Blitz3D-V1.114 now available and MORE!Jun 18, 2024
- Blitz3D-V1.113 now available!Jun 04, 2024
- Blitz3D V1.112 now available!Apr 14, 2024
- Blitz3D-V1.111 now available!Apr 13, 2024
- LibSGD AnnouncementFeb 28, 2024
Comments
Log in with itch.io to leave a comment.
i may be dumb but i tried to use the new :str statement, it throws a “expecting end of file”
i wrote it like this :
variable:Str = “idk”
btw please can you make it so that you can use arrays inside types
works!
thanks :]
what about multi dimentional arrays ?
is it the same or not?
From Blit3D docs:
But you can simulate a multidimensional array:
It has many limitations, but it can be useful in some situations
No, you're not dumb, well spotted, the new syntax only works for vars declared explicitly Local or Global, eg: 'Local tmp:Str ="Hello"'
I forgot you could also declare vars implicitly. I may fix this, but I'm actually tempted to remove 'implicit decls' like this from modern dialect completely.
thanks for responding :)
[quote]
Hope I haven't ruined your day Dabzy
[/quote]
Nope, I'm sure I can shoe-horn the updates into Launchpad! ;) hehehe
bro everytime if i run the application it gives me this error
Thanks, closer to C without pointer and without {}, is great to me. Even with {} is good, but this is BASIC.
Blitz3D is going to be a good looking BASIC, it is easy to read and easy to code . It is simple for those who do not have computer science education. It has few primitive types, it has array, has only function, and a user type that is loaded with doubly linked list. Can't be better than this. We can write thousands of useful programs, those that don't need more primitive types or OOP. Blitz3D samples and games and other simple BASIC software are the proof that light weight, relatively efficient programming software is possible with great results.
Thank you Mark, my dreams come true.
Btw, when I try to end the program in debug mode using the escape key, these 2 pieces of code work differently:
"These tokens must appear at the start of the lines they appear on to be recognized"
The */ has to be at the start of the line.
No, I mean this case breaks the End command:
And another example:
In this case we will not get the results from the DebugLog function in the debugger. But when we remove the comment, the Debug Log function will show the results
Oh, yes, you're right, sorry
Thanks
My bad, you should get an error if /* and */ are mismatched.
I would like a syntax like:
Int x=0
Float y=1.5
String z="Text"
i%=10
Int ii%=15