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

string #14

Open
pajero-atr opened this issue Apr 23, 2023 · 0 comments
Open

string #14

pajero-atr opened this issue Apr 23, 2023 · 0 comments

Comments

@pajero-atr
Copy link

pajero-atr commented Apr 23, 2023

txt="napis" ;deklaracja string w atascii, nie dodaje sam na końcu EOL = 155

.print txt ;pokazuje: napis

.ds txt ;rezerwuj pamięć w tym miejscu na długość string, tu 5 bajtów i wstaw tam: napis

inne deklaracje
txt="napis",253,"bell"* ;napis bell w inwersie
txt='ekranowe' ;deklaracja w kodach internal

przykład:
;dołącz 3 pliki
;p:\Atari\Coder\Game1\0.asm
;p:\Atari\Coder\Game1\1.asm
;p:\Atari\Coder\Game1\2.asm

txt1="p:\Atari\Coder\Game1"
txt2=".asm"

.rept 3,#
?txt=txt1,:1,txt2
icl ?txt
.endr

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

1 participant