flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > IRP parameter inconsistency with default value

Author
Thread Post new topic Reply to topic
bitRAKE



Joined: 21 Jul 2003
Posts: 4022
Location: vpcmpistri
bitRAKE 07 Mar 2013, 03:13
I want to first say that I love to new features.

Slight inconsistency:
Code:
irp a=7, { display `a }
display 13,10
irp a=7,, { display `a }
display 13,10
irp a=7,5,6,,8,9 { display `a }    
Output:
Code:
77
56789    
Expected Output:
Code:
7
77
56789    
Haven't checked but it probably effects IRPS too.

Haven't read all the documentation, but maybe it isn't documented except on the MACRO parameter list. Really useful for IRP/IRPS though.

Thank you

_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 07 Mar 2013, 03:13
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 08 Mar 2013, 11:34
Thank you for the report, it's fixed in 1.71.08.

As for the IRPS, it is a different beast - you cannot have an empty value there, and so default value is also unsupported.
Post 08 Mar 2013, 11:34
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.