Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't compile Wizard's Castle which compiles on QB 7.1 #235

Open
jasonbrianhall opened this issue Mar 2, 2023 · 2 comments
Open

Won't compile Wizard's Castle which compiles on QB 7.1 #235

jasonbrianhall opened this issue Mar 2, 2023 · 2 comments

Comments

@jasonbrianhall
Copy link

QB64 info (please complete the following information):
Using the latest version of QB64; I'm trying to compile https://github.com/jasonbrianhall/wizardscastle/blob/main/original_source/wizard.bas

Describe the bug
Command not implemented

1055 DEF FNA (Q) = 1 + INT(RND(1) * Q)

To Reproduce
git clone https://github.com/jasonbrianhall/wizardscastlle
cd wizardscastle/original_source
qb64 -c wizard.bas

Expected behavior
I expect the code to compile. The code compiles on Quick Basic 7.1 for MS-DOS.

@GeorgeMcGinn
Copy link

Single line DEF FN not supported by QB64. You will need to convert this to a FUNCTION.

See: https://qb64phoenix.com/qb64wiki/index.php/Keywords_currently_not_supported_by_QB64

@SteveMcNeill
Copy link
Contributor

https://qb64phoenix.com/forum/showthread.php?tid=2139 -- converted to run on QB64PE. (QB64PE is the updated version of this now defunct and out of service fork of QB64. See details at our forums via the link above.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants