QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: johannhowitzer on January 29, 2021, 07:11:13 am
-
Had to comment out this line in a file save/load routine:
GET #1, , best_score
best_score is of type score_structure, which has two integers, a _byte, and a string. Is there a way to use GET and PUT with custom data types?
-
Make the strings fixed-width in your type, like for example:
TYPE mytype
element AS STRING * 50
END TYPE
-
Ah, error message makes way more sense now, thanks.