LoginLogin

adding a new line/editing a file from another program

Root / Programming Questions / [.]

ErtasCreated:
sorry if this is already answered but is there a way a code could be added via the main code? like if you want to make a program which builds a program except you add another line of code into it

Use the commands beginning with "PRG" such as PRGEDIT and PRGGET.

Use the commands beginning with "PRG" such as PRGEDIT and PRGGET.
hmm, ok

also i wonder, how do you def a command like a command thats already a command in smilebasic? example
def console.log
and if you are wondering what im trying to do is a javascript interger

also i wonder, how do you def a command like a command thats already a command in smilebasic? example
def console.log
and if you are wondering what im trying to do is a javascript interger
just make the DEF do the command you want to clone EXAMPLE:
DEF PRINTCLONE ST$
 PRINT ST$
END