Tweak
From Esolang
- This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by adding some more information.
Tweak is a language which starts like BASIC, but commands can be created, edited, or deleted to fit any task needed.
Contents |
[edit] Commands
[edit] Starting commands
- Goto (number)
- Goto is used to go to another part of the program. This command cannot be deleted or edited.
- End
- End closes the program. This command cannot be deleted or edited.
- Newcom (command name)
- Newcom creates a new command or rewrites an old one; At this point, it is empty.
- Edit (command name)
- Edit edits a command.
- Delcom
- Delcom deletes a command.
[edit] Creating Commands
Commands are created in Javascript.
[edit] EXAMPLE PROGRAM
10 Start
20 Newcom Print
30 Edit Print
31 var x
32 x = <input2>
33 document.write ("ext");
40 print Hello World
50 End

