Posts: 63
Threads: 9
Likes Received:
41 in 28 posts
Likes Given: 26
Joined: Sep 2023
Reputation:
9
04-24-2024, 05:55 PM
(This post was last modified: 04-24-2024, 06:08 PM by Scout.)
Hi AB,
I don't know if this is the best or correct way, but the program ID remains the same and only the index is incremented.
For small changes:
Import the existing program
Make the changes
Publish the program
For major changes over several days:
Import the existing program
Copy the entire new source code over the existing program
Publish the program
The import ID is provided with an index that automatically increments.
This must be taken into account when entering the program ID as a comment in the source code (see RPSQ181.000-1 line 2 ).
I don't know if the default ID can still be changed when publishing. Have fun experimenting.
The optional fields when publishing can be viewed in SB-Prime via "Imported Program Details" (see RPSQ181.000-0).
The following 1 user Likes Scout's post:1 user Likes Scout's post
• z-s
Posts: 394
Threads: 15
Likes Received:
123 in 106 posts
Likes Given: 199
Joined: Sep 2023
Reputation:
6
(translated by Google translator)
Thank you, Scout.
Now I have at least one option.
The options I had come up with up to this point seemed incredible to me. I couldn't believe that publishing a new version of an existing program should be done in this way.
If no one finds a serious bug in my latest version of the prototype, then I will continue development.
The most incomprehensible question for me is how to transmit an array of data in a message.
Am I correct in assuming that the message being passed is always a string?
Thank you.
Posts: 451
Threads: 34
Likes Received:
359 in 246 posts
Likes Given: 178
Joined: Aug 2023
Reputation:
17
Everything in Small Bsic is a type called Primitive that includes numbers, strings and arrays and any of them can be passed about easily, e.g. "1=Hello;2=World;" is an array. What SB does with data is context dependent, numbers can be multiplied, arrays can be looped through.
So just have a go and I bet it will just work!
This single type in SB is one of its neat features.