1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-09-20 04:24:45 +00:00
Commit graph

113 commits

Author SHA1 Message Date
boxgaming
10bac0aa35 Minor fix to Put keyword 2024-01-08 12:08:52 -06:00
boxgaming
b4574e9876 Fix for parser error when IF statement follows ":" separator (#79). Fix for parser error for conditional keywords (#85). Removed obsolete FromJSON, ToJSON keywords. 2023-09-29 09:35:29 -05:00
boxgaming
1aa1ee17a6 added support for misc low-hanging fruit keywords (#78) 2023-06-19 17:48:17 -05:00
boxgaming
fb0af807b2
Merge pull request #71 from boxgaming/v0.7
V0.7
2023-06-14 10:44:57 -05:00
boxgaming
3bc5502258 Fixed Locate bug introduced by new custom font functionality 2023-06-14 10:17:25 -05:00
Fellippe Heitor
71fb48c14b Allow GET to read from a file into a STRING
```dim a$
open "test.txt" for binary as #1
a$=space$(lof(1))
get #1,,a$
print a$
close
```
2023-06-01 01:21:37 -03:00
Fellippe Heitor
1f20565471 Allows CLOSE to be called without parameters
CLOSE should invalidate all open handles when called with no parameters;
2023-06-01 00:30:34 -03:00
grymmjack
a4ddafb5c8 Added type validation - when fail use default 2023-05-31 17:01:56 -04:00
grymmjack
7faf4a4e85 Added support for decay and gain 2023-05-31 16:52:11 -04:00
grymmjack
3f6454c134 Added QB SOUND keyword with validation and support for additional shapes as provded by the WebAudio API OscillatorNode object. 2023-05-30 20:09:23 -04:00
boxgaming
565c1369b9 updated primt method to prefix non-negative numbers with a space character 2023-05-25 18:45:52 -05:00
boxgaming
c005873aa1 wrap text lines longer than display in print method. fixed input method to work with variable width fonts 2023-05-17 00:50:18 -05:00
Fellippe Heitor
e8b01ca60c
Updating x seems necessary here.
Wonder why it was commented out. That line is still in the live version at qbjs.org; will do some research, sorry for the mess.
2023-05-13 17:54:51 -03:00
Fellippe Heitor
c3b6e10955
Prevents printing offscreen
Similar to QB64's makefit(), maybe a tad too simplified.
2023-05-13 17:33:20 -03:00
Fellippe Heitor
551fd8ee43
Advance row when printing on next column if width reached 2023-05-13 17:12:22 -03:00
boxgaming
d709d1fa9e removed unused code 2023-05-13 09:02:32 -05:00
David W. Box
eb605ac9f7 Added support for _MouseWheel 2023-05-13 08:48:36 -05:00
boxgaming
ab72bb6e74 Added support for loading fonts from urls or virtual file system. Updated Line logic to use the same width and height as QBasic when in block mode (e.g. B, BF). 2023-05-12 07:20:45 -05:00
boxgaming
d5c0cf9f13 font support updates 2023-04-26 17:10:46 -05:00
boxgaming
bb4b354379 added support for custom fonts 2023-04-18 14:27:09 -05:00
boxgaming
2bf17466d9 implemented screen cache to improve performance of PSet-intensive programs 2022-11-21 09:42:27 -06:00
boxgaming
fb4d246578
Merge pull request #36 from WFBarnes/main
Fixed slope bug in lineStyle for diagonal lines.
2022-11-01 16:59:39 -05:00
William Barnes
3609741b28 Fixed slope bug in lineStyle for diagonal lines. 2022-11-01 00:26:07 -04:00
boxgaming
2466482f59 miscellaneous 0.6.0 fixes 2022-10-31 22:55:08 -05:00
boxgaming
9058e9c536 File I/O Support - Part 2 2022-10-27 09:04:15 -05:00
boxgaming
6d8fa317df Initial File I/O support - excluding RANDOM 2022-09-17 11:50:08 -05:00
boxgaming
230e7ba591 post-0.5.0 release fixes 2022-07-08 15:01:39 -05:00
boxgaming
73bf11f3c0 updated to fix auto-limit functionality for "limitless" long running loops 2022-07-06 10:14:06 -05:00
boxgaming
914212a564 Merge branch 'main' of https://github.com/boxgaming/qbjs 2022-06-23 08:55:34 -05:00
boxgaming
c19cbc10fc Parsing and error handling improvements 2022-06-23 08:43:19 -05:00
William Barnes
8c4e324cb4 Fixed spacing issue. 2022-06-22 01:14:10 -04:00
William Barnes
a7a0fbedbb Framed accommodations for Screen 1. 2022-06-22 00:41:47 -04:00
William Barnes
62153b8001 Tamed the horizontal growth of qb-lang.js. 2022-06-19 14:11:53 -04:00
William Barnes
3a133d85d9 Tweaked threshold value in Paint. 2022-06-18 02:02:52 -04:00
William Barnes
c418b6083e Added keywords: Date$, CINT, CDBL, CLNG (, CSNG - partial) 2022-06-15 23:26:28 -04:00
William Barnes
f5fc0c9cd3 Added keywords: _Readbit, _Setbit, _Resetbit, _Togglebit. 2022-06-15 14:59:47 -04:00
William Barnes
181d7ac281 Added keywords: _Strcmp, _Stricmp 2022-06-15 14:31:57 -04:00
William Barnes
68ae74e5ee Added gradian conversion keywords. 2022-06-15 14:16:49 -04:00
William Barnes
ebc7c02b5a Added keywords: _Hypot, _Ceil, _Shl, _SHr 2022-06-15 14:05:04 -04:00
William Barnes
4d092eb680 Added remaining trig and hyperbolic functions. 2022-06-11 12:04:55 -04:00
boxgaming
a528e50b81 Merge branch 'main' of https://github.com/boxgaming/qbjs 2022-06-10 15:43:26 -05:00
boxgaming
19284db6d0 updated to allow data statements anywhere and true label format 2022-06-10 15:35:28 -05:00
William Barnes
4c98443861 Cleaned up code, alphabetized messy sections, etc. 2022-06-09 18:48:29 -04:00
William Barnes
249e527cda Introduced _screenDiag constant to adjust circle radius. 2022-06-09 15:14:24 -04:00
William Barnes
abaa85e42e Removed unneeded dummy variable. 2022-06-09 14:24:30 -04:00
William Barnes
7c78d4bcf6 Circle thickness increases with size to offset antialiasing artifacts. 2022-06-09 14:22:46 -04:00
William Barnes
ef311ba9b7 Streamlined bit treadmill helper function. 2022-06-01 13:18:24 -04:00
William Barnes
9334724b2d Prototyped styled lines. 2022-06-01 03:25:14 -04:00
William Barnes
fdfbf2816f Debugged RND. 2022-05-30 16:06:18 -04:00
William Barnes
530b53c224 Working on arguments for RND. 2022-05-30 09:24:11 -04:00