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

Added get_text_length opcode #172

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Added get_text_length opcode #172

merged 1 commit into from
Jul 30, 2024

Conversation

MiranDMC
Copy link
Collaborator

@MiranDMC MiranDMC commented Jul 29, 2024

Such basic operation should be possible in base CLEO without need for installing third party addons.

GET_STRING_LENGTH from NewOpcodes crashes with texts longer that 100 characters.
Same opcode from CLEO+ is hard caped to 128 characters.

Meanwhile CLEO5 supports up to 255 and pointer to cstring can store even longer texts.

https://discord.com/channels/911487285990674473/1226215589740286012/1267509561405734994

@MiranDMC MiranDMC requested a review from x87 July 29, 2024 22:57
@MiranDMC MiranDMC merged commit 0ac620f into master Jul 30, 2024
2 checks passed
@MiranDMC MiranDMC deleted the get_text_length_opcode branch July 30, 2024 20:47
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

Successfully merging this pull request may close these issues.

2 participants