Jump to content

Recommended Posts

  • 1 month later...
  • 2 weeks later...
  • 1 month later...

new possibilities in Mad Pascal:


- RESULT returned by ZP for code with REGISTER modifier
- keep for code called from UNITs

 

I would show examples, but then @Wrathchild would get excited that the example is for the VIC-20 but not for the Atari.

 

Anyway it made it easier for me to code for the ROM.

  • Like 1
Link to comment
https://forums.atariage.com/topic/240919-mad-pascal/page/29/#findComment-5041478
Share on other sites

Hey zbyti, my friend, I am alive and well, thanks ?

I hope you are doing well, too.

 

I admit I am not so active for some time, but I will return to the scene. I see many new features in Mad Pascal, including great manual, maintained by you, I like it a lot.

I hope new version, 1.6.6, will be released soon by Tebe.

 

  • Like 1
Link to comment
https://forums.atariage.com/topic/240919-mad-pascal/page/29/#findComment-5041649
Share on other sites

If that's what I think it is, a more common notation (in my opinion)  would be 'static' type decoration on the variables or the procedure itself. Is 'keep' a known thing in pascal or did you invent it?

It would be more familiar to most if it were written something like:

 

procedure beep; 
var a,b : byte; static;

begin

 

or-

 

procedure beep; static;
  var a,b : byte;
begin

 

The first form also allows for variable specification as ''keep/static' on a per-variable basis.

 

*edit*

I see there is already a static in free pascal,  so maybe I don't see what keep is doing.

 

Edited by danwinslow
Link to comment
https://forums.atariage.com/topic/240919-mad-pascal/page/29/#findComment-5043584
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...