LoginLogin

Need help programming tools

Root / Programming Questions / [.]

VG_LoverCreated:
I would like to make a tool for SB to help people with making their games easier, but...I can't program that well (wow, the irony, I want to help people by making a tool but I need help now)

So, what is the tool supposed to .... do? Need something to work with here.

http://smilebasicsource.com/page?pid=808 We already have something like what you're describing, but I don't know how complete it is (Never checked it out for myself). Perhaps you can use this to learn SB, then take your knowledge and improve what already exists? ...Though, working with other people's code can be a nightmare, so ignore that part.

Well, all I need to know is how to access some thing from PRG1 or PRG2 from PRG0 Example:
'PRG1
Hi$=what is the meaning of life
And let's say I needed that in PRG0 without copying and pasting

I don't think it's that easy... I've only accessed another slot in 2 methods. One using COMMON DEF and another to restore DATA from another slot. Method 1: SLOT 0
USE 1: Text "what is the meaning of life"
SLOT 1:
COMMON DEF Text a$
 LOCATE 1,1:?a$
END
Method 2: SLOT 0:
RESTORE "1:@Hi"
READ Hi$
SLOT 1:
@Hi
DATA "what is the meaning of life"
(This is kinda sloppy and idk if it'll work, I'm writing it from memory. Use the in game user manual to learn more. Sorry if this was not what you meant).